- 13 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 04 Nov, 2009 1 commit
-
-
Dean Camera authored
Added new Printer Host mode ClassDriver demo. Added table of supported classes and modes to the main USB Class Driver documentation.
-
- 28 Sep, 2009 1 commit
-
-
Dean Camera authored
Fixed PrinterHost demo returning invalid Device ID data when the attached device does not have a device ID (thanks to Andrei Krainev).
-
- 02 Sep, 2009 2 commits
-
-
Dean Camera authored
Add StillImage Host Class Driver functions for opening and closing sessions. Ensure IsActive is set on the interface to allow device functions to run. Fix spelling of "Received" in all source files where it is misspelt "Recieved".
-
Dean Camera authored
-
- 21 Jul, 2009 1 commit
-
-
Dean Camera authored
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.
-
- 20 Jul, 2009 6 commits
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
Fixed PrinterHost demo Printer_GetDeviceID() routine not removing the Device ID string length from the start of the returned array (thanks to John Andrews). Fixed error in new pipe stream function template system not setting the right device token for R/W operations (also thanks to John Andrews).
-
Dean Camera authored
Cleaner solution to the PrinterHost data send routine problem of embedded NULLs - use a special structure to hold the data string plus the length in bytes of the data.
-
Dean Camera authored
Fix unfinished printer host demo - some printer languages use embedded NULLs and so strlen() won't work in all cases. Ensure NULL terminator for the test page is not transmitted to the device.
-
- 19 Jul, 2009 4 commits
-
-
Dean Camera authored
Use sane ANSI terminal escape codes for the Host mode demos, so that they do not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
-
Dean Camera authored
Change over Printer_GetDeviceID() to require a pointer to the destination buffer plus the buffer size, rather than using a pointer to a special structure. Make new Printer_SendData() function to hide the implementation of sending data to an attached printer, cleaning up the main demo source file body.
-
Dean Camera authored
Fixed incorrect PIPE_EPNUM_MASK mask causing pipe failures on devices with endpoint addresses of 8 and above (thanks to John Andrews).
-
Dean Camera authored
Magstripe Project: Ensure that empty tracks still print out a newline seperator so that the host always knows what track data is being sent. Updates to PrinterHost demo to include some PCL test data plus fixes to the GetDeviceID routine.
-
- 13 Jul, 2009 1 commit
-
-
Dean Camera authored
Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
-