aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c
Commit message (Collapse)AuthorAgeFilesLines
* AppConfigHeaders: Remove outdated incomplete BluetoothHost demo - updated ↵Dean Camera2012-05-131-809/+0
| | | | Bluetooth stack code is in the ExplorerBot project (http://www.fourwalledcubicle.com/ExplorerBot.php).
* Fix warnings and errors found by the new cppcheck provided static code analysis.Dean Camera2012-02-281-5/+5
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Minor documentation improvements.Dean Camera2012-02-011-1/+1
|
* Fixed compile errors in the incomplete BluetoothHost demo application ↵Dean Camera2011-06-051-18/+18
| | | | (thanks to Timo Lindfors).
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-74/+75
| | | | tool made by Laszlo Monda
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-2/+5
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Correct misspellings in the Bluetooth demo code.Dean Camera2010-07-111-14/+14
|
* Oops - ACL layer Bluetooth_SendPacket() function should check and allow NULL ↵Dean Camera2010-07-111-6/+6
| | | | | | channels, since that indicates a control channel request. Fix up Doxgen documentation for the Bluetooth stack code.
* Rename Bluetooth stack function parameters to clearly indicate what sort of ↵Dean Camera2010-07-111-9/+48
| | | | | | | | 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.
* Move out Bluetooth stack callback functions to a seperate ↵Dean Camera2010-07-081-0/+2
| | | | 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.
* Add RFCOMM channel configuration parsing and channel states to the ↵Dean Camera2010-06-151-25/+25
| | | | | | incomplete BluetoothHost demo. Add missing BT_* prefix to the Bluetooth stack's channel state enum values.
* Document Bluetooth files with overall file Doxygen comments. Add more ↵Dean Camera2010-06-041-0/+7
| | | | initial RFCOMM layer code to receive and respond to SABM packets.
* Minor documentation cleanups.Dean Camera2010-06-031-2/+2
|
* Delay needed in bluetooth code due to the send function not waiting for the ↵Dean Camera2010-06-031-4/+3
| | | | pipe bank to become ready before writing. Add in a call to Pipe_WaitUntilReady() to fix the issue.
* Extra protocol value in the RFCOMM protocol is the channel number, not the ↵Dean Camera2010-06-031-1/+4
| | | | | | PSM - update typedef name and size. Add delay to the Connection Request signal processing routine - without this, the host will not create the RFCOMM channel correctly. Need to investigate why this delay is needed.
* Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks ↵Dean Camera2010-05-291-1/+1
| | | | | | to Axel Rohde). Partial fix to the Bluetooth SDP code - data should be encoded in big endian, not little endian.
* Add UUID Class matching to the Service Discovery Protocol code - SDP is now ↵Dean Camera2010-05-231-1/+0
| | | | correctly matched against the generic Service Discovery Class UUID.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-756/+756
| | | | correctly converted to the target system's native end of line style.
* Change over unix line-endings to dos line endings.Dean Camera2010-05-071-1/+1
|
* Added ability to search by Channel PSM to the GetChannelData() function in ↵Dean Camera2010-04-221-7/+14
| | | | | | | | | | 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.
* Fixed HID Device Class Driver not allocating a temporary buffer when the ↵Dean Camera2010-04-201-21/+21
| | | | | | host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.
* Make bluetooth SDP code correctly unpack the search UUIDs and parameters.Dean Camera2010-04-191-3/+3
| | | | Minor documentation improvements.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-181-11/+11
|
* Add bluetooth channel connection callback to the incomplete BluetoothHost demo.Dean Camera2010-04-181-6/+17
|
* Minor documentation improvements.Dean Camera2010-04-151-14/+14
|
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-151-1/+1
| | | | | | | | applicable to variables also. Add new ATTR_NOINIT attribute for global variables. Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo. Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing.
* Document the Bluetooth ACL layer. Remove unneeded parameters from the ↵Dean Camera2010-04-131-60/+188
| | | | | | | | 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.
* Add some more documentation to the half-completed Bluetooth Host demo, fix ↵Dean Camera2010-04-121-2/+2
| | | | 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.
* Fix Bluetooth stack CONNECTION RESPONSE packets - for this command and this ↵Dean Camera2010-04-121-3/+15
| | | | 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.
* Add HCI debugging with verbosity control to the BluetoothHost demo.Dean Camera2010-04-111-2/+2
| | | | Add Link Key Request event processing so that paired devices always re-authenticate until appropriate link key store/retrieve callbacks are implemented.
* Fix up Bluetooth Demo's options processing on incoming channel configuration ↵Dean Camera2010-04-111-20/+21
| | | | requests.
* Add LUFA-side channel open/close routines, add signalling handlers for the ↵Dean Camera2010-04-101-3/+147
| | | | creation and configuration of channels from the local device to the remote device, to add to the existing remote to local channel capabilities.
* Bluetooth demo can now create and maintain logical channels - need to ↵Dean Camera2010-04-101-17/+55
| | | | determine why Windows machines refuse to connect.
* Make Bluetooth signalling handler routines use the generic ↵Dean Camera2010-04-061-262/+169
| | | | Bluetooth_SendPacket() routine for their responses. Use a better method of controlling the debug output verbosity.
* Add bidirectional channel configuration -- remote device is not ACKing sent ↵Dean Camera2010-04-061-85/+175
| | | | | | 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.
* Add packet reception and send routines to the ACL layer of the incomplete ↵Dean Camera2010-04-061-10/+24
| | | | Bluetooth Host demo.
* Add information request/response signal handler to the Bluetooth Host demo.Dean Camera2010-04-061-24/+116
| | | | Ensure that the AVRISP-MKII project's Windows avrdude compatibility define is named properly in all parts of the code.
* Add Bluetooth signalling echo request/response handlers, disconnection ↵Dean Camera2010-04-051-14/+123
| | | | | | | | 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.
* More improvements to the incomplete BluetoothHost demo - add Disconnection ↵Dean Camera2010-04-011-33/+30
| | | | | | Event processing. Remove unused macro in the host mode demos for the maximum Configuration Descriptor size.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix TemperatureDataLogger - sample tick timer wasn't being initialized in ↵Dean Camera2009-12-301-3/+3
| | | | the correct CTC mode.
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Spell check all source code variables, comments and strings.Dean Camera2009-11-091-1/+1
|
* Fixed compilation error in incomplete BluetoothHost demo.Dean Camera2009-07-111-1/+1
|
* Added incomplete PrinterHost demo application.Dean Camera2009-07-111-0/+206
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.