aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Major changes to the XPLAINBridge software UART code for performance and ↵Dean Camera2010-07-114-55/+61
| | | | reliability. New code reduces the number of missed characters and misread characters.
* Correct misspellings in the Bluetooth demo code.Dean Camera2010-07-1111-46/+46
|
* Add more doxygen function documentation to the RFCOMM layer.Dean Camera2010-07-112-2/+29
|
* Oops - ACL layer Bluetooth_SendPacket() function should check and allow NULL ↵Dean Camera2010-07-113-18/+29
| | | | | | channels, since that indicates a control channel request. Fix up Doxgen documentation for the Bluetooth stack code.
* Rename Bluetooth stack function parameters to clearly indicate what sort of ↵Dean Camera2010-07-1112-145/+153
| | | | | | | | Bluetooth channel (ACL, RFCOMM) is required for each parameter, to make the code easier to read. Add a new RFCOMM_ChannelSignalsReceived() Bluetooth stack callback from the RFCOMM layer for when the remote device sends new terminal control signals. Fix RFCOMM_SendData() not aborting correctly when the requested RFCOMM channel is not found.
* Oops - fix errors in the MassStorageKeyboard SCSI driver file due to ↵Dean Camera2010-07-091-2/+2
| | | | incorrect copy/paste.
* Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵Dean Camera2010-07-098-39/+62
| | | | | | functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts. Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
* Add a new RFCOMM_ChannelOpened() callback event for when logical RFCOMM ↵Dean Camera2010-07-084-12/+39
| | | | channels are opened in the BluetoothHost demo. Make the demo echo back sent characters to the remote device.
* Add a new RFCOMM service callback for when new data has been received on a ↵Dean Camera2010-07-083-5/+18
| | | | valid RFCOMM channel.
* Move out Bluetooth stack callback functions to a seperate ↵Dean Camera2010-07-089-118/+241
| | | | BluetoothEvents.c/.h set of files for clarity in the Incomplete BluetoothHost demo. Add a new stack callback for opened ACL channels, make the demo save the RFCOMM channel when opened so that it does not have to search for it on each iteration of the main program loop.
* Make main readme file easier to read, and make documentation build ↵Dean Camera2010-07-063-31/+52
| | | | instructions clearer.
* Improve commenting of the Dataflash stub board driver file, to prevent ↵Dean Camera2010-07-041-7/+15
| | | | confusion of what the dataflash selection masks need to be. Update stub driver to automatically interleave data between the chips if two Dataflash chips are present.
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-0275-55/+156
| | | | | | functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
* Move out RFCOMM channel structure init code to a seperate routine, to save ↵Dean Camera2010-07-025-47/+62
| | | | on compiled code space and to prevent copy-paste errors.
* Add RFCOMM service routine, to send pending configuration requests on RFCOMM ↵Dean Camera2010-06-297-92/+163
| | | | | | | | | | channels. Add in RFCOMM channel config flags, to determine which configuration commands have been sent and received. Add a new RFCOMM_SendChannelSignals() function to transmit a change in V24 terminal handshake lines to the receiving device. Prevent SABM packets sent to the control DLCI in the RFCOMM layer from creating a new channel entry, as the control DLCI does not have connection data associated with it. Fix up MSC control packet handling so that received responses can be acknowledged correctly, so that the RFCOMM layer can record when the receiving device has ACKed a sent change in V24 terminal handshake lines.
* Make Bluetooth ACL channel searches skip over closed (invalid) channels. ↵Dean Camera2010-06-264-12/+18
| | | | RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code.
* Add default "all" makefile targets to the demo tree makefiles.Dean Camera2010-06-256-2/+10
|
* Make loops in AVRISP-MKII Clone project's XPROG protocol infinite rather ↵Dean Camera2010-06-253-14/+4
| | | | than looping on the timeout value, as this is already checked inside the loop anyway.
* Fix Doxygen formatting of parameters for the ↵Dean Camera2010-06-257-34/+34
| | | | CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.
* Make XPLAINBridge serial bridge much more reliable for the reception of ↵Dean Camera2010-06-241-11/+5
| | | | characters from the XMEGA through the software UART interface.
* Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial ↵Dean Camera2010-06-243-3/+3
| | | | projects, so that they should never become full under normal conditions.
* Split RFCOMM channel signals into Remote and Local pairs. Use memcpy() to ↵Dean Camera2010-06-234-31/+44
| | | | | | copy over data from the command parameters to the RFCOMM response parameters. Ensure that only the valid parameter bytes are sent back in response to MSC commands.
* Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame ↵Dean Camera2010-06-237-12/+29
| | | | element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.
* Use a bitmask instead of an array of bools in the SDP UUID List matching ↵Dean Camera2010-06-222-18/+17
| | | | algorithm to reduce the compiled code size and stack used.
* Added new pgm_read_ptr() macro to Common.h for reading of pointers out of ↵Dean Camera2010-06-225-34/+44
| | | | | | flash memory space. Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
* Moved calls to V2Params_UpdateParamValues() out of the main AVRISP-MKII and ↵Dean Camera2010-06-215-15/+11
| | | | XPLAINBridge project loops and into the AVRISP management function.
* Fixed broken PDI EEPROM Section Erase functionality in the AVRISP-MKII project.Dean Camera2010-06-174-15/+64
|
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-1747-910/+917
| | | | Minor tweaks to the library documentation.
* Fix compile and Doxygen errors due to the spell-check changes in the source ↵Dean Camera2010-06-164-7/+5
| | | | code.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-1640-687/+140
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Rename RFCOMM_GetFrameDataLength() to RFCOMM_GetVariableFieldValue() as it ↵Dean Camera2010-06-154-35/+100
| | | | | | | | is multi-purpose, and modify it to move the buffer pointer itself rather than relying on the caller. Make RFCOMM_GetChannelData() return NULL if the required channel DLCI is found, but the channel is closed. Add modem signals (BREAK, DCD, etc.) to the channel state array, and add in a handler for the Modem Status RFCOMM control command.
* Changed the RFCOMM-specific ItemProtocolChannel_t type to a more generic ↵Dean Camera2010-06-152-9/+24
| | | | ItemProtocol_8BitParam_t name, and added a new ItemProtocol_16BitParam_t to the SDP protocol type defines.
* Add RFCOMM channel configuration parsing and channel states to the ↵Dean Camera2010-06-156-86/+188
| | | | | | incomplete BluetoothHost demo. Add missing BT_* prefix to the Bluetooth stack's channel state enum values.
* Fix HID parser documentation for the default maximum report/path/etc. ↵Dean Camera2010-06-151-2/+2
| | | | elements so that it matches the current code values.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-1517-123/+118
|
* Update TemperatureDataLogger and Webserver projects to the latest FATFS ↵Dean Camera2010-06-1414-2011/+2899
| | | | library version.
* Split out the RFCOMM Control Channel command processing code into a seperate ↵Dean Camera2010-06-136-159/+293
| | | | set of files for clarity.
* Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h ↵Dean Camera2010-06-138-15/+16
| | | | files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h.
* More RFCOMM layer additions - begin to add multiplexer channel state variables.Dean Camera2010-06-132-7/+63
|
* Oops - temp code left in the XPLAINBridge project which prevented it from ↵Dean Camera2010-06-121-2/+0
| | | | entering programmer mode.
* Slight improvements to the reliability of the software UART in the ↵Dean Camera2010-06-123-25/+24
| | | | XPLAINBridge project.
* Minor fixes to demos to add in some missing comments, printf() formatting. ↵Dean Camera2010-06-127-6/+16
| | | | Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
* Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured ↵Dean Camera2010-06-122-5/+8
| | | | pipes, rather than performing token check first.
* Oops - light weight ring buffer documentation used \ref instead of \param to ↵Dean Camera2010-06-103-12/+12
| | | | document function parameters.
* 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.