Commit Graph

  • 141d94fa98 More SDP code improvements - responses to ServiceSearchAttribute service discovery requests should now be valid, even if they do not currently return the device's services and service attributes. Dean Camera 2010-05-20 08:27:04 +00:00
  • a883cf65dc Renamed CDC device class demos' ManagementEndpoint descriptor to NotificationEndpoint to more accurately indicate its purpose. Dean Camera 2010-05-20 06:15:21 +00:00
  • 78600e2485 Switch over the BluetoothHost demo's Service Discovery code to pass around more generic GUID arrays. Dean Camera 2010-05-18 12:54:01 +00:00
  • d3699d0261 Added new ADC_DisableChannel() function (thanks to Mich Davis). Dean Camera 2010-05-18 12:51:31 +00:00
  • f13bc35a19 Begin processing code for Service Discovery Protocol attributes. Dean Camera 2010-05-17 23:36:05 +00:00
  • ff61dfa505 Fixed AVRISP project not sending a full erase-and-write EEPROM command to XMEGA targets when writing to the EEPROM instead of the split write-only command (thanks to Tim Margush). Dean Camera 2010-05-16 05:43:03 +00:00
  • 80d85090ba Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs after programming or reading from the last page of FLASH. Dean Camera 2010-05-14 10:11:40 +00:00
  • 6b7770ef2b Commit for 100513 re-release due to critical device mode bug. Dean Camera 2010-05-13 13:01:13 +00:00
  • 34047efc7e Remove incorrect check for the current device state in the Set Configuration request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances. Dean Camera 2010-05-13 12:57:49 +00:00
  • 571159df1b Additional fix to the AVRISP-MKII clone project for 256KB AVRs. Dean Camera 2010-05-13 11:14:10 +00:00
  • cd0093a14b Fixed AVRISP-MKII clone project not correctly issuing SET EXTENDED ADDRESS commands when the extended address boundary is crossed during programming or readback (thanks to Gerard Sexton). Dean Camera 2010-05-13 09:25:17 +00:00
  • 1331cce08a Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and the control endpoint is not properly selected when the ISR completes. Dean Camera 2010-05-13 07:43:18 +00:00
  • d3c623e1e1 The LIBUSB_FILTERDRV_COMPAT compile time option in the XPLAINBridge and AVRISP-MKII projects has been renamed LIBUSB_DRIVER_COMPAT, as it applies to all software on all platforms using the libUSB driver. Dean Camera 2010-05-13 07:31:27 +00:00
  • e277ff0cf4 Removed TeensyHID bootloader, per request from Paul at PJRC. Dean Camera 2010-05-12 11:12:53 +00:00
  • dd92de3919 Fix Doxygen treating the license as a documentation source file. Dean Camera 2010-05-12 07:52:40 +00:00
  • 3080988b35 Commit for the 100512 release. Dean Camera 2010-05-12 07:30:47 +00:00
  • ee5ea4ce2b Fix nasty bug in USBInterrupt.c which would cause a lockup if the control endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined. Dean Camera 2010-05-11 13:45:23 +00:00
  • 53ebb2f21a Refactor Service Discovery Protocol code in the incomplete Bluetooth Host demo, so that the UUID list is compiled via a seperate function to allow for its re-use between different SDP request types. Dean Camera 2010-05-10 13:56:16 +00:00
  • 05ac59d0ee Add new ReportType parameter to the HID class driver device callback and host report sending routines. Dean Camera 2010-05-09 06:01:01 +00:00
  • 071e02c6b6 Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style. Dean Camera 2010-05-08 03:12:14 +00:00
  • e331b531c6 Change over instances of "make" in the makefiles to "$(MAKE)" to allow for the make tool to be overridden. Dean Camera 2010-05-07 07:11:25 +00:00
  • a9e0935a90 Device mode class driver callbacks are now fired before the control request status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine. Dean Camera 2010-05-07 06:54:08 +00:00
  • 57fe6b4fb9 Don't cast the line encoding baud rate to a uint16_t before performing the baud rate calculation in the Benito project. Dean Camera 2010-05-07 06:49:31 +00:00
  • 2a2de8fea9 Fix TeensyHID bootloader for the largest AVRs - only the ATMEGA128x needs the alternative addressing scheme. Dean Camera 2010-05-07 06:48:27 +00:00
  • 27eb17cb93 Change over unix line-endings to dos line endings. Dean Camera 2010-05-07 06:40:47 +00:00
  • 842e219bf3 Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() function to the Device and Host CDC Class drivers. Dean Camera 2010-05-06 11:56:34 +00:00
  • 9c8bd6ed9b Remove incorrect Abstract Call Management class specific descriptor from the CDC demos, bootloaders and projects. Dean Camera 2010-05-06 11:32:55 +00:00
  • cde2afc50e Ensure that the CDC class drivers return 0 if the number of unread bytes is queried and the bank has become empty. Dean Camera 2010-05-06 11:13:24 +00:00
  • c3db72afdc Make CDC class bootloader hard-reset the AVR when exited instead of a soft-reset. Reduce size of the TeensyHID bootloader slightly. Dean Camera 2010-05-06 07:27:13 +00:00
  • add5192366 Oops - typo in the updated TeensyHID bootloader code when compiled for the non Teensy++ targets. Dean Camera 2010-05-06 02:15:39 +00:00
  • 298592383a Fixed TeensyHID bootloader so that it works with the official TeensyLoader GUI application with all supported AVR models. Dean Camera 2010-05-06 02:06:12 +00:00
  • fc31973daf Fixed incorrect comparison in the descriptor callback routine of the TeensyHID bootloader. Dean Camera 2010-05-06 00:25:12 +00:00
  • a926053ab5 Fix up the ADC driver for the U4 parts to remove a typo on one of the register names. Dean Camera 2010-05-04 11:54:37 +00:00
  • ab8668b14e Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header. Dean Camera 2010-05-04 11:33:51 +00:00
  • 708a1c6166 Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer. Dean Camera 2010-05-04 10:16:44 +00:00
  • e652cfac67 Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set. Dean Camera 2010-05-04 10:10:41 +00:00
  • 27f0ba6fc3 Fixed device state not being reset back to the default state if the host sets the address to 0x00. Dean Camera 2010-05-04 10:07:22 +00:00
  • eed7d4df6a Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so that the stream functions early-abort if the bus is suspended before or during a transfer. Dean Camera 2010-05-03 07:41:22 +00:00
  • 5c0c0327d5 Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone project. Dean Camera 2010-05-02 06:18:42 +00:00
  • a5e79333e5 Switch back to C based timeout ISR in the AVRISP project - assembly version was failing, and only one or two cycles could be shaved off the compiler generated code. Dean Camera 2010-05-02 06:02:54 +00:00
  • 3d28d53c3e Change AVRISP project's timeout to be interrupt based again, but make the interrupt itself interruptable and use a seperate assembly file to hand-optimize the ISR code. Dean Camera 2010-05-02 05:16:34 +00:00
  • 9a1560dc05 Make sure that long reads are aborted early if the connection times out while waiting on more bytes in the AVRISP MKII clone project. Dean Camera 2010-04-30 08:33:21 +00:00
  • ceb16ee24f Make sure that the NVM bus/controller busy waits in the AVRISP MKII clone project abort properly if a timeout occurs while waiting for a response. Dean Camera 2010-04-30 08:27:21 +00:00
  • 9cad677ebb The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() functions are now inline, to reduce overhead. Dean Camera 2010-04-29 14:54:11 +00:00
  • 9e34144c9b Use puts_P() and printf_P() instead of the normal variants where possible in the Host mode Class Driver demos. Dean Camera 2010-04-28 14:33:10 +00:00
  • 0063f72117 Oops - relocated USBInterrupt.h header file requires adjusted include paths for the other USB driver header files. Dean Camera 2010-04-28 08:20:15 +00:00
  • e977774d4e Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel directory as it is hardware-dependent. Dean Camera 2010-04-28 08:15:16 +00:00
  • 1090e767f1 Remove incomplete/nonfunctional MIDI class bootloader. Dean Camera 2010-04-28 08:00:46 +00:00
  • 59c4871f80 USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run. Dean Camera 2010-04-28 07:48:26 +00:00
  • 85aaaf84ce Make AVRISP-MKII clone project's software PDI/TPI mode more robust by keeping track of timeouts while waiting for a Tx/Rx to finish. Dean Camera 2010-04-28 06:33:48 +00:00
  • 3c7ff36cfd Fix TeensyHID bootloader Doxygen configuration file's CREATE_SUBDIRS options set to true instead of false (thanks to Andrei Krainev). Dean Camera 2010-04-27 10:07:18 +00:00
  • 5993e1efe7 Added ability to search by Channel PSM to the GetChannelData() function in the BluetoothHost demo. Dean Camera 2010-04-22 14:08:00 +00:00
  • 8252b4febd Fixed HID Device Class Driver not allocating a temporary buffer when the host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Dean Camera 2010-04-20 08:52:51 +00:00
  • d03d6513d0 Add start of a SDP service table, which will be linked to the Bluetooth SDP code. Dean Camera 2010-04-19 12:39:58 +00:00
  • d92e9133d3 Make bluetooth SDP code correctly unpack the search UUIDs and parameters. Dean Camera 2010-04-19 10:53:14 +00:00
  • fc8e4837a9 Add const keyword to the demo function parameters where possible. Dean Camera 2010-04-18 12:10:30 +00:00
  • 55db57e1ed Add bluetooth channel connection callback to the incomplete BluetoothHost demo. Dean Camera 2010-04-18 04:47:52 +00:00
  • 1f682ca2de Minor documentation improvements. Dean Camera 2010-04-15 14:22:06 +00:00
  • 3eb81df998 Rename FunctionAttributes.h to Attributes.h, as some attributes are applicable to variables also. Add new ATTR_NOINIT attribute for global variables. Dean Camera 2010-04-15 11:04:24 +00:00
  • 5e14c194c9 Fixed Set/Clear Feature requests directed to a non-configured endpoint not returning a stall to the host. Dean Camera 2010-04-14 13:46:49 +00:00
  • 7b79325aa0 Removed two-step endpoint/pipe bank clear and switch sequence for smaller, faster endpoint/pipe code. Dean Camera 2010-04-13 23:29:11 +00:00
  • 19ecd04f37 Removed invalid dfu and flip related targets from the bootloaders - bootloaders can only be replaced with an external programmer. Dean Camera 2010-04-13 12:10:04 +00:00
  • e55f338663 Document the Bluetooth ACL layer. Remove unneeded parameters from the signalling command processing routines. Dean Camera 2010-04-13 11:19:04 +00:00
  • 882ef0c983 Add some more documentation to the half-completed Bluetooth Host demo, fix 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. Dean Camera 2010-04-12 14:26:56 +00:00
  • 8b0ec6c5ca Fix Bluetooth stack CONNECTION RESPONSE packets - for this command and this 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. Dean Camera 2010-04-12 13:42:35 +00:00
  • 6cfa3b7db8 Add HCI debugging with verbosity control to the BluetoothHost demo. Dean Camera 2010-04-11 06:19:58 +00:00
  • 26421b38cd Fix up Bluetooth Demo's options processing on incoming channel configuration requests. Dean Camera 2010-04-11 02:45:42 +00:00
  • 28f1ac8117 Add LUFA-side channel open/close routines, add signalling handlers for the creation and configuration of channels from the local device to the remote device, to add to the existing remote to local channel capabilities. Dean Camera 2010-04-10 07:33:19 +00:00
  • 797130bddc Bluetooth demo can now create and maintain logical channels - need to determine why Windows machines refuse to connect. Dean Camera 2010-04-10 05:58:37 +00:00
  • 2a072db703 Make Bluetooth signalling handler routines use the generic Bluetooth_SendPacket() routine for their responses. Use a better method of controlling the debug output verbosity. Dean Camera 2010-04-06 13:39:18 +00:00
  • c77f136661 Add bidirectional channel configuration -- remote device is not ACKing sent Configuration Requests, needs further debugging. Implement Bluetooth spec's channel states. Dean Camera 2010-04-06 08:14:08 +00:00
  • b9c7d19615 Add packet reception and send routines to the ACL layer of the incomplete Bluetooth Host demo. Dean Camera 2010-04-06 03:56:45 +00:00
  • ee74b4948f Add information request/response signal handler to the Bluetooth Host demo. Dean Camera 2010-04-06 02:48:47 +00:00
  • 083d797aca Add Bluetooth signalling echo request/response handlers, disconnection request/response handlers. Dean Camera 2010-04-05 12:13:33 +00:00
  • fa1a092901 Add user callback function to the Bluetooth host demo to filter out connections from remote devices. Add in ability to reject connections based on their bluetooth device address. Dean Camera 2010-04-05 08:09:12 +00:00
  • fd96b28882 More improvements to the incomplete BluetoothHost demo - add Disconnection Event processing. Dean Camera 2010-04-01 04:30:21 +00:00
  • a2e6d54336 Massive cleanups to the incomplete BluetoothHost demo, to make the HCL layer code much easier to read, block less and work correctly. Dean Camera 2010-03-31 14:32:03 +00:00
  • c9148f9b47 Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility. Dean Camera 2010-03-31 09:20:24 +00:00
  • ce46257ff2 Add RelayBoard project patch from OBinou. Dean Camera 2010-03-31 06:44:54 +00:00
  • de8313cd9b Add updated board driver directory summaries to the documentation. Dean Camera 2010-03-30 23:49:45 +00:00
  • cf4c510ec3 Oops, incorrectly edited the Benito buttons driver file instead of the JM-DB-U2 buttons driver file. Dean Camera 2010-03-30 23:39:10 +00:00
  • ead183bc53 Add missing board Buttons driver for the USBTINY MKII board target. Dean Camera 2010-03-30 09:51:08 +00:00
  • d4c421e380 Oops - make sure board driver dispatch headers test for the correct BOARD define values. Dean Camera 2010-03-30 09:46:31 +00:00
  • 61a799ed55 Added support for the JM-DB-U2 board hardware. Dean Camera 2010-03-30 09:28:45 +00:00
  • 3790907f4d Added board hardware driver support for the Benito programmer. Dean Camera 2010-03-30 09:08:26 +00:00
  • a8cbe3466b Added board hardware driver support for Tom's USBTINY MKII programmer. Dean Camera 2010-03-30 08:32:46 +00:00
  • 9257f4ab8e Add briefs for the library core structures. Dean Camera 2010-03-29 13:32:36 +00:00
  • 0557676013 Add file-level brief documentation. Dean Camera 2010-03-29 07:49:58 +00:00
  • ec19436d54 Add new LUFA logo by Ryo Yamauchi. Dean Camera 2010-03-25 08:13:39 +00:00
  • 74353374c3 All Class Driver Host mode demos now correctly set the board LEDs to READY once the enumeration process has completed. Dean Camera 2010-03-25 06:34:38 +00:00
  • b8db5fc1e7 Added new Relay Controller Board project (thanks to OBinou). Dean Camera 2010-03-24 08:06:23 +00:00
  • c2de01b661 Fixed incorrect definition of HID_ALIGN_DATA() causing incorrect HID report item data alignment. Dean Camera 2010-03-24 05:58:20 +00:00
  • f79f9abd28 Fixed compilation error in the AudioInput demos when MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian). Dean Camera 2010-03-24 05:50:09 +00:00
  • 4e99625f7c Change over MIDIToneGenerator to use only a single channel (MIDI channel 1) due to cycle constraints. Dean Camera 2010-03-23 10:09:49 +00:00
  • c58c53dba9 Added incomplete MIDIToneGenerator project. Dean Camera 2010-03-23 09:16:47 +00:00
  • 49b09a2042 Standardized the naming scheme given to configuration descriptor sub-elements in the Device mode demos, bootloaders and projects. Dean Camera 2010-03-22 07:12:25 +00:00
  • 5227ca4ce2 Double bank CDC endpoints in the XPLAIN Bridge project, re-enable JTAG once the mode selection pin has been sampled. Dean Camera 2010-03-21 12:21:13 +00:00
  • 6d256c5109 Fixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked endpoints. Dean Camera 2010-03-19 07:33:30 +00:00
  • 72527867f6 Remove redundant check in the software PDI programming code of the AVRISP project. Dean Camera 2010-03-17 13:07:22 +00:00
  • 9a5ae36a4f Software PDI mode breaks unless the software USART has 100 cycles between bits. Dean Camera 2010-03-17 11:48:39 +00:00