Commit Graph

18 Commits (b6565404685fbac1698d256823abdbdb3d3ddaff)

Author SHA1 Message Date
Dean Camera b656540468 Make Bluetooth ACL channel searches skip over closed (invalid) channels. RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code.
14 years ago
Dean Camera 4b952d479a Split RFCOMM channel signals into Remote and Local pairs. Use memcpy() to copy over data from the command parameters to the RFCOMM response parameters.
14 years ago
Dean Camera 2eff731ecf Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.
14 years ago
Dean Camera 13ea700b35 Rename RFCOMM_GetFrameDataLength() to RFCOMM_GetVariableFieldValue() as it is multi-purpose, and modify it to move the buffer pointer itself rather than relying on the caller.
14 years ago
Dean Camera 3125fd5f4f Add RFCOMM channel configuration parsing and channel states to the incomplete BluetoothHost demo.
14 years ago
Dean Camera 67bc625109 Split out the RFCOMM Control Channel command processing code into a seperate set of files for clarity.
14 years ago
Dean Camera b522e35965 Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h.
14 years ago
Dean Camera 637c7b01d0 More RFCOMM layer additions - begin to add multiplexer channel state variables.
14 years ago
Dean Camera 931ca42a6e Minor fixes to demos to add in some missing comments, printf() formatting. Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
14 years ago
Dean Camera e930738247 Add stub RFCOMM command handlers. Move out RFCOMM frame length and data pointer calculations to the master RFCOMM frame reception routine, instead of inside each frame type handler function.
14 years ago
Dean Camera f92229697f More RFCOMM layer implementation - fix FCS calculation, add in start of control channel command processing.
14 years ago
Dean Camera 34e0fed4ca Make the RFCOMM_SendFrame() function correctly generate frames from the input parameters, change addressing to use the raw DLCI address plus flags.
14 years ago
Dean Camera 361e1ec1d8 Refactor out RFCOMM packet send code into a seperate function.
14 years ago
Dean Camera 2dabb4e55f Add the svn:eol-style property onto new files which where missing it to ensure uniform line endings.
15 years ago
Dean Camera efbedcfa54 Document Bluetooth files with overall file Doxygen comments. Add more initial RFCOMM layer code to receive and respond to SABM packets.
15 years ago
Dean Camera fc92f9969c Minor documentation cleanups.
15 years ago
Dean Camera 9293de2491 Start implementation of RFCOMM decoding layer. Add new service initialize routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made.
15 years ago
Dean Camera 008e0e2e0a Add start of RFCOMM service layer to the incomplete BluetoothHost demo.
15 years ago