| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
(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.).
|
|
|
|
|
|
| |
ClassDriver demo, so that slow devices don't time out the data pipe. Increase pipe timeout in both MassStorageHost demos to 5 seconds to account for the really slow devices.
Fix TeensyHID bootloader not properly shutting down the USB interface to trigger a disconnection on the host before resetting the AVR.
|
|
|
|
| |
they compile.
|
| |
|
| |
|
|
|
|
| |
error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
|
|
|
|
|
|
|
|
| |
an array of report items.
Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype.
Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.
|
|
|
|
| |
data to the attached device.
|
|
|
|
| |
Class driver demo - show busy LED status while packets are being printed out.
|
|
|
|
| |
from the attached RNDIS device.
|
|
|
|
| |
messages are sent with a velocity of zero, which some devices use instead of Note Off messages (thanks to Robin Green).
|
|
|
|
|
|
|
|
| |
Class Driver demo.
Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble.
Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
|
| |
|
| |
|
| |
|
|
|
|
| |
macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
|
|
|
|
| |
from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode.
|
| |
|
|
|
|
| |
CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
|
|
|
|
| |
data in the HID Host Parser.
|
|
|
|
|
|
|
|
|
|
|
|
| |
storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick.
The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR).
The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only.
The USB_MODE_HOST token is now defined even when host mode is not available.
Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
|
|
|
|
| |
number of pressed keys, as this relied on non-standard OS behaviour.
|
|
|
|
| |
when the given data length is zero.
|
|
|
|
|
|
| |
been written to the endpoint.
Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
|
|
|
|
| |
variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
|
|
|
|
|
|
| |
being sent correctly.
Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
|
|
|
|
| |
driver.
|
|
|
|
| |
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.
|
|
|
|
| |
to USB_Host_GetDeviceConfigDescriptor().
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
standard streams from CDC Class driver instances.
|
| |
|
|
|
|
|
|
|
|
| |
through the control pipe.
Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed.
Remove the HID device parser from the boot protocol Keyboard/Mouse demos.
|
|
|
|
| |
the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
|
|
|
|
| |
directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
|
|
|
|
| |
per-endpoint, per-interface level.
|
|
|
|
|
|
| |
Added new Printer Host mode ClassDriver demo.
Added table of supported classes and modes to the main USB Class Driver documentation.
|
| |
|
|
|
|
| |
Add some missing documentation to some of the library demos.
|
|
|
|
|
|
| |
possible to reduce code size and (potentially) allow for centralized status stage timeouts.
Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.
|
|
|
|
| |
Port and a HID Mouse.
|
| |
|
|
|
|
| |
buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.
|
|
|
|
| |
CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
|
| |
|