Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor documentation cleanups. | Dean Camera | 2010-06-03 | 109 | -434/+473 |
| | |||||
* | Start implementation of RFCOMM decoding layer. Add new service initialize ↵ | Dean Camera | 2010-06-03 | 5 | -1/+111 |
| | | | | routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made. | ||||
* | Delay needed in bluetooth code due to the send function not waiting for the ↵ | Dean Camera | 2010-06-03 | 1 | -4/+3 |
| | | | | pipe bank to become ready before writing. Add in a call to Pipe_WaitUntilReady() to fix the issue. | ||||
* | Extra protocol value in the RFCOMM protocol is the channel number, not the ↵ | Dean Camera | 2010-06-03 | 4 | -15/+20 |
| | | | | | | PSM - update typedef name and size. Add delay to the Connection Request signal processing routine - without this, the host will not create the RFCOMM channel correctly. Need to investigate why this delay is needed. | ||||
* | Add PSM value to the RFCOMM service so that the host knows what PSM to use ↵ | Dean Camera | 2010-06-03 | 6 | -56/+57 |
| | | | | on channels when trying to access it. | ||||
* | Add start of RFCOMM service layer to the incomplete BluetoothHost demo. | Dean Camera | 2010-06-03 | 11 | -17/+121 |
| | | | | Reduce the size of the attribute search list from 15 ranges to 8 to save RAM. | ||||
* | Oops - descriptor pointer should be assigned, not incremented with the new ↵ | Dean Camera | 2010-06-02 | 1 | -1/+1 |
| | | | | type-safe code. | ||||
* | Better fix to avoid void pointer arithmetic in ConfigDescriptor.h to regain ↵ | Dean Camera | 2010-06-02 | 2 | -16/+5 |
| | | | | C++ compatibility (thanks to Michael Hennebry). | ||||
* | Fix byte ordering of UUIDs in the SDP server - host can now successfully ↵ | Dean Camera | 2010-06-02 | 5 | -55/+92 |
| | | | | 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 | 5 | -253/+159 |
| | | | | | | | | 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 | 10 | -212/+320 |
| | | | | 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. | ||||
* | Remove void* arithmetic in the USB_GetNextDescriptor() static inline ↵ | Dean Camera | 2010-05-31 | 3 | -51/+62 |
| | | | | 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. | ||||
* | Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct ↵ | Dean Camera | 2010-05-30 | 4 | -12/+14 |
| | | | | type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead. | ||||
* | Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs ↵ | Dean Camera | 2010-05-30 | 4 | -4/+8 |
| | | | | (thanks to Axel Rohde). | ||||
* | Fix spacing of the function parameter descriptions in the Doxygen documentation. | Dean Camera | 2010-05-29 | 21 | -163/+163 |
| | |||||
* | Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks ↵ | Dean Camera | 2010-05-29 | 5 | -25/+109 |
| | | | | | | to Axel Rohde). Partial fix to the Bluetooth SDP code - data should be encoded in big endian, not little endian. | ||||
* | Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to ↵ | Dean Camera | 2010-05-27 | 8 | -11/+33 |
| | | | | | | the AVRISP-MKII programmer project to set the VTARGET reference voltage and scale factor. Fixed XPLAINBridge project not correctly reading the XMEGA's supply voltage when reporting back to the host. | ||||
* | Replace ring buffer library in Benito and USBtoSerial projects with the new ↵ | Dean Camera | 2010-05-26 | 16 | -496/+206 |
| | | | | lightweight ring buffer header to improve reliability. | ||||
* | Removed unused line encoding data and control requests from the CDC ↵ | Dean Camera | 2010-05-26 | 3 | -118/+4 |
| | | | | Bootloader code, to save space. | ||||
* | Switch to using the correct intptr_t type use where a pointer must be cast ↵ | Dean Camera | 2010-05-26 | 5 | -14/+14 |
| | | | | to an integer type. | ||||
* | The EEPROM stream read/write functions now use eeprom_update_byte() instead ↵ | Dean Camera | 2010-05-26 | 6 | -10/+23 |
| | | | | | | of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan. Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile parameters to EEPROM to preserve its lifespan. | ||||
* | Add better documentation to the Software UART code in the XPLAINBridge project. | Dean Camera | 2010-05-26 | 1 | -35/+71 |
| | |||||
* | Switch software UART over to timer 1 and remove timer prescaling to try to ↵ | Dean Camera | 2010-05-26 | 3 | -17/+17 |
| | | | | prevent integer rounding errors and thus minimize the possible error of the UART code. | ||||
* | Rename software USART driver globals to make the code more in line with the ↵ | Dean Camera | 2010-05-26 | 3 | -12/+12 |
| | | | | rest of the XPLAINBridge project. | ||||
* | Make software USART used in the XPLAINBridge project directly check and ↵ | Dean Camera | 2010-05-26 | 5 | -68/+42 |
| | | | | store into the ring buffers, rather than polling from the main program loop to avoid added latency. | ||||
* | Create a new LightweightRingBuffer.h header file for the XPLAIN project to ↵ | Dean Camera | 2010-05-26 | 4 | -39/+102 |
| | | | | abstract out the new ring buffer without a performance penalty. | ||||
* | The RingBuff library code has been replaced in the XPLAINBridge project with ↵ | Dean Camera | 2010-05-26 | 10 | -283/+69 |
| | | | | an ultra lightweight buffer to help improve the reliability of the bridge. | ||||
* | Fixed RNDISEthernet demos crashing when calculating checksums for ↵ | Dean Camera | 2010-05-25 | 8 | -50/+18 |
| | | | | | | 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 | 4 | -60/+76 |
| | | | | correctly matched against the generic Service Discovery Class UUID. | ||||
* | Remove obsolete entry from the Doxygen configuration files. | Dean Camera | 2010-05-23 | 63 | -63/+63 |
| | |||||
* | 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 | 3 | -4/+11 |
| | | | | 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 | 4 | -10/+22 |
| | | | | 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 | 20 | -20/+20 |
| | | | | 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. | ||||
* | Added new ADC_DisableChannel() function (thanks to Mich Davis). | Dean Camera | 2010-05-18 | 2 | -1/+44 |
| | |||||
* | Begin processing code for Service Discovery Protocol attributes. | Dean Camera | 2010-05-17 | 6 | -43/+91 |
| |