aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host
Commit message (Collapse)AuthorAgeFilesLines
* 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 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 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-0614-405/+651
| | | | | | | | 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-025-11/+31
| | | | | | 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-3112-20/+20
| | | | 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-3115-225/+178
| | | | 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-308-4/+2467
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-3013-13/+13
|
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-275-277/+242
| | | | | | 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).
* Fix memory corruption in Host mode Mass Storage Class driver.Dean Camera2009-08-272-2/+2
|
* Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵Dean Camera2009-08-261-4/+8
| | | | mode Mass Storage Class driver.
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-261-1/+1
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Oops: Really disable building of Projects/Host/ClassDriver directory in the ↵Dean Camera2009-08-263-2/+55
| | | | | | | | Projects/Host/ makefile. Add more skeleton functions and definitions to the Mass Storage Host mode Class driver. Made Endpoint_Write_DWord_* functions echo the structure of the matching Endpoint routines for clarity.
* More work on the Mass Storage Host mode Class driver.Dean Camera2009-08-261-2/+2
| | | | | | Added ATTR_NON_NULL_PTR_ARG() attributes to the class drivers to improve user code reliability by disallowing explicit NULL pointers as pointer parameters in function calls where the parameter must not be NULL. Disabled building of the Demos/Host/ClassDriver directory until Host Mode Class drivers are complete to prevent build errors in the meantime.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-131-4/+1
|
* Added CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-135-1/+2530
| | | | | | Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
* Add new functions to the HID host class driver, refine HID interface ↵Dean Camera2009-08-114-3/+28
| | | | | | protocol matching. Remove stray state variable from the CDC host class driver.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-113-4/+3
| | | | | | | | | | a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
* Fix issue in CDC device class driver where received data the size of the ↵Dean Camera2009-08-113-1/+12
| | | | | | | | data endpoint could lock up the driver. Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
* Make Benito ping-pong LED code more explicit, using masks of the TX and RX ↵Dean Camera2009-08-071-1/+1
| | | | | | LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask. Fix incorrect event name in MassStorageHost.c.
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-0612-104/+104
| | | | | | incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
* Make Control Endpoint stream transfers more reliable by adding in early ↵Dean Camera2009-08-059-9/+9
| | | | | | | | aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes. Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed. Fix incorrect model compatibility information in the Host LowLevel demo overview text files.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-0525-124/+121
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-022-6/+4
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Fixed report data alignment issues in the MouseHostWithParser demo when X ↵Dean Camera2009-07-281-6/+1
| | | | | | and Y movement data size is not a multiple of 8 bits. Fixed HID Report Descriptor Parser not correctly resetting internal states when a REPORT ID element is encountered.
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-2812-468/+252
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-272-10/+0
| | | | (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
* Collapse configuration descriptor size retrieval and size testing into a ↵Dean Camera2009-07-272-20/+6
| | | | single if statement within the new host mode class driver demos for clarity.
* Change Host mode class driver Pipe configuration routines -- better to let ↵Dean Camera2009-07-272-8/+48
| | | | the application fetch the configuration descriptors once, and then pass them to each class driver in turn.
* Add new MouseHost Class Driver demo, unfinished, to allow for better testing ↵Dean Camera2009-07-276-66/+2478
| | | | of the new prototype Host Mode Class Driver framework. Flesh out start of a HID class Host mode class driver.
* Corrected new Pipe_IsEndpointBound() function.Dean Camera2009-07-261-4/+4
| | | | Completed host CDC class driver enumeration code.
* Added new LEDs_ToggleLEDs() function to the Board LEDs driver.Dean Camera2009-07-242-8/+2
|
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-2114-77/+88
| | | | | | | | | | | | USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
* Add PrinterHost demo to the documentation.Dean Camera2009-07-211-0/+8
|
* Add explicit guards to all device mode tasks to ensure the device is ↵Dean Camera2009-07-212-6/+9
| | | | connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
* Ensure control pipe is selected in the PrinterHost demo before trying to ↵Dean Camera2009-07-202-2/+7
| | | | send control requests.
* Change Doxygen configuration files to not produce 4096 directories for the ↵Dean Camera2009-07-2010-10/+10
| | | | | | documentation files -- the LUFA components do not generate enough documentation files to justify the large performance hit of creating so many directories. Fix missing Doxygen documentation in the Class Driver Mass Storage Device demo.
* Added missing DoxyGen configuration file to the PrinterHost demo.Dean Camera2009-07-202-2/+1490
|
* Added extra DoxyGen documentation to the new PrinterHost demo.Dean Camera2009-07-205-5/+103
|
* Add PrinterHost to the project file and Host LowLevel directory makefile.Dean Camera2009-07-203-7/+13
|
* Moved PrinterHost demo from Incomplete to LowLevel, as it is now near-complete.Dean Camera2009-07-207-0/+0
|
* Fixed PrinterHost demo Printer_GetDeviceID() routine not removing the Device ↵Dean Camera2009-07-203-8/+11
| | | | | | ID string length from the start of the returned array (thanks to John Andrews). Fixed error in new pipe stream function template system not setting the right device token for R/W operations (also thanks to John Andrews).
* Remove ClearPipeStall routine from the StillImageHost demo, as there is now ↵Dean Camera2009-07-203-27/+3
| | | | a version of the function built into the library itself.
* Cleaner solution to the PrinterHost data send routine problem of embedded ↵Dean Camera2009-07-203-9/+20
| | | | NULLs - use a special structure to hold the data string plus the length in bytes of the data.