Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Major changes to the XPLAINBridge software UART code for performance and ↵ | Dean Camera | 2010-07-11 | 4 | -55/+61 | |
| | | | | reliability. New code reduces the number of missed characters and misread characters. | |||||
* | Correct misspellings in the Bluetooth demo code. | Dean Camera | 2010-07-11 | 11 | -46/+46 | |
| | ||||||
* | Add more doxygen function documentation to the RFCOMM layer. | Dean Camera | 2010-07-11 | 2 | -2/+29 | |
| | ||||||
* | Oops - ACL layer Bluetooth_SendPacket() function should check and allow NULL ↵ | Dean Camera | 2010-07-11 | 3 | -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 Camera | 2010-07-11 | 12 | -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 Camera | 2010-07-09 | 1 | -2/+2 | |
| | | | | incorrect copy/paste. | |||||
* | Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() ↵ | Dean Camera | 2010-07-09 | 8 | -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 Camera | 2010-07-08 | 4 | -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 Camera | 2010-07-08 | 3 | -5/+18 | |
| | | | | valid RFCOMM channel. | |||||
* | Move out Bluetooth stack callback functions to a seperate ↵ | Dean Camera | 2010-07-08 | 9 | -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 Camera | 2010-07-06 | 3 | -31/+52 | |
| | | | | instructions clearer. | |||||
* | Improve commenting of the Dataflash stub board driver file, to prevent ↵ | Dean Camera | 2010-07-04 | 1 | -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 Camera | 2010-07-02 | 75 | -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 Camera | 2010-07-02 | 5 | -47/+62 | |
| | | | | on compiled code space and to prevent copy-paste errors. | |||||
* | Add RFCOMM service routine, to send pending configuration requests on RFCOMM ↵ | Dean Camera | 2010-06-29 | 7 | -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 Camera | 2010-06-26 | 4 | -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 Camera | 2010-06-25 | 6 | -2/+10 | |
| | ||||||
* | Make loops in AVRISP-MKII Clone project's XPROG protocol infinite rather ↵ | Dean Camera | 2010-06-25 | 3 | -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 Camera | 2010-06-25 | 7 | -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 Camera | 2010-06-24 | 1 | -11/+5 | |
| | | | | characters from the XMEGA through the software UART interface. | |||||
* | Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial ↵ | Dean Camera | 2010-06-24 | 3 | -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 Camera | 2010-06-23 | 4 | -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 Camera | 2010-06-23 | 7 | -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 Camera | 2010-06-22 | 2 | -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 Camera | 2010-06-22 | 5 | -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 Camera | 2010-06-21 | 5 | -15/+11 | |
| | | | | XPLAINBridge project loops and into the AVRISP management function. | |||||
* | Fixed broken PDI EEPROM Section Erase functionality in the AVRISP-MKII project. | Dean Camera | 2010-06-17 | 4 | -15/+64 | |
| | ||||||
* | Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT(). | Dean Camera | 2010-06-17 | 47 | -910/+917 | |
| | | | | Minor tweaks to the library documentation. | |||||
* | Fix compile and Doxygen errors due to the spell-check changes in the source ↵ | Dean Camera | 2010-06-16 | 4 | -7/+5 | |
| | | | | code. | |||||
* | Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵ | Dean Camera | 2010-06-16 | 40 | -687/+140 | |
| | | | | the new 1.7 Doxygen's default stylesheet is much better. | |||||
* | Rename RFCOMM_GetFrameDataLength() to RFCOMM_GetVariableFieldValue() as it ↵ | Dean Camera | 2010-06-15 | 4 | -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 Camera | 2010-06-15 | 2 | -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 Camera | 2010-06-15 | 6 | -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 Camera | 2010-06-15 | 1 | -2/+2 | |
| | | | | elements so that it matches the current code values. | |||||
* | Change over Doxygen \note documentation to \pre where applicable. | Dean Camera | 2010-06-15 | 17 | -123/+118 | |
| | ||||||
* | Update TemperatureDataLogger and Webserver projects to the latest FATFS ↵ | Dean Camera | 2010-06-14 | 14 | -2011/+2899 | |
| | | | | library version. | |||||
* | Split out the RFCOMM Control Channel command processing code into a seperate ↵ | Dean Camera | 2010-06-13 | 6 | -159/+293 | |
| | | | | set of files for clarity. | |||||
* | Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h ↵ | Dean Camera | 2010-06-13 | 8 | -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 Camera | 2010-06-13 | 2 | -7/+63 | |
| | ||||||
* | Oops - temp code left in the XPLAINBridge project which prevented it from ↵ | Dean Camera | 2010-06-12 | 1 | -2/+0 | |
| | | | | entering programmer mode. | |||||
* | Slight improvements to the reliability of the software UART in the ↵ | Dean Camera | 2010-06-12 | 3 | -25/+24 | |
| | | | | XPLAINBridge project. | |||||
* | Minor fixes to demos to add in some missing comments, printf() formatting. ↵ | Dean Camera | 2010-06-12 | 7 | -6/+16 | |
| | | | | Make incomplete Bluetooth demo indicate connections visually via the board LEDs. | |||||
* | Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured ↵ | Dean Camera | 2010-06-12 | 2 | -5/+8 | |
| | | | | pipes, rather than performing token check first. | |||||
* | Oops - light weight ring buffer documentation used \ref instead of \param to ↵ | Dean Camera | 2010-06-10 | 3 | -12/+12 | |
| | | | | document function parameters. | |||||
* | Add missing documentation to the lightweight ring buffer code in the ↵ | Dean Camera | 2010-06-10 | 1 | -89/+119 | |
| | | | | XPLAINBridge project. | |||||
* | Update main library makefile with missing source files for the "clean" rule. | Dean Camera | 2010-06-08 | 1 | -0/+2 | |
| | ||||||
* | Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class ↵ | Dean Camera | 2010-06-08 | 10 | -45/+63 | |
| | | | | driver functions. | |||||
* | Add Mecurial repository mirror link to the library documentation. | Dean Camera | 2010-06-08 | 1 | -1/+2 | |
| | ||||||
* | Add stub RFCOMM command handlers. Move out RFCOMM frame length and data ↵ | Dean Camera | 2010-06-07 | 2 | -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 Camera | 2010-06-07 | 2 | -50/+72 | |
| | | | | control channel command processing. |