aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class
Commit message (Collapse)AuthorAgeFilesLines
* Make RNDISHost demo validate the set Packet Filter to ensure that it is ↵Dean Camera2009-11-171-5/+5
| | | | | | 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.
* Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean Camera2009-11-152-25/+39
| | | | driver.
* Add blocking versions of the CDC Class driver streams, for applications ↵Dean Camera2009-11-124-0/+51
| | | | requiring blocking reads.
* Add beginnings of a RNDIS Ethernet Host demo.Dean Camera2009-11-122-24/+22
|
* Update CDC Class Driver character stream functions to use the correct ↵Dean Camera2009-11-102-6/+4
| | | | | | 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.
* Added new stream creation function to the CDC Class drivers, to easily make ↵Dean Camera2009-11-104-0/+72
| | | | standard streams from CDC Class driver instances.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-0919-44/+44
|
* Fixed HID host Class driver report send/receive report broken when issued ↵Dean Camera2009-11-095-29/+30
| | | | | | | | 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.
* Make Low Level host demos use void pointers for the configuration ↵Dean Camera2009-11-078-0/+32
| | | | | | 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.
* Add optional pipe double banking support to the Host mode Class drivers.Dean Camera2009-11-0713-28/+54
| | | | 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.
* Add double banking property to LUFA powered projects in the Projects ↵Dean Camera2009-11-062-4/+7
| | | | directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-0611-16/+28
| | | | per-endpoint, per-interface level.
* Add other missing Printer.h main class driver dispatch file.Dean Camera2009-11-041-0/+63
|
* Add missing Printer.h common class driver file.Dean Camera2009-11-041-0/+71
|
* Added new Printer Host mode Class driver.Dean Camera2009-11-049-40/+495
| | | | | | Added new Printer Host mode ClassDriver demo. Added table of supported classes and modes to the main USB Class Driver documentation.
* Fixed HID report parser collection paths invalid due to misplaced semicolon ↵Dean Camera2009-11-042-34/+10
| | | | in the free path item search loop. Increased the default number of collection paths allowable by the parser.
* Rename the AT90USBXXX67 internal driver directory to AVRU4U6U7.Dean Camera2009-11-032-3/+3
|
* Add const attribute to class driver APIs.Dean Camera2009-11-0311-41/+41
| | | | 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.
* Make HID device class driver ignore the previous HID report comparison ↵Dean Camera2009-10-262-5/+15
| | | | buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.
* Make HID device class driver reselect the correct endpoint after the user ↵Dean Camera2009-10-261-0/+3
| | | | callbacks have fired.
* Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean Camera2009-10-0810-43/+375
| | | | | | 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.
* Fix accidentally changed code breaking the HID descriptor parser.Dean Camera2009-10-051-2/+1
|
* Changed Audio Class driver sample read/write functions to be inline, to ↵Dean Camera2009-10-033-83/+87
| | | | | | 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.
* Added new HID_HOST_BOOT_PROTOCOL_ONLY compile time token to reduce the size ↵Dean Camera2009-09-302-29/+72
| | | | of the HID Host Class driver when Report protocol is not needed.
* Fixed issue in the HID Host class driver's HID_Host_SendReportByID() routine ↵Dean Camera2009-09-301-1/+1
| | | | using the incorrect mode (control/pipe) to send report to the attached device.
* Removed mostly useless "TestApp" demo, as it was mainly useful only for ↵Dean Camera2009-09-301-0/+2
| | | | | | | | 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.
* Fixed PrinterHost demo returning invalid Device ID data when the attached ↵Dean Camera2009-09-281-1/+1
| | | | device does not have a device ID (thanks to Andrei Krainev).
* Doxygen fixes to \param directives to give data direction in all projects. ↵Dean Camera2009-09-241-1/+1
| | | | Make HID item filtering routines clearer in the HID WithParser demos.
* Fix incorrect names for the HID Host protocol setting routines.Dean Camera2009-09-242-6/+6
|
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-222-0/+4
| | | | 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.
* Add new attributes to the HID Report Parser and HID Host Mode Class driver ↵Dean Camera2009-09-214-6/+21
| | | | 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.
* Finish initial draft of the Host Mode HID Class driver.Dean Camera2009-09-213-69/+78
| | | | Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
* Add const qualifiers to Host mode Class drivers.Dean Camera2009-09-2110-105/+113
| | | | 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.
* Oops - Keyboard boot report structure should be an array of 6 keycodes.Dean Camera2009-09-201-1/+1
|
* Finish Class Driver MouseHost demo. Update HID Host Class driver; boot ↵Dean Camera2009-09-203-31/+17
| | | | protocol now works, still need to finish and test report protocol mode.
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-206-18/+210
| | | | | | | | 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.
* Added support for the officially recommended layout of the external ↵Dean Camera2009-09-172-4/+12
| | | | | | peripherals connected to the BUMBLEB board. Added flag to the HID Host Class driver to indicate the currently selected reporting protocol.
* Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function ↵Dean Camera2009-09-177-19/+124
| | | | | | 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.
* Fixed MIDI Device Class driver not sending/receiving MIDI packets of the ↵Dean Camera2009-09-144-5/+5
| | | | correct size (thanks to Thomas Bleeker).
* Revert changed CDC_Device_Flush() prototype accidentially changed in the ↵Dean Camera2009-09-101-1/+3
| | | | last commit.
* Prevent the CDC Device Class driver from sending empty IN packets on every ↵Dean Camera2009-09-103-14/+18
| | | | service task call - only send termination packets when data is in the endpoint.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-096-33/+52
| | | | | | 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.
* Change HID report parser so that it can calculate and record the sizes (IN, ↵Dean Camera2009-09-092-20/+66
| | | | | | OUT and FEATURE) of each report within the device, by report ID. This will be required in host mode, so that the host can determine how many bytes of data must be read in for each report. Add to MouseHostWithParser and KeyboardHostWithParser demos to print out the report sizes when a valid device is connected.
* Finish Still Image Host class driver.Dean Camera2009-09-094-21/+104
|
* Changed Still Image Host class driver to auto-fill TransactionID element of ↵Dean Camera2009-09-062-14/+44
| | | | | | | | sent headers depending on the current session state. CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker). The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-0210-131/+167
| | | | | | 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".
* Add user-filtering to the HID report parser, so that the user code can ↵Dean Camera2009-09-022-54/+49
| | | | decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.
* Changed HIDParser to only zero out important values in the Parsed HID Report ↵Dean Camera2009-09-011-2/+7
| | | | Item Information structure to save cycles.
* Added documentation for the constants and enums of the new StillImage Host ↵Dean Camera2009-09-013-27/+37
| | | | Class driver added to the library so far.
* Fixed StillImageHost not correctly freezing and unfreezing data pipes while ↵Dean Camera2009-09-014-10/+171
| | | | | | waiting for a response block header. Added basic PIMA commands to the StillImage Host Class driver - need to extend to PIMA specific command functions.