aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c
Commit message (Collapse)AuthorAgeFilesLines
* Document Bluetooth files with overall file Doxygen comments. Add more ↵Dean Camera2010-06-041-0/+9
| | | | initial RFCOMM layer code to receive and respond to SABM packets.
* Minor documentation cleanups.Dean Camera2010-06-031-4/+4
|
* Fix endianness issues in the Service Discovery Protocol service of the ↵Dean Camera2010-05-311-2/+0
| | | | incomplete Bluetooth Host demo. Host can now correctly retrieve specific services, however Windows does not appear to be sending the appropriate generic browse class IDs needed to report the virtual serial service.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-396/+396
| | | | correctly converted to the target system's native end of line style.
* The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean Camera2010-04-291-0/+4
| | | | functions are now inline, to reduce overhead.
* Added ability to search by Channel PSM to the GetChannelData() function in ↵Dean Camera2010-04-221-38/+84
| | | | | | | | | | 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-16/+16
| | | | | | 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.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-181-1/+1
|
* Minor documentation improvements.Dean Camera2010-04-151-3/+3
|
* Add HCI debugging with verbosity control to the BluetoothHost demo.Dean Camera2010-04-111-18/+99
| | | | Add Link Key Request event processing so that paired devices always re-authenticate until appropriate link key store/retrieve callbacks are implemented.
* Add bidirectional channel configuration -- remote device is not ACKing sent ↵Dean Camera2010-04-061-53/+54
| | | | | | 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 Bluetooth signalling echo request/response handlers, disconnection ↵Dean Camera2010-04-051-41/+5
| | | | | | | | 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.
* Add user callback function to the Bluetooth host demo to filter out ↵Dean Camera2010-04-051-6/+9
| | | | | | | | 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.
* More improvements to the incomplete BluetoothHost demo - add Disconnection ↵Dean Camera2010-04-011-54/+74
| | | | | | Event processing. Remove unused macro in the host mode demos for the maximum Configuration Descriptor size.
* Massive cleanups to the incomplete BluetoothHost demo, to make the HCL layer ↵Dean Camera2010-03-311-233/+104
| | | | code much easier to read, block less and work correctly.
* 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-13/+8
| | | | the correct CTC mode.
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-131-5/+5
|
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-1/+1
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-7/+42
| | | | | | | | | | | | 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.
* Added incomplete PrinterHost demo application.Dean Camera2009-07-111-0/+376
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.