Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Convert over internal pseudo-function macros to true inline functions for ↵ | Dean Camera | 2010-07-22 | 1 | -12/+19 | |
| | | | | added type-safety and compile-checking. | |||||
* | Added start of a low level device Test and Measurement class demo (thanks to ↵ | Dean Camera | 2010-07-22 | 6 | -1/+1235 | |
| | | | | Peter Lawrence). | |||||
* | Fix up minor whitespace formatting errors. | Dean Camera | 2010-07-22 | 9 | -9/+9 | |
| | ||||||
* | Update all demos, projects and bootloaders to indent all function ↵ | Dean Camera | 2010-07-21 | 205 | -490/+1002 | |
| | | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos. | |||||
* | Add missing const qualifiers to class drivers. | Dean Camera | 2010-07-21 | 8 | -32/+32 | |
| | | | | Indent core library function parameters so that there is only one parameter per line, to increase readability. | |||||
* | Update makefiles to use the latest WinAVR/Atmel toolchain makefile template. | Dean Camera | 2010-07-19 | 62 | -3194/+2171 | |
| | | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis. | |||||
* | Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵ | Dean Camera | 2010-07-18 | 54 | -65/+54 | |
| | | | | Extensions. | |||||
* | Disable strict aliasing explicitly in the project makefiles, as this is ↵ | Dean Camera | 2010-07-15 | 55 | -8/+60 | |
| | | | | apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase. | |||||
* | Removed the automated checking of event names in the demo, project and ↵ | Dean Camera | 2010-07-15 | 52 | -919/+312 | |
| | | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure. | |||||
* | Fix pointer aliasing warning in the Mass Storage demos. | Dean Camera | 2010-07-15 | 7 | -25/+22 | |
| | ||||||
* | Added const attributes to some of the class driver function parameters that ↵ | Dean Camera | 2010-07-13 | 16 | -16/+16 | |
| | | | | were missing it. | |||||
* | Add AVRStudio 4 project files to the ClassDriver Device mode demos. | Dean Camera | 2010-07-13 | 14 | -0/+14 | |
| | ||||||
* | Add AVRStudio 4 project files to the LowLevel Device mode demos. | Dean Camera | 2010-07-13 | 12 | -0/+12 | |
| | ||||||
* | Add AVRStudio 4 project files to the ClassDriver Host mode demos. | Dean Camera | 2010-07-13 | 11 | -0/+11 | |
| | ||||||
* | Add AVRStudio 4 project files to the LowLevel Host mode demos. | Dean Camera | 2010-07-13 | 13 | -0/+13 | |
| | ||||||
* | Add missing eol-style properties to new source files. | Dean Camera | 2010-07-12 | 2 | -371/+371 | |
| | ||||||
* | Add missing clean_doxygen phony targets to the project makefiles. | Dean Camera | 2010-07-12 | 52 | -56/+102 | |
| | ||||||
* | Correct misspellings in the Bluetooth demo code. | Dean Camera | 2010-07-11 | 10 | -45/+45 | |
| | ||||||
* | 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 | 3 | -25/+17 | |
| | | | | | | 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 | 3 | -12/+38 | |
| | | | | 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 | 7 | -113/+236 | |
| | | | | 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. | |||||
* | Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵ | Dean Camera | 2010-07-02 | 52 | -0/+52 | |
| | | | | | | 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 | 5 | -1/+9 | |
| | ||||||
* | 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. | |||||
* | 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 | 6 | -12/+28 | |
| | | | | 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 | 3 | -31/+4 | |
| | | | | | | flash memory space. Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time. | |||||
* | Fix compile and Doxygen errors due to the spell-check changes in the source ↵ | Dean Camera | 2010-06-16 | 1 | -3/+1 | |
| | | | | code. | |||||
* | 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. | |||||
* | Change over Doxygen \note documentation to \pre where applicable. | Dean Camera | 2010-06-15 | 2 | -3/+4 | |
| | ||||||
* | Split out the RFCOMM Control Channel command processing code into a seperate ↵ | Dean Camera | 2010-06-13 | 5 | -158/+292 | |
| | | | | set of files for clarity. | |||||
* | Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h ↵ | Dean Camera | 2010-06-13 | 7 | -14/+15 | |
| | | | | 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 | |
| | ||||||
* | 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. | |||||
* | 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. | |||||
* | Make the RFCOMM_SendFrame() function correctly generate frames from the ↵ | Dean Camera | 2010-06-07 | 3 | -16/+37 | |
| | | | | input parameters, change addressing to use the raw DLCI address plus flags. | |||||
* | Refactor out RFCOMM packet send code into a seperate function. | Dean Camera | 2010-06-06 | 2 | -28/+38 | |
| | ||||||
* | Fix incorrect copyright attribution on the class-driver keyboard demos due ↵ | Dean Camera | 2010-06-06 | 9 | -12/+6 | |
| | | | | to header copy-pasting. |