aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.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-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-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-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-05-17Begin processing code for Service Discovery Protocol attributes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1263 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-22Added ability to search by Channel PSM to the GetChannelData() function in ↵Dean
the BluetoothHost demo. Added new HCI states to properly initialize the bluetooth dongle and retrieve the local BDADDR. Factored out Bluetooth state information into a new state structure for easy reference in the user application. Added new StackInitialized() Bluetooth stack callback function. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1216 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-18Add const keyword to the demo function parameters where possible.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1212 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-15Minor documentation improvements.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1210 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-12Add some more documentation to the half-completed Bluetooth Host demo, fix ↵Dean
the OpenChannel() command initialising the channel information structure to the wrong initial state once the CONNECTION REQUEST command has been sent to the remote device. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1204 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-10Add LUFA-side channel open/close routines, add signalling handlers for the ↵Dean
creation and configuration of channels from the local device to the remote device, to add to the existing remote to local channel capabilities. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1200 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-10Bluetooth demo can now create and maintain logical channels - need to ↵Dean
determine why Windows machines refuse to connect. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1199 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-06Make Bluetooth signalling handler routines use the generic ↵Dean
Bluetooth_SendPacket() routine for their responses. Use a better method of controlling the debug output verbosity. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1198 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-06Add bidirectional channel configuration -- remote device is not ACKing sent ↵Dean
Configuration Requests, needs further debugging. Implement Bluetooth spec's channel states. Use abbreviations for the structure and function names where possible to try to cut down on the code verbosity. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1197 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-05Add Bluetooth signalling echo request/response handlers, disconnection ↵Dean
request/response handlers. Add Bluetooth connection request/complete/disconnection callbacks. Remove debugging from HCI layer, as it is now operational -- add guards to ACL debug statements to reduce logging chattyness so that the overall command sequences can be observed and debugged. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1194 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-05Add user callback function to the Bluetooth host demo to filter out ↵Dean
connections from remote devices. Add in ability to reject connections based on their bluetooth device address. Clean up RelayBoard project code. Make AVRISP project clear the XMEGA target's reset register twice; this does not appear to take affect properly the first time under some circumstances. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1193 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-03-31Massive cleanups to the incomplete BluetoothHost demo, to make the HCL layer ↵Dean
code much easier to read, block less and work correctly. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1191 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-30Update copyright year to 2010.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1032 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-28Fix MIT license language to make its intent clearer.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1019 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-21Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean
USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@676 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-11Added incomplete PrinterHost demo application.Dean
Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder. Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@639 d5102386-fcda-11dd-9fdb-3debd5008f28