- Jul 26, 2010
-
-
Dean Camera authored
Add missing INTERRUPT_CONTROL_ENDPOINT compile time option to the Mass Storage device projects/demos and incomplete Test and Measurement Class demo, which was accidentally removed during the makefile updates. Alter Test and Measurement Class demo's request handlers to accept, process and correctly return the fields indicated in the specification.
-
Dean Camera authored
Add stream callback flags and class specific control request handler code to the incomplete Test and Measurement Class device demo. Change over the keyboard demo's manufacturer name back to the primary author of the demo.
-
- Jul 23, 2010
-
-
Dean Camera authored
-
- Jul 22, 2010
-
-
Dean Camera authored
Convert over internal pseudo-function macros to true inline functions for added type-safety and compile-checking.
-
Dean Camera authored
-
Dean Camera authored
-
- Jul 21, 2010
-
-
Dean Camera authored
Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability. Add missing const qualifiers to the demos.
-
Dean Camera authored
Indent core library function parameters so that there is only one parameter per line, to increase readability.
-
- Jul 19, 2010
-
-
Dean Camera authored
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.
-
- Jul 18, 2010
-
-
Dean Camera authored
-
- Jul 15, 2010
-
-
Dean Camera authored
Disable strict aliasing explicitly in the project makefiles, as this is 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.
-
Dean Camera authored
Removed the automated checking of event names in the demo, project and 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.
-
Dean Camera authored
-
- Jul 13, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
- Jul 12, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
- Jul 11, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
Oops - ACL layer Bluetooth_SendPacket() function should check and allow NULL channels, since that indicates a control channel request. Fix up Doxgen documentation for the Bluetooth stack code.
-
Dean Camera authored
Rename Bluetooth stack function parameters to clearly indicate what sort of 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.
-
- Jul 09, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() 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().
-
- Jul 08, 2010
-
-
Dean Camera authored
Add a new RFCOMM_ChannelOpened() callback event for when logical RFCOMM channels are opened in the BluetoothHost demo. Make the demo echo back sent characters to the remote device.
-
Dean Camera authored
-
Dean Camera authored
Move out Bluetooth stack callback functions to a seperate 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.
-
- Jul 02, 2010
-
-
Dean Camera authored
Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific 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.
-
Dean Camera authored
Move out RFCOMM channel structure init code to a seperate routine, to save on compiled code space and to prevent copy-paste errors.
-
- Jun 29, 2010
-
-
Dean Camera authored
Add RFCOMM service routine, to send pending configuration requests on RFCOMM 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.
-
- Jun 26, 2010
-
-
Dean Camera authored
Make Bluetooth ACL channel searches skip over closed (invalid) channels. RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code.
-
- Jun 25, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Fix Doxygen formatting of parameters for the CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.
-
- Jun 23, 2010
-
-
Dean Camera authored
Split RFCOMM channel signals into Remote and Local pairs. Use memcpy() to 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.
-
Dean Camera authored
Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.
-
- Jun 22, 2010
-
-
Dean Camera authored
Use a bitmask instead of an array of bools in the SDP UUID List matching algorithm to reduce the compiled code size and stack used.
-
Dean Camera authored
Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
-
- Jun 16, 2010
-
-
Dean Camera authored
-