aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/PrinterHost/PrinterHost.c
Commit message (Collapse)AuthorAgeFilesLines
* Application documentation/comment cleanup.Dean Camera2009-10-081-1/+1
|
* Fixed error in PrinterHost preventing the full page data from being sent to ↵Dean Camera2009-09-021-9/+6
| | | | the attached device.
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-061-14/+14
| | | | | | 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.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-6/+3
| | | | | | | | | | | | 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.
* Add explicit guards to all device mode tasks to ensure the device is ↵Dean Camera2009-07-211-1/+1
| | | | 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.
* Ensure control pipe is selected in the PrinterHost demo before trying to ↵Dean Camera2009-07-201-2/+1
| | | | send control requests.
* Added extra DoxyGen documentation to the new PrinterHost demo.Dean Camera2009-07-201-5/+23
|
* Add PrinterHost to the project file and Host LowLevel directory makefile.Dean Camera2009-07-201-6/+8
|
* Moved PrinterHost demo from Incomplete to LowLevel, as it is now near-complete.Dean Camera2009-07-201-0/+237