- 06 May, 2010 1 commit
-
-
Dean Camera authored
Ensure that the CDC class drivers return 0 if the number of unread bytes is queried and the bank has become empty.
-
- 11 Feb, 2010 1 commit
-
-
Dean Camera authored
Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
-
- 01 Feb, 2010 1 commit
-
-
Dean Camera authored
Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
-
- 28 Jan, 2010 1 commit
-
-
Dean Camera authored
Be doubly-certain that the incomming CDC class driver's endpoint/pipe is flushed only once when the bank is empty.
-
- 25 Jan, 2010 1 commit
-
-
Dean Camera authored
Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe.
-
- 04 Jan, 2010 1 commit
-
-
Dean Camera authored
-
- 30 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 28 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 30 Nov, 2009 1 commit
-
-
Dean Camera authored
Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent data to the attached device.
-
- 26 Nov, 2009 2 commits
-
-
Dean Camera authored
Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints.
-
Dean Camera authored
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.
-
- 25 Nov, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
-
- 23 Nov, 2009 1 commit
-
-
Dean Camera authored
The incomplete StandaloneProgrammer project now uses Host and Device Mass storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick. The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR). The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only. The USB_MODE_HOST token is now defined even when host mode is not available. Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
-
- 12 Nov, 2009 1 commit
-
-
Dean Camera authored
-
- 10 Nov, 2009 2 commits
-
-
Dean Camera authored
Update CDC Class Driver character stream functions to use the correct avr-libc return codes for errors and EOF. Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.
-
Dean Camera authored
Added new stream creation function to the CDC Class drivers, to easily make standard streams from CDC Class driver instances.
-
- 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.
-
- 06 Nov, 2009 1 commit
-
-
Dean Camera authored
Add double banking property to LUFA powered projects in the Projects directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
-
- 03 Nov, 2009 1 commit
-
-
Dean Camera authored
Add new manual pages detailing the advantages of LUFA over the official Atmel USB AVR stack, and reasons why LUFA should be used over a built-from-scratch USB stack.
-
- 30 Sep, 2009 1 commit
-
-
Dean Camera authored
Removed mostly useless "TestApp" demo, as it was mainly useful only for checking for sytax errors in the library. MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs. Added beginnings of a MIDI class bootloader.
-
- 21 Sep, 2009 1 commit
-
-
Dean Camera authored
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.
-
- 14 Sep, 2009 1 commit
-
-
Dean Camera authored
Fixed MIDI Device Class driver not sending/receiving MIDI packets of the correct size (thanks to Thomas Bleeker).
-
- 09 Sep, 2009 1 commit
-
-
Dean Camera authored
Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out 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.
-
- 02 Sep, 2009 1 commit
-
-
Dean Camera authored
Add StillImage Host Class Driver functions for opening and closing sessions. 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".
-
- 31 Aug, 2009 1 commit
-
-
Dean Camera authored
-
- 30 Aug, 2009 1 commit
-
-
Dean Camera authored
Re-enabled building of the Host mode demos ClassDriver directory.
-
- 11 Aug, 2009 3 commits
-
-
Dean Camera authored
Remove stray state variable from the CDC host class driver.
-
Dean Camera authored
Adjustments to the CDC and MIDI device class drivers to use sizeof() on the actual variable being transmitted or received rather than its datatype to reduce possible mistakes.
-
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.
-
- 05 Aug, 2009 1 commit
-
-
Dean Camera authored
-
- 27 Jul, 2009 3 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
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.
-
- 13 Jul, 2009 1 commit
-
-
Dean Camera authored
Added new HOST_STATE_WaitForDeviceRemoval host state machine state for non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state. Added verbose documentation for each of the USB Host state machine states.
-
- 23 Jun, 2009 1 commit
-
-
Dean Camera authored
Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
-
- 20 Jun, 2009 1 commit
-
-
Dean Camera authored
Added USE_INTERNAL_SERIAL compile time option to automatically read out the internal unique serial number as the device's serial number descriptor on supported AVR models.
-
- 19 Jun, 2009 2 commits
-
-
Dean Camera authored
Extend USB_GetDeviceConfigDescriptor() routine to require the configuration number within the device to fetch, to add support for multi-configuration devices.
-
Dean Camera authored
Re-add in simple scheduler for compatibility with legacy code, mark all scheduler related files as deprecated.
-