aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/LowLevel/CDC/CDC.c
AgeCommit message (Collapse)Author
2009-12-07Rename CDC demos to VirtualSerial.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@953 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-10-08Application documentation/comment cleanup.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@862 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-06Simplify CDC device demos, by directly assigning the string to transmit to ↵Dean
the pointer, rather than using an intermediatary table to hold all the possible transmit strings. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@726 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Changed over manual loops waiting for endpoints to be ready to use the ↵Dean
library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@721 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-05Renamed all library events to properly seperate out Device and Host mode ↵Dean
events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@718 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-04Better fix for LowLevel CDC demo issue where sending data before the line ↵Dean
encoding is set will cause a failure of the host to open the port. Added fix to the DualCDC and USBtoSerial LowLevel demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@717 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-08-04Fix issue with CDC device demos causing broken communications when the ↵Dean
device tries to send data before the host has set the line encoding. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@716 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-30Added standard stream example to the ClassDriver CDC device demo.Dean
Fix incorrect HWB button mask in the STK526 Buttons driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@700 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-21Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean
USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@676 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-21Add explicit guards to all device mode tasks to ensure the device is ↵Dean
connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@673 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-07-13Added new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream ↵Dean
functions. Changed Endpoint.c and Pipe.c to use a templated system to build the seperate functions, rather than duplicating each function's code many times. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@644 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-08Error status LEDs shown when device endpoint configuration fails to complete.Dean
MIDI device demo no longer blocks if a note change event is sent while the endpoint is not ready. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@581 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-07Converted device mode low-level demos to schedulerless.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@579 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-06-05Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean
re-add old low level demos to a LowLevel subdirectory. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@572 d5102386-fcda-11dd-9fdb-3debd5008f28