1
0

Commit Graph

  • c362709a1e The SDP UUID lists should be searched and ALL UUIDs matched for a record to be retrieved, not partial matches. Change the SDP code so that the entire list must be matched against a service attribute table's contents before it is returned. Dean Camera 2010-06-02 07:05:34 +00:00
  • da51c1f974 Add L2CAP service attribute table. Fix up ProtocolDescriptorList attributes, and add macros for used UUIDs to reduce typing and make the code easier to read. Dean Camera 2010-06-02 04:36:46 +00:00
  • b98158bd50 Clean up the Service tables, add incomplete ProtocolDescriptorList attribute to the SDP service. Dean Camera 2010-06-01 14:05:47 +00:00
  • 32ab52a298 Remove incorrect Language ID offset attribute from the SDP server - client assumes 0x0100 offset for primary language anyway, and the format of the offset was incorrect anyway. Dean Camera 2010-06-01 13:11:55 +00:00
  • 255d4ef858 Service Attribute SDP requests should have only one Data Element Sequence container around the single service's retrieved attributes, not two. Dean Camera 2010-06-01 12:34:48 +00:00
  • 0902ff9651 Document inline SDP data read/write functions. Dean Camera 2010-06-01 11:38:07 +00:00
  • 3f3fdb01a9 Much faster attribute range lookup - look through short list of attributes and compare to range, rather than looking up by each possible value within the range. Dean Camera 2010-06-01 11:07:29 +00:00
  • cb52e4371e Fix the encoding of UUIDs in the SDP server so that they match the Bluetooth UUID format properly. Dean Camera 2010-06-01 04:22:20 +00:00
  • e0ef5741d4 Move SDP service tables out into a new set of files, to make the SDP service code cleaner. Dean Camera 2010-06-01 03:07:05 +00:00
  • 587f320333 Add Service Attribute request processing to the SDP server code. Dean Camera 2010-06-01 02:54:53 +00:00
  • e15838d4e2 Fix endianness issues in the Service Discovery Protocol service of the incomplete Bluetooth Host demo. Host can now correctly retrieve specific services, however Windows does not appear to be sending the appropriate generic browse class IDs needed to report the virtual serial service. Dean Camera 2010-05-31 14:08:15 +00:00
  • f606afefff Remove void* arithmetic in the USB_GetNextDescriptor() static inline function, to make the header file C++ compatible once again. Implement workaround for an obscure GCC bug which can cause incorrect code generation under some circumstances when the void* is re-cast. Dean Camera 2010-05-31 06:55:23 +00:00
  • 152b2764c3 Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead. Dean Camera 2010-05-30 14:01:41 +00:00
  • e95c96ea20 Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs (thanks to Axel Rohde). Dean Camera 2010-05-30 07:29:18 +00:00
  • 328ed71ce7 Fix spacing of the function parameter descriptions in the Doxygen documentation. Dean Camera 2010-05-29 08:08:26 +00:00
  • c1daecf18b Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks to Axel Rohde). Dean Camera 2010-05-29 07:51:01 +00:00
  • 3b95b8dedc Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to the AVRISP-MKII programmer project to set the VTARGET reference voltage and scale factor. Dean Camera 2010-05-27 10:36:21 +00:00
  • 8d993afc53 Replace ring buffer library in Benito and USBtoSerial projects with the new lightweight ring buffer header to improve reliability. Dean Camera 2010-05-26 13:26:10 +00:00
  • 885170f5b4 Removed unused line encoding data and control requests from the CDC Bootloader code, to save space. Dean Camera 2010-05-26 12:44:05 +00:00
  • 54e69dbee1 Switch to using the correct intptr_t type use where a pointer must be cast to an integer type. Dean Camera 2010-05-26 12:24:44 +00:00
  • 670413603f The EEPROM stream read/write functions now use eeprom_update_byte() instead of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan. Dean Camera 2010-05-26 11:54:55 +00:00
  • bb9fb1051c Add better documentation to the Software UART code in the XPLAINBridge project. Dean Camera 2010-05-26 08:10:35 +00:00
  • 1c407b9669 Switch software UART over to timer 1 and remove timer prescaling to try to prevent integer rounding errors and thus minimize the possible error of the UART code. Dean Camera 2010-05-26 07:51:25 +00:00
  • f64e3db07a Rename software USART driver globals to make the code more in line with the rest of the XPLAINBridge project. Dean Camera 2010-05-26 07:35:27 +00:00
  • 79742c5d24 Make software USART used in the XPLAINBridge project directly check and store into the ring buffers, rather than polling from the main program loop to avoid added latency. Dean Camera 2010-05-26 06:59:55 +00:00
  • 9b29d1dc50 Create a new LightweightRingBuffer.h header file for the XPLAIN project to abstract out the new ring buffer without a performance penalty. Dean Camera 2010-05-26 06:35:02 +00:00
  • 9c037a952f The RingBuff library code has been replaced in the XPLAINBridge project with an ultra lightweight buffer to help improve the reliability of the bridge. Dean Camera 2010-05-26 06:15:05 +00:00
  • 4a13a5484a Fixed RNDISEthernet demos crashing when calculating checksums for Ethernet/TCP packets of more than ~500 bytes due to an overflow in the checksum calculation loop (thanks to Kevin Malec). Dean Camera 2010-05-25 06:14:37 +00:00
  • 8f3d4e69c3 Add UUID Class matching to the Service Discovery Protocol code - SDP is now correctly matched against the generic Service Discovery Class UUID. Dean Camera 2010-05-23 13:15:19 +00:00
  • 776485a6c5 Remove obsolete entry from the Doxygen configuration files. Dean Camera 2010-05-23 08:39:02 +00:00
  • 8cdb141eed SDP Service improvements; fixed UUID for SDP service, added Service Discovery Server UUID, better documentation. Dean Camera 2010-05-23 08:36:51 +00:00
  • a20a9086f7 Add comments and partial Doxygen documentation to the incomplete Bluetooth SDP handler code. Dean Camera 2010-05-21 09:38:44 +00:00
  • 58a0ee67a3 Oops - when adding a sequence header to the SDP response, the size value needs to be cleared, not the buffer pointer. Dean Camera 2010-05-21 08:01:41 +00:00
  • 92bebc457f Add incomplete code to properly handle attribute responses to Service Discovery Protocol requests. Dean Camera 2010-05-21 07:10:49 +00:00
  • 83b5c916c6 Service Discovery ServiceSearchAttribute requests require the response to be grouped by UUID, so the response can't be generated as the attributes are read in. Buffer both UUIDs and Attributes instead and generate the response afterwards. Dean Camera 2010-05-20 14:35:52 +00:00
  • 3e515cdfa8 Short UUIDs are measured in bytes, not bits -- update Service Discovery Protocol code so that it can now correctly match against UUIDs in the service table. Dean Camera 2010-05-20 13:06:04 +00:00
  • 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