aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.c
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-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-12Add missing eol-style properties to new source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1375 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-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