Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add start of RFCOMM service layer to the incomplete BluetoothHost demo. | Dean Camera | 2010-06-03 | 9 | -14/+118 | |
| | | | | Reduce the size of the attribute search list from 15 ranges to 8 to save RAM. | |||||
* | Fix byte ordering of UUIDs in the SDP server - host can now successfully ↵ | Dean Camera | 2010-06-02 | 4 | -54/+91 | |
| | | | | pair to the Bluetooth device and discover the exposed Serial Port Profile RFCOMM service. | |||||
* | The SDP UUID lists should be searched and ALL UUIDs matched for a record to ↵ | Dean Camera | 2010-06-02 | 4 | -252/+158 | |
| | | | | | | | | 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. Change matching algorithm so that it recursively searches through the entire attribute table, and not just pre-specified sequence attributes. Add browse lists and proper descriptions to the Serial Port service. | |||||
* | Add L2CAP service attribute table. Fix up ProtocolDescriptorList attributes, ↵ | Dean Camera | 2010-06-02 | 3 | -37/+138 | |
| | | | | and add macros for used UUIDs to reduce typing and make the code easier to read. | |||||
* | Clean up the Service tables, add incomplete ProtocolDescriptorList attribute ↵ | Dean Camera | 2010-06-01 | 2 | -52/+87 | |
| | | | | to the SDP service. | |||||
* | Remove incorrect Language ID offset attribute from the SDP server - client ↵ | Dean Camera | 2010-06-01 | 4 | -29/+9 | |
| | | | | assumes 0x0100 offset for primary language anyway, and the format of the offset was incorrect anyway. | |||||
* | Service Attribute SDP requests should have only one Data Element Sequence ↵ | Dean Camera | 2010-06-01 | 1 | -23/+17 | |
| | | | | container around the single service's retrieved attributes, not two. | |||||
* | Document inline SDP data read/write functions. | Dean Camera | 2010-06-01 | 2 | -33/+67 | |
| | ||||||
* | Much faster attribute range lookup - look through short list of attributes ↵ | Dean Camera | 2010-06-01 | 3 | -54/+71 | |
| | | | | | | and compare to range, rather than looking up by each possible value within the range. Cleanups to SDP code. Add missing RFCOMM language base ID offset attribute. Fix incorrect definition of the SWAPENDIAN_32() macro. | |||||
* | Fix the encoding of UUIDs in the SDP server so that they match the Bluetooth ↵ | Dean Camera | 2010-06-01 | 4 | -112/+161 | |
| | | | | UUID format properly. | |||||
* | Move SDP service tables out into a new set of files, to make the SDP service ↵ | Dean Camera | 2010-06-01 | 9 | -211/+319 | |
| | | | | code cleaner. | |||||
* | Add Service Attribute request processing to the SDP server code. | Dean Camera | 2010-06-01 | 1 | -1/+100 | |
| | ||||||
* | Fix endianness issues in the Service Discovery Protocol service of the ↵ | Dean Camera | 2010-05-31 | 3 | -47/+173 | |
| | | | | 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. | |||||
* | Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks ↵ | Dean Camera | 2010-05-29 | 2 | -14/+97 | |
| | | | | | | to Axel Rohde). Partial fix to the Bluetooth SDP code - data should be encoded in big endian, not little endian. | |||||
* | Switch to using the correct intptr_t type use where a pointer must be cast ↵ | Dean Camera | 2010-05-26 | 4 | -10/+10 | |
| | | | | to an integer type. | |||||
* | Fixed RNDISEthernet demos crashing when calculating checksums for ↵ | Dean Camera | 2010-05-25 | 6 | -48/+15 | |
| | | | | | | Ethernet/TCP packets of more than ~500 bytes due to an overflow in the checksum calculation loop (thanks to Kevin Malec). Removed string Attributes from the Service Discovery Protocol code to minimise the potential points of failure while the base code is being debugged. | |||||
* | Add UUID Class matching to the Service Discovery Protocol code - SDP is now ↵ | Dean Camera | 2010-05-23 | 3 | -57/+73 | |
| | | | | correctly matched against the generic Service Discovery Class UUID. | |||||
* | Remove obsolete entry from the Doxygen configuration files. | Dean Camera | 2010-05-23 | 51 | -51/+51 | |
| | ||||||
* | SDP Service improvements; fixed UUID for SDP service, added Service ↵ | Dean Camera | 2010-05-23 | 2 | -58/+142 | |
| | | | | Discovery Server UUID, better documentation. | |||||
* | Add comments and partial Doxygen documentation to the incomplete Bluetooth ↵ | Dean Camera | 2010-05-21 | 3 | -72/+178 | |
| | | | | SDP handler code. | |||||
* | Oops - when adding a sequence header to the SDP response, the size value ↵ | Dean Camera | 2010-05-21 | 2 | -3/+5 | |
| | | | | needs to be cleared, not the buffer pointer. | |||||
* | Add incomplete code to properly handle attribute responses to Service ↵ | Dean Camera | 2010-05-21 | 2 | -93/+107 | |
| | | | | Discovery Protocol requests. | |||||
* | Service Discovery ServiceSearchAttribute requests require the response to be ↵ | Dean Camera | 2010-05-20 | 2 | -46/+76 | |
| | | | | 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. | |||||
* | Short UUIDs are measured in bytes, not bits -- update Service Discovery ↵ | Dean Camera | 2010-05-20 | 3 | -6/+16 | |
| | | | | Protocol code so that it can now correctly match against UUIDs in the service table. | |||||
* | More SDP code improvements - responses to ServiceSearchAttribute service ↵ | Dean Camera | 2010-05-20 | 3 | -64/+142 | |
| | | | | | | discovery requests should now be valid, even if they do not currently return the device's services and service attributes. Added more documentation to the incomplete Bluetooth stack code. | |||||
* | Renamed CDC device class demos' ManagementEndpoint descriptor to ↵ | Dean Camera | 2010-05-20 | 10 | -10/+10 | |
| | | | | NotificationEndpoint to more accurately indicate its purpose. | |||||
* | Switch over the BluetoothHost demo's Service Discovery code to pass around ↵ | Dean Camera | 2010-05-18 | 2 | -19/+20 | |
| | | | | more generic GUID arrays. | |||||
* | Begin processing code for Service Discovery Protocol attributes. | Dean Camera | 2010-05-17 | 4 | -43/+89 | |
| | ||||||
* | Fix nasty bug in USBInterrupt.c which would cause a lockup if the control ↵ | Dean Camera | 2010-05-11 | 1 | -3/+2 | |
| | | | | endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined. | |||||
* | Refactor Service Discovery Protocol code in the incomplete Bluetooth Host ↵ | Dean Camera | 2010-05-10 | 2 | -53/+72 | |
| | | | | demo, so that the UUID list is compiled via a seperate function to allow for its re-use between different SDP request types. | |||||
* | Add new ReportType parameter to the HID class driver device callback and ↵ | Dean Camera | 2010-05-09 | 16 | -24/+32 | |
| | | | | | | host report sending routines. Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix. | |||||
* | Add svn:eol-style property to source files, so that the line endings are ↵ | Dean Camera | 2010-05-08 | 441 | -170450/+170450 | |
| | | | | correctly converted to the target system's native end of line style. | |||||
* | Change over instances of "make" in the makefiles to "$(MAKE)" to allow for ↵ | Dean Camera | 2010-05-07 | 60 | -207/+207 | |
| | | | | the make tool to be overridden. | |||||
* | Change over unix line-endings to dos line endings. | Dean Camera | 2010-05-07 | 1 | -1/+1 | |
| | ||||||
* | Remove incorrect Abstract Call Management class specific descriptor from the ↵ | Dean Camera | 2010-05-06 | 14 | -82/+1 | |
| | | | | CDC demos, bootloaders and projects. | |||||
* | The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵ | Dean Camera | 2010-04-29 | 2 | -1/+5 | |
| | | | | functions are now inline, to reduce overhead. | |||||
* | Use puts_P() and printf_P() instead of the normal variants where possible in ↵ | Dean Camera | 2010-04-28 | 14 | -91/+91 | |
| | | | | the Host mode Class Driver demos. | |||||
* | Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵ | Dean Camera | 2010-04-28 | 52 | -104/+104 | |
| | | | | LowLevel directory as it is hardware-dependent. | |||||
* | USB_Init() no longer calls sei() to enable global interrupts - this must now ↵ | Dean Camera | 2010-04-28 | 103 | -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 Camera | 2010-04-22 | 8 | -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 Camera | 2010-04-20 | 6 | -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 Camera | 2010-04-19 | 2 | -9/+106 | |
| | | | | code. | |||||
* | Make bluetooth SDP code correctly unpack the search UUIDs and parameters. | Dean Camera | 2010-04-19 | 7 | -36/+72 | |
| | | | | Minor documentation improvements. | |||||
* | Add const keyword to the demo function parameters where possible. | Dean Camera | 2010-04-18 | 25 | -97/+97 | |
| | ||||||
* | Add bluetooth channel connection callback to the incomplete BluetoothHost demo. | Dean Camera | 2010-04-18 | 4 | -6/+33 | |
| | ||||||
* | Minor documentation improvements. | Dean Camera | 2010-04-15 | 4 | -24/+24 | |
| | ||||||
* | Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵ | Dean Camera | 2010-04-15 | 4 | -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 Camera | 2010-04-13 | 1 | -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 Camera | 2010-04-13 | 9 | -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 Camera | 2010-04-12 | 5 | -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. |