aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename Bluetooth stack function parameters to clearly indicate what sort of ↵Dean Camera2010-07-111-41/+1
| | | | | | | | 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.
* Make Bluetooth ACL channel searches skip over closed (invalid) channels. ↵Dean Camera2010-06-261-0/+5
| | | | RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code.
* Document Bluetooth files with overall file Doxygen comments. Add more ↵Dean Camera2010-06-041-0/+6
| | | | initial RFCOMM layer code to receive and respond to SABM packets.
* Begin processing code for Service Discovery Protocol attributes.Dean Camera2010-05-171-0/+3
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-99/+99
| | | | correctly converted to the target system's native end of line style.
* Added ability to search by Channel PSM to the GetChannelData() function in ↵Dean Camera2010-04-221-18/+27
| | | | | | | | | | 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.
* 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 some more documentation to the half-completed Bluetooth Host demo, fix ↵Dean Camera2010-04-121-2/+22
| | | | 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.
* Add LUFA-side channel open/close routines, add signalling handlers for the ↵Dean Camera2010-04-101-28/+0
| | | | 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-15/+22
| | | | determine why Windows machines refuse to connect.
* Make Bluetooth signalling handler routines use the generic ↵Dean Camera2010-04-061-0/+1
| | | | 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-13/+12
| | | | | | 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-13/+4
| | | | | | | | 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-5/+15
| | | | | | | | 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.
* Massive cleanups to the incomplete BluetoothHost demo, to make the HCL layer ↵Dean Camera2010-03-311-3/+5
| | | | code much easier to read, block less and work correctly.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-1/+1
| | | | | | | | | | | | 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/+88
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.