aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor documentation cleanups.Dean Camera2010-06-031-2/+2
|
* Start implementation of RFCOMM decoding layer. Add new service initialize ↵Dean Camera2010-06-031-0/+4
| | | | routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made.
* Extra protocol value in the RFCOMM protocol is the channel number, not the ↵Dean Camera2010-06-031-1/+2
| | | | | | 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.
* Add PSM value to the RFCOMM service so that the host knows what PSM to use ↵Dean Camera2010-06-031-5/+1
| | | | on channels when trying to access it.
* Add start of RFCOMM service layer to the incomplete BluetoothHost demo.Dean Camera2010-06-031-1/+5
| | | | Reduce the size of the attribute search list from 15 ranges to 8 to save RAM.
* Add comments and partial Doxygen documentation to the incomplete Bluetooth ↵Dean Camera2010-05-211-1/+1
| | | | SDP handler code.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-297/+297
| | | | correctly converted to the target system's native end of line style.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-281-0/+1
| | | | be done in the user application once all init code has run.
* Added ability to search by Channel PSM to the GetChannelData() function in ↵Dean Camera2010-04-221-3/+21
| | | | | | | | | | 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.
* Make bluetooth SDP code correctly unpack the search UUIDs and parameters.Dean Camera2010-04-191-2/+1
| | | | Minor documentation improvements.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-181-3/+3
|
* Add bluetooth channel connection callback to the incomplete BluetoothHost demo.Dean Camera2010-04-181-0/+14
|
* Minor documentation improvements.Dean Camera2010-04-151-4/+4
|
* 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-12/+19
| | | | | | | | 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.
* Fix up Bluetooth Demo's options processing on incoming channel configuration ↵Dean Camera2010-04-111-2/+2
| | | | requests.
* Add bidirectional channel configuration -- remote device is not ACKing sent ↵Dean Camera2010-04-061-4/+5
| | | | | | 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-0/+33
| | | | Bluetooth Host demo.
* Add Bluetooth signalling echo request/response handlers, disconnection ↵Dean Camera2010-04-051-0/+27
| | | | | | | | 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-9/+2
| | | | | | | | 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-16/+31
| | | | | | 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-0/+3
| | | | 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
|
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-061-8/+8
| | | | | | incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-9/+6
| | | | | | | | 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.
* Don't send terminal RESET codes via serial - just set the foreground colour ↵Dean Camera2009-07-191-1/+1
| | | | and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
* Use sane ANSI terminal escape codes for the Host mode demos, so that they do ↵Dean Camera2009-07-191-16/+15
| | | | not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
* Added new HOST_STATE_WaitForDeviceRemoval host state machine state for ↵Dean Camera2009-07-131-10/+3
| | | | | | non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state. Added verbose documentation for each of the USB Host state machine states.
* Added incomplete PrinterHost demo application.Dean Camera2009-07-111-1/+1
| | | | | | 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.
* Added new USB_Host_ClearPipeStall() convenience function to clear a stall ↵Dean Camera2009-06-181-12/+2
| | | | | | | | | | condition on an attached device's endpoint. Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor. Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption. Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
* Converted Host mode demos to schedulerless. Fixed host mode broken due to ↵Dean Camera2009-06-081-0/+1
| | | | earlier Start-of-frame event experiments.
* Add master device Host demo makefile.Dean Camera2009-06-051-0/+206
Copy and convert incomplete Bluetooth Host demo to the library.