- Dec 30, 2009
-
-
Dean Camera authored
-
Dean Camera authored
-
- Dec 28, 2009
-
-
Dean Camera authored
-
- Dec 13, 2009
-
-
Dean Camera authored
-
- Dec 09, 2009
-
-
Dean Camera authored
Increase timeout of Mass Storage and Still Image host commands to 10 seconds (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
-
- Nov 25, 2009
-
-
Dean Camera authored
Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
-
- Nov 20, 2009
-
-
Dean Camera authored
Fixed LowLevel Keyboard demo not saving the issued report only after it has been written to the endpoint. Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
-
- Nov 17, 2009
-
-
Dean Camera authored
Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
-
- Nov 13, 2009
-
-
Dean Camera authored
Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position.
-
Dean Camera authored
Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function to USB_Host_GetDeviceConfigDescriptor().
-
Dean Camera authored
Extend incomplete RNDISHost demo -- can not enumerate a RNDIS device correctly and set the packet filter. No packets are received yet from the test device, need to investigate additional SET commands to see if any critical OIDs have been missed.
-
- Nov 12, 2009
-
-
Dean Camera authored
-
- Nov 09, 2009
-
-
Dean Camera authored
-
- Nov 07, 2009
-
-
Dean Camera authored
Make Low Level host demos use void pointers for the configuration descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines. Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used.
-
- Oct 16, 2009
-
-
Dean Camera authored
-
- Sep 29, 2009
-
-
Dean Camera authored
Remove old OTG demo directory with useless TestApp demo. Add new DualRole directory with new Class Driver powered Mouse dual role demonstration application showing a dual role device using the HID host/device Class drivers.
-
- Sep 09, 2009
-
-
Dean Camera authored
Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
-
- Sep 06, 2009
-
-
Dean Camera authored
Add in new invalid event hook check targets to project makefiles to produce compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
-
- Aug 31, 2009
-
-
Dean Camera authored
Oops - with new changes to the way the device Configuration Descriptor is retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters.
-
Dean Camera authored
Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() function so that it now performs size checks and data validations internally, to simplify user code.
-
- Aug 30, 2009
-
-
Dean Camera authored
-
- Aug 06, 2009
-
-
Dean Camera authored
Make Endpoint control transfers more reliable; early-abort when an 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.
-
- Aug 05, 2009
-
-
Dean Camera authored
Renamed all library events to properly seperate out Device and Host mode 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.
-
- Jul 28, 2009
-
-
Dean Camera authored
Change project makefiles so that the current target settings and not just the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
-
- Jul 21, 2009
-
-
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.
-
- Jul 20, 2009
-
-
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
Remove ClearPipeStall routine from the StillImageHost demo, as there is now a version of the function built into the library itself.
-
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.
-
- Jul 19, 2009
-
-
Dean Camera authored
Don't send terminal RESET codes via serial - just set the foreground colour and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
-
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
Fix PrinterHost demo so that it will only enumerate printers with Bidirectional protocol encapsulation. Change enumeration code to automatically select the correct alternate setting for the printer interface to select the bidirectional protocol.
-
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.
-
- Jul 13, 2009
-
-
Dean Camera authored
Added new HOST_STATE_WaitForDeviceRemoval host state machine state for non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state. Added verbose documentation for each of the USB Host state machine states.
-
Dean Camera authored
Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
-
- Jul 11, 2009
-
-
Dean Camera authored
-
Dean Camera authored
Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder. Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
-