- 07 Nov, 2009 1 commit
-
-
Dean Camera authored
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.
-
- 08 Oct, 2009 1 commit
-
-
Dean Camera authored
-
- 24 Sep, 2009 1 commit
-
-
Dean Camera authored
-
- 21 Sep, 2009 1 commit
-
-
Dean Camera authored
Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
-
- 20 Sep, 2009 3 commits
-
-
Dean Camera authored
-
Dean Camera authored
Finish Class Driver MouseHost demo. Update HID Host Class driver; boot protocol now works, still need to finish and test report protocol mode.
-
Dean Camera authored
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.
-
- 17 Sep, 2009 2 commits
-
-
Dean Camera authored
Added support for the officially recommended layout of the external peripherals connected to the BUMBLEB board. Added flag to the HID Host Class driver to indicate the currently selected reporting protocol.
-
Dean Camera authored
Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function 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.
-
- 31 Aug, 2009 1 commit
-
-
Dean Camera authored
Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() function so that it now performs size checks and data validations internally, to simplify user code.
-
- 11 Aug, 2009 3 commits
-
-
Dean Camera authored
Remove stray state variable from the CDC host class driver.
-
Dean Camera authored
Fixed swapped paremeters in the HID state memory copy call while processing 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.
-
Dean Camera authored
Fix issue in CDC device class driver where received data the size of the 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.
-
- 06 Aug, 2009 1 commit
-
-
Dean Camera authored
Make Endpoint control transfers more reliable; early-abort when an 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.
-
- 05 Aug, 2009 1 commit
-
-
Dean Camera authored
Renamed all library events to properly seperate out Device and Host mode 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.
-
- 02 Aug, 2009 1 commit
-
-
Dean Camera authored
Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
-
- 27 Jul, 2009 4 commits
-
-
Dean Camera authored
State information for class drivers is now zeroed out during enumeration (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.
-
Dean Camera authored
Collapse configuration descriptor size retrieval and size testing into a single if statement within the new host mode class driver demos for clarity.
-
Dean Camera authored
Change Host mode class driver Pipe configuration routines -- better to let the application fetch the configuration descriptors once, and then pass them to each class driver in turn.
-
Dean Camera authored
Add new MouseHost Class Driver demo, unfinished, to allow for better testing of the new prototype Host Mode Class Driver framework. Flesh out start of a HID class Host mode class driver.
-
- 26 Jul, 2009 1 commit
-
-
Dean Camera authored
Completed host CDC class driver enumeration code.
-
- 21 Jul, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
Add explicit guards to all device mode tasks to ensure the device is 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.
-
- 19 Jul, 2009 2 commits
-
-
Dean Camera authored
Don't send terminal RESET codes via serial - just set the foreground colour and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
-
Dean Camera authored
Use sane ANSI terminal escape codes for the Host mode demos, so that they do not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
-
- 26 Jun, 2009 1 commit
-
-
Dean Camera authored
Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
-
- 19 Jun, 2009 1 commit
-
-
Dean Camera authored
Re-add in simple scheduler for compatibility with legacy code, mark all scheduler related files as deprecated.
-
- 18 Jun, 2009 1 commit
-
-
Dean Camera authored
Break device mode class driver interfaces into seperate config and state structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
-
- 15 Jun, 2009 1 commit
-
-
Dean Camera authored
Enhanced class drivers to use the same public/private section seperations as other portions of the library.
-
- 14 Jun, 2009 1 commit
-
-
Dean Camera authored
Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
-
- 09 Jun, 2009 1 commit
-
-
Dean Camera authored
Copy over schedulerless host demos to ClassDrivers directory, for later modification to new Host mode USB class drivers.
-
- 08 Jun, 2009 1 commit
-
-
Dean Camera authored
Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments.
-
- 05 Jun, 2009 1 commit
-
-
Dean Camera authored
-
- 18 May, 2009 1 commit
-
-
Dean Camera authored
Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley). Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code. Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
-
- 15 May, 2009 1 commit
-
-
Dean Camera authored
Create a new function pointer type in StreamCallbacks.h for endpoint/pipe stream callbacks, to make stream function prototypes clearer.
-
- 22 Apr, 2009 1 commit
-
-
Dean Camera authored
USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode rather than having the library pass only partially read header data to the application. The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure. The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent.
-
- 20 Apr, 2009 1 commit
-
-
Dean Camera authored
Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander).
-
- 16 Apr, 2009 1 commit
-
-
Dean Camera authored
Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev). Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length). Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API. Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API. Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel). Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity. Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity. Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway.
-
- 14 Apr, 2009 1 commit
-
-
Dean Camera authored
The USB_Host_SendControlRequest() function no longer automatically selects the Control pipe (pipe 0), so that other control type pipes can be used with the function. The USB Host management task now saves and restores the currently selected pipe before and after the task completes.
-
- 01 Apr, 2009 1 commit
-
-
Dean Camera authored
All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected.
-