| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Image Host Class driver functions are now public.
|
|
|
|
|
|
| |
status code was being truncated.
Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(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.).
|
|
|
|
| |
error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
|
|
|
|
| |
inverted logic, HID Parser was assigning the usage Min/Max usage value to the report item's collection path rather than the report item itself.
|
|
|
|
| |
USB_SetHIDReportItemInfo().
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
to explicitly state that the created streams are bidirectional.
|
|
|
|
| |
Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints.
|
|
|
|
| |
driver's device Initialize function.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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).
|
|
|
|
| |
requiring blocking reads.
|
| |
|
|
|
|
|
|
| |
avr-libc return codes for errors and EOF.
Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Added new Printer Host mode ClassDriver demo.
Added table of supported classes and modes to the main USB Class Driver documentation.
|
|
|
|
| |
in the free path item search loop. Increased the default number of collection paths allowable by the parser.
|
| |
|
|
|
|
| |
Add new manual pages detailing the advantages of LUFA over the official Atmel USB AVR stack, and reasons why LUFA should be used over a built-from-scratch USB stack.
|
|
|
|
|
|
| |
demo.
Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own.
|
| |
|
|
|
|
|
|
| |
reduce the number of cycles needed to transfer samples to and from the device (allowing more time for processing and output).
Fixed ClassDriver AudioOutput demo not selecting an audio output mode.
|
|
|
|
| |
of the HID Host Class driver when Report protocol is not needed.
|
|
|
|
| |
using the incorrect mode (control/pipe) to send report to the attached device.
|
|
|
|
|
|
|
|
| |
checking for sytax errors in the library.
MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs.
Added beginnings of a MIDI class bootloader.
|
|
|
|
| |
device does not have a device ID (thanks to Andrei Krainev).
|
|
|
|
| |
Make HID item filtering routines clearer in the HID WithParser demos.
|
| |
|
|
|
|
| |
but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition.
|
|
|
|
| |
to keep track of the largest report the device can send for buffer allocation purposes. Change MouseHostWithParser and KeyboardHostWithParser demos to only allocate the needed number of bytes.
|
|
|
|
| |
Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
|
|
|
|
| |
Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.
|
|
|
|
| |
protocol now works, still need to finish and test report protocol mode.
|
|
|
|
|
|
|
|
| |
is frozen.
Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID.
More additions to the unfinished HID Host Class Driver.
|
|
|
|
|
|
| |
peripherals connected to the BUMBLEB board.
Added flag to the HID Host Class driver to indicate the currently selected reporting protocol.
|
|
|
|
|
|
| |
return codes used in comparison to check for success.
Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
|
|
|
|
| |
correct size (thanks to Thomas Bleeker).
|