aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
Commit message (Collapse)AuthorAgeFilesLines
* AppConfigHeaders: Remove outdated incomplete BluetoothHost demo - updated ↵Dean Camera2012-05-131-150/+0
| | | | Bluetooth stack code is in the ExplorerBot project (http://www.fourwalledcubicle.com/ExplorerBot.php).
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-301-1/+1
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-15/+16
| | | | tool made by Laszlo Monda
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-12/+27
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Rename Bluetooth stack function parameters to clearly indicate what sort of ↵Dean Camera2010-07-111-12/+13
| | | | | | | | Bluetooth channel (ACL, RFCOMM) is required for each parameter, to make the code easier to read. Add a new RFCOMM_ChannelSignalsReceived() Bluetooth stack callback from the RFCOMM layer for when the remote device sends new terminal control signals. Fix RFCOMM_SendData() not aborting correctly when the requested RFCOMM channel is not found.
* Add a new RFCOMM_ChannelOpened() callback event for when logical RFCOMM ↵Dean Camera2010-07-081-1/+5
| | | | channels are opened in the BluetoothHost demo. Make the demo echo back sent characters to the remote device.
* Add a new RFCOMM service callback for when new data has been received on a ↵Dean Camera2010-07-081-0/+2
| | | | valid RFCOMM channel.
* Move out RFCOMM channel structure init code to a seperate routine, to save ↵Dean Camera2010-07-021-1/+2
| | | | on compiled code space and to prevent copy-paste errors.
* Add RFCOMM service routine, to send pending configuration requests on RFCOMM ↵Dean Camera2010-06-291-12/+14
| | | | | | | | | | channels. Add in RFCOMM channel config flags, to determine which configuration commands have been sent and received. Add a new RFCOMM_SendChannelSignals() function to transmit a change in V24 terminal handshake lines to the receiving device. Prevent SABM packets sent to the control DLCI in the RFCOMM layer from creating a new channel entry, as the control DLCI does not have connection data associated with it. Fix up MSC control packet handling so that received responses can be acknowledged correctly, so that the RFCOMM layer can record when the receiving device has ACKed a sent change in V24 terminal handshake lines.
* Make Bluetooth ACL channel searches skip over closed (invalid) channels. ↵Dean Camera2010-06-261-2/+2
| | | | RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code.
* Split RFCOMM channel signals into Remote and Local pairs. Use memcpy() to ↵Dean Camera2010-06-231-3/+10
| | | | | | copy over data from the command parameters to the RFCOMM response parameters. Ensure that only the valid parameter bytes are sent back in response to MSC commands.
* Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame ↵Dean Camera2010-06-231-1/+0
| | | | element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.
* Rename RFCOMM_GetFrameDataLength() to RFCOMM_GetVariableFieldValue() as it ↵Dean Camera2010-06-151-2/+5
| | | | | | | | is multi-purpose, and modify it to move the buffer pointer itself rather than relying on the caller. Make RFCOMM_GetChannelData() return NULL if the required channel DLCI is found, but the channel is closed. Add modem signals (BREAK, DCD, etc.) to the channel state array, and add in a handler for the Modem Status RFCOMM control command.
* Add RFCOMM channel configuration parsing and channel states to the ↵Dean Camera2010-06-151-14/+14
| | | | | | incomplete BluetoothHost demo. Add missing BT_* prefix to the Bluetooth stack's channel state enum values.
* Split out the RFCOMM Control Channel command processing code into a seperate ↵Dean Camera2010-06-131-32/+13
| | | | set of files for clarity.
* Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h ↵Dean Camera2010-06-131-2/+2
| | | | files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h.
* More RFCOMM layer additions - begin to add multiplexer channel state variables.Dean Camera2010-06-131-1/+12
|
* Add stub RFCOMM command handlers. Move out RFCOMM frame length and data ↵Dean Camera2010-06-071-15/+25
| | | | pointer calculations to the master RFCOMM frame reception routine, instead of inside each frame type handler function.
* More RFCOMM layer implementation - fix FCS calculation, add in start of ↵Dean Camera2010-06-071-6/+20
| | | | control channel command processing.
* Make the RFCOMM_SendFrame() function correctly generate frames from the ↵Dean Camera2010-06-071-4/+11
| | | | input parameters, change addressing to use the raw DLCI address plus flags.
* Refactor out RFCOMM packet send code into a seperate function.Dean Camera2010-06-061-7/+3
|
* Add the svn:eol-style property onto new files which where missing it to ↵Dean Camera2010-06-061-96/+96
| | | | ensure uniform line endings.
* Document Bluetooth files with overall file Doxygen comments. Add more ↵Dean Camera2010-06-041-4/+5
| | | | initial RFCOMM layer code to receive and respond to SABM packets.
* Minor documentation cleanups.Dean Camera2010-06-031-1/+8
|
* Start implementation of RFCOMM decoding layer. Add new service initialize ↵Dean Camera2010-06-031-0/+31
| | | | routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made.
* Add start of RFCOMM service layer to the incomplete BluetoothHost demo.Dean Camera2010-06-031-0/+57
Reduce the size of the attribute search list from 15 ranges to 8 to save RAM.