aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver
Commit message (Collapse)AuthorAgeFilesLines
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2822-154/+154
|
* Test with -Wextra, fix library warnings due to unused function parameters.Dean Camera2009-12-131-1/+1
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-093-3/+3
| | | | | | | | (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.).
* Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ↵Dean Camera2009-12-081-0/+1
| | | | | | 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.
* Fix newly renamed VirtualSerial demos' include filename references so that ↵Dean Camera2009-12-072-5/+5
| | | | they compile.
* Additional file renames and modifications to change CDC demos to VirtualSerial.Dean Camera2009-12-076-6/+6
|
* Rename CDC demos to VirtualSerial.Dean Camera2009-12-075-0/+0
|
* Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵Dean Camera2009-11-301-0/+2
| | | | data to the attached device.
* Better checking of whether a packet is received in the RNDISEthernetHost ↵Dean Camera2009-11-272-6/+12
| | | | Class driver demo - show busy LED status while packets are being printed out.
* Make the RNDISEthernetHost Class driver demo print out incomming packets ↵Dean Camera2009-11-262-1/+20
| | | | from the attached RNDIS device.
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-266-0/+2586
| | | | | | | | 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.
* Make the StandaloneProgrammer project seamlessly read out drive contents ↵Dean Camera2009-11-241-1/+1
| | | | from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode.
* Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.Dean Camera2009-11-231-3/+3
|
* Fixed LowLevel Keyboard demo not saving the issued report only after it has ↵Dean Camera2009-11-202-2/+2
| | | | | | been written to the endpoint. Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
* Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean Camera2009-11-1310-20/+20
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Added new stream creation function to the CDC Class drivers, to easily make ↵Dean Camera2009-11-101-22/+0
| | | | standard streams from CDC Class driver instances.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-093-3/+3
|
* Fixed HID host Class driver report send/receive report broken when issued ↵Dean Camera2009-11-092-2/+0
| | | | | | | | 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.
* Add optional pipe double banking support to the Host mode Class drivers.Dean Camera2009-11-079-0/+29
| | | | 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-061-3/+8
| | | | 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 Class driver.Dean Camera2009-11-046-0/+2582
| | | | | | Added new Printer Host mode ClassDriver demo. Added table of supported classes and modes to the main USB Class Driver documentation.
* Add support for Mouse Scrollwheel to the MouseHostWithParser demos.Dean Camera2009-11-043-4/+22
|
* Added new JoystickHostWithParser demos to the library.Dean Camera2009-11-047-4/+2675
| | | | Add some missing documentation to some of the library demos.
* Rename the AT90USBXXX67 internal driver directory to AVRU4U6U7.Dean Camera2009-11-034-7/+34
|
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-168-8/+8
|
* Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean Camera2009-10-128-24/+16
| | | | Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.
* Added stdio.h stream examples for the virtual CDC UART in the CDC host demos.Dean Camera2009-10-111-0/+21
| | | | Removed accidental reference to the incomplete MIDI class bootloader in the Bootloader folder makefile.
* Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean Camera2009-10-086-0/+2619
| | | | | | 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.
* Application documentation/comment cleanup.Dean Camera2009-10-087-7/+7
|
* Added new HID_HOST_BOOT_PROTOCOL_ONLY compile time token to reduce the size ↵Dean Camera2009-09-302-0/+2
| | | | of the HID Host Class driver when Report protocol is not needed.
* Fix missing semicolons in the *WithParser Host mode demos.Dean Camera2009-09-292-2/+2
|
* Remove old OTG demo directory with useless TestApp demo. Add new DualRole ↵Dean Camera2009-09-295-5/+5
| | | | directory with new Class Driver powered Mouse dual role demonstration application showing a dual role device using the HID host/device Class drivers.
* Doxygen fixes to \param directives to give data direction in all projects. ↵Dean Camera2009-09-242-23/+13
| | | | Make HID item filtering routines clearer in the HID WithParser demos.
* Fix incorrect names for the HID Host protocol setting routines.Dean Camera2009-09-244-4/+4
|
* Fix broken Host ClassDriver MouseHostWithParser demo.Dean Camera2009-09-221-1/+1
|
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-222-4/+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-212-2/+2
| | | | 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-2113-10/+5299
| | | | Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
* Add const qualifiers to Host mode Class drivers.Dean Camera2009-09-211-8/+10
| | | | 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.
* Add KeyboardHost HID Host Class driver demo to the library.Dean Camera2009-09-207-3/+2589
|
* Finish Class Driver MouseHost demo. Update HID Host Class driver; boot ↵Dean Camera2009-09-202-6/+80
| | | | 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-202-2/+34
| | | | | | | | 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-171-6/+1
| | | | | | 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-171-0/+8
| | | | | | 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.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-094-8/+2
| | | | | | 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.
* Add Host mode Class driver demo summaries.Dean Camera2009-09-093-0/+199
|
* Finish Still Image Host class driver.Dean Camera2009-09-091-1/+9
|
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-064-120/+188
| | | | | | | | 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.
* Changed Still Image Host class driver to auto-fill TransactionID element of ↵Dean Camera2009-09-061-2/+4
| | | | | | | | 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-021-1/+21
| | | | | | 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".