aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix incorrect names for the HID Host protocol setting routines.Dean Camera2009-09-244-4/+4
|
* Fix more build errors in the LowLevel "WithParser" HID Host demos.Dean Camera2009-09-222-2/+2
|
* 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-224-9/+17
| | | | 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-2115-14/+5303
| | | | 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.
* 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-0914-28/+12
| | | | | | 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 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.