aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.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
2012-02-01Minor documentation improvements.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2017 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-09-30Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean
on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1502 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-11Correct misspellings in the Bluetooth demo code.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1369 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-08Move out Bluetooth stack callback functions to a seperate ↵Dean
BluetoothEvents.c/.h set of files for clarity in the Incomplete BluetoothHost demo. Add a new stack callback for opened ACL channels, make the demo save the RFCOMM channel when opened so that it does not have to search for it on each iteration of the main program loop. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1361 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-03Minor documentation cleanups.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1312 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
2010-06-01Move SDP service tables out into a new set of files, to make the SDP service ↵Dean
code cleaner. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1295 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-18Add bluetooth channel connection callback to the incomplete BluetoothHost demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1211 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-13Document the Bluetooth ACL layer. Remove unneeded parameters from the ↵Dean
signalling command processing routines. Change over the code so that the bluetooth packet data is read in by the stack rather than the user application, to make it more unform for sending/receiving, and so the library can handle incomming fragmentation in the future. Start Service Discovery Protocol decoding and processing. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1205 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-12Fix Bluetooth stack CONNECTION RESPONSE packets - for this command and this ↵Dean
command only, the source/destination roles are switched. Reverse the Local/Remote channel ordering so that Windows mobile and other stacks which depend on valid channel values to connect. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1203 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-04-11Add HCI debugging with verbosity control to the BluetoothHost demo.Dean
Add Link Key Request event processing so that paired devices always re-authenticate until appropriate link key store/retrieve callbacks are implemented. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1202 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-06Add packet reception and send routines to the ACL layer of the incomplete ↵Dean
Bluetooth Host demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1196 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-04-01More improvements to the incomplete BluetoothHost demo - add Disconnection ↵Dean
Event processing. Remove unused macro in the host mode demos for the maximum Configuration Descriptor size. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1192 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-11Fixed compilation error in incomplete BluetoothHost demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@640 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