aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel
Commit message (Collapse)AuthorAgeFilesLines
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2865-457/+457
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-132-15/+15
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-0921-28/+28
| | | | | | | | (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-1/+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-073-7/+7
| | | | 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-077-0/+0
|
* Fixed Mass Storage Host Class driver and Low Level demo not clearing the ↵Dean Camera2009-12-041-2/+9
| | | | error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
* Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵Dean Camera2009-12-042-2/+2
| | | | | | | | 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.
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-263-21/+25
| | | | | | | | 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.
* Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.Dean Camera2009-11-251-1/+1
|
* Fix build and Doxygen errors.Dean Camera2009-11-253-7/+7
|
* Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵Dean Camera2009-11-2514-16/+3648
| | | | macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
* Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt ↵Dean Camera2009-11-232-2/+11
| | | | data in the HID Host Parser.
* Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean Camera2009-11-152-8/+2
| | | | driver.
* Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean Camera2009-11-1311-11/+11
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Spell check all source code variables, comments and strings.Dean Camera2009-11-095-6/+6
|
* Remove dependancies from the LowLevel demos to the ClassDriver demos, since ↵Dean Camera2009-11-082-2/+18
| | | | the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.
* Make Low Level host demos use void pointers for the configuration ↵Dean Camera2009-11-0711-11/+11
| | | | | | 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.
* Added new Printer Host mode Class driver.Dean Camera2009-11-042-6/+6
| | | | | | 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-0414-30/+48
|
* Added new JoystickHostWithParser demos to the library.Dean Camera2009-11-0424-38/+3200
| | | | Add some missing documentation to some of the library demos.
* Rename the AT90USBXXX67 internal driver directory to AVRU4U6U7.Dean Camera2009-11-034-10/+33
|
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-1610-10/+10
|
* Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean Camera2009-10-1210-30/+20
| | | | 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/+46
| | | | 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-084-30/+14
| | | | | | 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-0812-13/+10
|
* Add new MIDIHost LowLevel demo application.Dean Camera2009-10-0825-74/+2939
| | | | Make unfinished device mode applications use the VID/PID reserved for LUFA development devices.
* 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-291-1/+1
| | | | directory with new Class Driver powered Mouse dual role demonstration application showing a dual role device using the HID host/device Class drivers.
* Fixed PrinterHost demo returning invalid Device ID data when the attached ↵Dean Camera2009-09-281-1/+7
| | | | 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-242-23/+13
| | | | Make HID item filtering routines clearer in the HID WithParser demos.
* Fix more build errors in the LowLevel "WithParser" HID Host demos.Dean Camera2009-09-222-2/+2
|
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-222-5/+13
| | | | 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.
* Finish initial draft of the Host Mode HID Class driver.Dean Camera2009-09-212-4/+4
| | | | Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
* Fix building of KeyboardHostWithParser and MouseHostWithParser demos broken ↵Dean Camera2009-09-212-8/+16
| | | | by HIDParser API changes.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-099-18/+9
| | | | | | 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-1/+29
| | | | | | 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.
* Add link to third-party signed version of the official FLIP DFU driver for ↵Dean Camera2009-09-071-0/+3
| | | | | | 64-bit Windows OSes to the DFU bootloader readme file. Add HTML anchor links to URLs in the documentation to ensure that they are rendered correctly in the generated documentation.
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-069-270/+424
| | | | | | | | 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.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-024-10/+10
| | | | | | 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-024-0/+50
| | | | decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.
* Fixed error in PrinterHost preventing the full page data from being sent to ↵Dean Camera2009-09-023-23/+11
| | | | the attached device.
* Fixed StillImageHost not correctly freezing and unfreezing data pipes while ↵Dean Camera2009-09-011-8/+5
| | | | | | waiting for a response block header. Added basic PIMA commands to the StillImage Host Class driver - need to extend to PIMA specific command functions.
* Oops - with new changes to the way the device Configuration Descriptor is ↵Dean Camera2009-08-3111-19/+19
| | | | retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters.
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-319-190/+150
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Added start of the Still Image Host Class driver demo and driver code.Dean Camera2009-08-302-3/+3
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-309-9/+9
|
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-274-276/+239
| | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).