aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host
Commit message (Collapse)AuthorAgeFilesLines
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-2824-48/+48
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-2845-1/+46
| | | | 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-228-101/+193
| | | | | | | | | | 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-206-44/+44
| | | | | | 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 start of a SDP service table, which will be linked to the Bluetooth SDP ↵Dean Camera2010-04-192-9/+106
| | | | code.
* Make bluetooth SDP code correctly unpack the search UUIDs and parameters.Dean Camera2010-04-194-32/+70
| | | | Minor documentation improvements.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-1815-56/+56
|
* Add bluetooth channel connection callback to the incomplete BluetoothHost demo.Dean Camera2010-04-184-6/+33
|
* Minor documentation improvements.Dean Camera2010-04-154-24/+24
|
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-154-5/+102
| | | | | | | | 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-139-125/+359
| | | | | | | | 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-125-22/+1633
| | | | 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-123-5/+18
| | | | 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-116-29/+134
| | | | 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-112-22/+23
| | | | requests.
* Add LUFA-side channel open/close routines, add signalling handlers for the ↵Dean Camera2010-04-104-41/+163
| | | | 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-104-35/+85
| | | | determine why Windows machines refuse to connect.
* Make Bluetooth signalling handler routines use the generic ↵Dean Camera2010-04-064-269/+188
| | | | 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-067-206/+310
| | | | | | 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-065-17/+68
| | | | Bluetooth Host demo.
* Add information request/response signal handler to the Bluetooth Host demo.Dean Camera2010-04-062-45/+155
| | | | 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-057-83/+198
| | | | | | | | 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-055-22/+31
| | | | | | | | 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-0123-184/+229
| | | | | | 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-315-257/+142
| | | | code much easier to read, block less and work correctly.
* Add file-level brief documentation.Dean Camera2010-03-291-5/+5
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Add new LUFA logo by Ryo Yamauchi.Dean Camera2010-03-251-4/+5
|
* All Class Driver Host mode demos now correctly set the board LEDs to READY ↵Dean Camera2010-03-2512-8/+12
| | | | | | once the enumeration process has completed. Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
* Added incomplete MIDIToneGenerator project.Dean Camera2010-03-232-2/+1
|
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-221-2/+2
| | | | | | sub-elements in the Device mode demos, bootloaders and projects. Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.
* Software PDI mode breaks unless the software USART has 100 cycles between bits.Dean Camera2010-03-171-2/+2
|
* Fixed PDI programming mode in the AVRISP programmer project not exiting ↵Dean Camera2010-03-162-6/+6
| | | | | | programming mode correctly (clear target Reset key twice, set /RESET pin to pullup). Add newlines to the MIDI event printf() statements in the MIDI host demos.
* Fixed USB_GetHIDReportSize() returning the number of bits in the specified ↵Dean Camera2010-02-093-37/+15
| | | | | | | | report instead of bytes. Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code. Make Webserver project report the LUFA version as part of the HTTP header.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-0430-34/+34
| | | | | | will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects.
* Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.Dean Camera2010-02-0323-23/+46
|
* Removed the stream example code from the Low Level VirtualSerial demos, as ↵Dean Camera2010-01-281-46/+0
| | | | they were buggy and only served to add clutter.
* Fix up project documentation files' overview tables, so that multiple items ↵Dean Camera2010-01-2816-39/+60
| | | | occupy multiple lines in the same cell, rather than multiple cells.
* Add Webserver project Doxygen configuration file and overview document.Dean Camera2010-01-2523-23/+23
| | | | Fix Doxygen configuration files' input file exclusion filters.
* Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints ↵Dean Camera2010-01-253-23/+6
| | | | should use two seperate pipes, not one half-duplex pipe.
* Update Doxygen configuration files to the latest Doxygen version.Dean Camera2010-01-0623-14513/+16307
|
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-053-2/+3
| | | | events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
* Update copyright year to 2010.Dean Camera2009-12-30103-203/+203
|
* Fix TemperatureDataLogger - sample tick timer wasn't being initialized in ↵Dean Camera2009-12-302-16/+11
| | | | the correct CTC mode.
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-28100-703/+703
|
* Test with -Wextra, fix library warnings due to unused function parameters.Dean Camera2009-12-131-1/+1
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-133-20/+20
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-0926-33/+33
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ↵Dean Camera2009-12-082-1/+2
| | | | | | ClassDriver demo, so that slow devices don't time out the data pipe. Increase pipe timeout in both MassStorageHost demos to 5 seconds to account for the really slow devices. Fix TeensyHID bootloader not properly shutting down the USB interface to trigger a disconnection on the host before resetting the AVR.
* Fix newly renamed VirtualSerial demos' include filename references so that ↵Dean Camera2009-12-075-12/+12
| | | | they compile.
* Additional file renames and modifications to change CDC demos to VirtualSerial.Dean Camera2009-12-0712-12/+12
|