aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
Commit message (Collapse)AuthorAgeFilesLines
* The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean Camera2010-04-292-1/+5
| | | | functions are now inline, to reduce overhead.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-2814-91/+91
| | | | the Host mode Class Driver demos.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-2852-104/+104
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-28103-13/+112
| | | | 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-197-36/+72
| | | | Minor documentation improvements.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-1825-97/+97
|
* 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.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-131-3/+4
| | | | | | | | faster endpoint/pipe code. Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
* 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 briefs for the library core structures.Dean Camera2010-03-291-1/+1
|
* 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.
* Fixed compilation error in the AudioInput demos when ↵Dean Camera2010-03-242-2/+2
| | | | | | | | MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian). Minor documentation cleanups. Make sure HID class driver uses properly cast pointers when writing to the report buffer.
* Added incomplete MIDIToneGenerator project.Dean Camera2010-03-232-2/+1
|
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-2258-296/+301
| | | | | | 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.
* Fixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked ↵Dean Camera2010-03-192-7/+7
| | | | endpoints.
* Remove redundant check in the software PDI programming code of the AVRISP ↵Dean Camera2010-03-171-1/+1
| | | | project.
* 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.
* Make sure the button report set masks use OR in all circumstances, to ↵Dean Camera2010-02-164-4/+4
| | | | prevent user confusion. While the first set of the buttons report item can be a direct assignment, it is not immediately clear to new developers why this is the case.
* 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.
* Fix LowLevel Keyboard demo -- accidentally trying to dereference a uint8_t ↵Dean Camera2010-02-081-3/+3
| | | | type in ProcessLEDReport().
* Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure ↵Dean Camera2010-02-082-2/+0
| | | | | | erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit. Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.
* Split out LED report processing from the host into a seperate routine in the ↵Dean Camera2010-02-072-30/+27
| | | | LowLevel KeyboardMouse device demo, to avoid duplicate code.
* Added Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and ↵Dean Camera2010-02-077-18/+42
| | | | demos.
* Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class ↵Dean Camera2010-02-078-32/+92
| | | | driver and Keyboard demos.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-0458-62/+62
| | | | | | 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-0350-50/+100
|
* Minor fixups to the documentation and preprocessor tokens.Dean Camera2010-02-023-6/+6
|
* Update driver INF files - change manufacturer name from the original ↵Dean Camera2010-01-295-5/+5
| | | | template's name to the Four Walled Cubicle website.