aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/CDCHost/CDCHost.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename CDC demos to VirtualSerial.Dean Camera2009-12-071-191/+0
|
* Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵Dean Camera2009-11-301-0/+2
| | | | data to the attached device.
* Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean Camera2009-11-131-2/+2
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Added new stream creation function to the CDC Class drivers, to easily make ↵Dean Camera2009-11-101-22/+0
| | | | standard streams from CDC Class driver instances.
* Add double banking property to LUFA powered projects in the Projects ↵Dean Camera2009-11-061-3/+8
| | | | directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
* Added stdio.h stream examples for the virtual CDC UART in the CDC host demos.Dean Camera2009-10-111-0/+21
| | | | Removed accidental reference to the incomplete MIDI class bootloader in the Bootloader folder makefile.
* Application documentation/comment cleanup.Dean Camera2009-10-081-1/+1
|
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-311-3/+2
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Fix issue in CDC device class driver where received data the size of the ↵Dean Camera2009-08-111-0/+7
| | | | | | | | data endpoint could lock up the driver. Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-061-6/+6
| | | | | | incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-5/+5
| | | | | | | | 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.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-021-3/+2
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-271-5/+0
| | | | (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
* Collapse configuration descriptor size retrieval and size testing into a ↵Dean Camera2009-07-271-10/+3
| | | | single if statement within the new host mode class driver demos for clarity.
* Change Host mode class driver Pipe configuration routines -- better to let ↵Dean Camera2009-07-271-4/+24
| | | | the application fetch the configuration descriptors once, and then pass them to each class driver in turn.
* Add new MouseHost Class Driver demo, unfinished, to allow for better testing ↵Dean Camera2009-07-271-0/+5
| | | | of the new prototype Host Mode Class Driver framework. Flesh out start of a HID class Host mode class driver.
* Corrected new Pipe_IsEndpointBound() function.Dean Camera2009-07-261-4/+4
| | | | Completed host CDC class driver enumeration code.
* Add PrinterHost demo to the documentation.Dean Camera2009-07-211-0/+8
|
* Add explicit guards to all device mode tasks to ensure the device is ↵Dean Camera2009-07-211-5/+8
| | | | 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.
* Don't send terminal RESET codes via serial - just set the foreground colour ↵Dean Camera2009-07-191-1/+1
| | | | and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
* Use sane ANSI terminal escape codes for the Host mode demos, so that they do ↵Dean Camera2009-07-191-5/+4
| | | | not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
* Optimize vendor/product description string display code in MassStorageHost.Dean Camera2009-06-261-0/+15
| | | | | | | | Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
* Re-add in simple scheduler for compatibility with legacy code, mark all ↵Dean Camera2009-06-191-3/+11
| | | | scheduler related files as deprecated.
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-181-2/+8
| | | | structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
* Enhanced class drivers to use the same public/private section seperations as ↵Dean Camera2009-06-151-0/+6
| | | | other portions of the library.
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-141-109/+0
| | | | | | Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
* Copy over schedulerless host demos to ClassDrivers directory, for later ↵Dean Camera2009-06-091-0/+231
| | | | modification to new Host mode USB class drivers.
* Deleted Host ClassDriver demos -- not yet started, faster to rebase new ↵Dean Camera2009-06-091-279/+0
| | | | | | ClassDriver demos from the newly schedulerless LowLevel host demos rather than re-convert each demo from the previous scheduler-based implementations. Fixes to MassStorageHost demo to improve compatibility with more USB drives.
* Copy existing Host mode demos to new ClassDriver and LowLevel subfolders.Dean Camera2009-06-051-0/+279