aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Minor documentation cleanups.Dean Camera2010-06-03109-434/+473
|
* Start implementation of RFCOMM decoding layer. Add new service initialize ↵Dean Camera2010-06-035-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 Camera2010-06-031-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 Camera2010-06-034-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 Camera2010-06-036-56/+57
| | | | on channels when trying to access it.
* Add start of RFCOMM service layer to the incomplete BluetoothHost demo.Dean Camera2010-06-0311-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 Camera2010-06-021-1/+1
| | | | type-safe code.
* Better fix to avoid void pointer arithmetic in ConfigDescriptor.h to regain ↵Dean Camera2010-06-022-16/+5
| | | | C++ compatibility (thanks to Michael Hennebry).
* Fix byte ordering of UUIDs in the SDP server - host can now successfully ↵Dean Camera2010-06-025-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 Camera2010-06-025-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 Camera2010-06-023-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 Camera2010-06-012-52/+87
| | | | to the SDP service.
* Remove incorrect Language ID offset attribute from the SDP server - client ↵Dean Camera2010-06-014-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 Camera2010-06-011-23/+17
| | | | container around the single service's retrieved attributes, not two.
* Document inline SDP data read/write functions.Dean Camera2010-06-012-33/+67
|
* Much faster attribute range lookup - look through short list of attributes ↵Dean Camera2010-06-013-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 Camera2010-06-014-112/+161
| | | | UUID format properly.
* Move SDP service tables out into a new set of files, to make the SDP service ↵Dean Camera2010-06-0110-212/+320
| | | | code cleaner.
* Add Service Attribute request processing to the SDP server code.Dean Camera2010-06-011-1/+100
|
* Fix endianness issues in the Service Discovery Protocol service of the ↵Dean Camera2010-05-313-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 Camera2010-05-313-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 Camera2010-05-304-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 Camera2010-05-304-4/+8
| | | | (thanks to Axel Rohde).
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-2921-163/+163
|
* Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks ↵Dean Camera2010-05-295-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 Camera2010-05-278-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 Camera2010-05-2616-496/+206
| | | | lightweight ring buffer header to improve reliability.
* Removed unused line encoding data and control requests from the CDC ↵Dean Camera2010-05-263-118/+4
| | | | Bootloader code, to save space.
* Switch to using the correct intptr_t type use where a pointer must be cast ↵Dean Camera2010-05-265-14/+14
| | | | to an integer type.
* The EEPROM stream read/write functions now use eeprom_update_byte() instead ↵Dean Camera2010-05-266-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 Camera2010-05-261-35/+71
|
* Switch software UART over to timer 1 and remove timer prescaling to try to ↵Dean Camera2010-05-263-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 Camera2010-05-263-12/+12
| | | | rest of the XPLAINBridge project.
* Make software USART used in the XPLAINBridge project directly check and ↵Dean Camera2010-05-265-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 Camera2010-05-264-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 Camera2010-05-2610-283/+69
| | | | an ultra lightweight buffer to help improve the reliability of the bridge.
* Fixed RNDISEthernet demos crashing when calculating checksums for ↵Dean Camera2010-05-258-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 Camera2010-05-234-60/+76
| | | | correctly matched against the generic Service Discovery Class UUID.
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-2363-63/+63
|
* SDP Service improvements; fixed UUID for SDP service, added Service ↵Dean Camera2010-05-232-58/+142
| | | | Discovery Server UUID, better documentation.
* Add comments and partial Doxygen documentation to the incomplete Bluetooth ↵Dean Camera2010-05-213-72/+178
| | | | SDP handler code.
* Oops - when adding a sequence header to the SDP response, the size value ↵Dean Camera2010-05-213-4/+11
| | | | needs to be cleared, not the buffer pointer.
* Add incomplete code to properly handle attribute responses to Service ↵Dean Camera2010-05-212-93/+107
| | | | Discovery Protocol requests.
* Service Discovery ServiceSearchAttribute requests require the response to be ↵Dean Camera2010-05-202-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 Camera2010-05-204-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 Camera2010-05-203-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 Camera2010-05-2020-20/+20
| | | | NotificationEndpoint to more accurately indicate its purpose.
* Switch over the BluetoothHost demo's Service Discovery code to pass around ↵Dean Camera2010-05-182-19/+20
| | | | more generic GUID arrays.
* Added new ADC_DisableChannel() function (thanks to Mich Davis).Dean Camera2010-05-182-1/+44
|
* Begin processing code for Service Discovery Protocol attributes.Dean Camera2010-05-176-43/+91
|