aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
AgeCommit message (Collapse)Author
2012-05-13AppConfigHeaders: Remove outdated incomplete BluetoothHost demo - updated ↵Dean
Bluetooth stack code is in the ExplorerBot project (http://www.fourwalledcubicle.com/ExplorerBot.php). git-svn-id: http://lufa-lib.googlecode.com/svn/branches/AppConfigHeaders@2207 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-30Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1646 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Update all demos, projects and bootloaders to indent all function ↵Dean
parameters, one per line, for better readability. Add missing const qualifiers to the demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1400 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-11Rename Bluetooth stack function parameters to clearly indicate what sort of ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1366 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-08Add a new RFCOMM_ChannelOpened() callback event for when logical RFCOMM ↵Dean
channels are opened in the BluetoothHost demo. Make the demo echo back sent characters to the remote device. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1363 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-08Add a new RFCOMM service callback for when new data has been received on a ↵Dean
valid RFCOMM channel. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1362 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-02Move out RFCOMM channel structure init code to a seperate routine, to save ↵Dean
on compiled code space and to prevent copy-paste errors. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1357 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-29Add RFCOMM service routine, to send pending configuration requests on RFCOMM ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1356 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-26Make Bluetooth ACL channel searches skip over closed (invalid) channels. ↵Dean
RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1355 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-23Split RFCOMM channel signals into Remote and Local pairs. Use memcpy() to ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1349 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-23Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame ↵Dean
element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1348 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-15Rename RFCOMM_GetFrameDataLength() to RFCOMM_GetVariableFieldValue() as it ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1340 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-15Add RFCOMM channel configuration parsing and channel states to the ↵Dean
incomplete BluetoothHost demo. Add missing BT_* prefix to the Bluetooth stack's channel state enum values. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1338 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-13Split out the RFCOMM Control Channel command processing code into a seperate ↵Dean
set of files for clarity. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1334 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-13Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h ↵Dean
files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1333 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-13More RFCOMM layer additions - begin to add multiplexer channel state variables.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1332 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-07Add stub RFCOMM command handlers. Move out RFCOMM frame length and data ↵Dean
pointer calculations to the master RFCOMM frame reception routine, instead of inside each frame type handler function. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1322 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-07More RFCOMM layer implementation - fix FCS calculation, add in start of ↵Dean
control channel command processing. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1321 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-07Make the RFCOMM_SendFrame() function correctly generate frames from the ↵Dean
input parameters, change addressing to use the raw DLCI address plus flags. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1320 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-06Refactor out RFCOMM packet send code into a seperate function.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1319 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-06Add the svn:eol-style property onto new files which where missing it to ↵Dean
ensure uniform line endings. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1316 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-04Document Bluetooth files with overall file Doxygen comments. Add more ↵Dean
initial RFCOMM layer code to receive and respond to SABM packets. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1315 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03Minor documentation cleanups.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1312 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03Start implementation of RFCOMM decoding layer. Add new service initialize ↵Dean
routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1311 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03Add start of RFCOMM service layer to the incomplete BluetoothHost demo.Dean
Reduce the size of the attribute search list from 15 ranges to 8 to save RAM. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1307 d5102386-fcda-11dd-9fdb-3debd5008f28