aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing documentation to the lightweight ring buffer code in the ↵Dean Camera2010-06-101-89/+119
| | | | XPLAINBridge project.
* Update main library makefile with missing source files for the "clean" rule.Dean Camera2010-06-081-0/+2
|
* Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class ↵Dean Camera2010-06-0810-45/+63
| | | | driver functions.
* Add Mecurial repository mirror link to the library documentation.Dean Camera2010-06-081-1/+2
|
* Add stub RFCOMM command handlers. Move out RFCOMM frame length and data ↵Dean Camera2010-06-072-44/+103
| | | | pointer calculations to the master RFCOMM frame reception routine, instead of inside each frame type handler function.
* More RFCOMM layer implementation - fix FCS calculation, add in start of ↵Dean Camera2010-06-072-50/+72
| | | | control channel command processing.
* Make the RFCOMM_SendFrame() function correctly generate frames from the ↵Dean Camera2010-06-074-16/+38
| | | | input parameters, change addressing to use the raw DLCI address plus flags.
* Refactor out RFCOMM packet send code into a seperate function.Dean Camera2010-06-062-28/+38
|
* Fix incorrect copyright attribution on the class-driver keyboard demos due ↵Dean Camera2010-06-069-12/+6
| | | | to header copy-pasting.
* Document lightweight ring buffer header files.Dean Camera2010-06-063-40/+100
|
* Add the svn:eol-style property onto new files which where missing it to ↵Dean Camera2010-06-066-817/+817
| | | | ensure uniform line endings.
* Document Bluetooth files with overall file Doxygen comments. Add more ↵Dean Camera2010-06-047-23/+133
| | | | initial RFCOMM layer code to receive and respond to SABM packets.
* Fixed incorrect function references in the Mass Storage Class driver ↵Dean Camera2010-06-032-2/+4
| | | | documentation.
* More documentation fixes.Dean Camera2010-06-0330-49/+50
|
* 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.