Dean Camera
958d28d05d
Better checking of whether a packet is received in the RNDISEthernetHost Class driver demo - show busy LED status while packets are being printed out.
15 years ago
Dean Camera
5e46801096
Complete RNDIS Host Class driver code - add SendPacket function.
...
Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints.
15 years ago
Dean Camera
f6de4db000
Remove documentation of deleted parameters from the RNDIS Host Class driver's device Initialize function.
15 years ago
Dean Camera
04e177b66e
Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common Class driver directory.
15 years ago
Dean Camera
5aa2b26261
Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost 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.
15 years ago
Dean Camera
ab602a8b48
Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.
15 years ago
Dean Camera
50f4a3b625
Fix build and Doxygen errors.
15 years ago
Dean Camera
8c6c27d88b
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.
15 years ago
Dean Camera
c05c7c7df4
Added new XPLAIN serial Bridge project (thanks to John Steggall for the software UART code).
15 years ago
Dean Camera
59ed10273c
Fixed host state machine not enabling Auto VBUS mode when HOST_DEVICE_SETTLE_DELAY_MS is set to zero.
15 years ago
Dean Camera
e4bf986bb3
Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ahead double the expected amount.
...
Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK.
15 years ago
Dean Camera
702bec892d
Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.
15 years ago
Dean Camera
8b009bc113
Added new ReportType parameter to the HID Device Class driver CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
15 years ago
Dean Camera
c438d01f87
Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser.
15 years ago
Dean Camera
aaa0bed556
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.
15 years ago
Dean Camera
6c38ca2890
Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN when the given data length is zero.
15 years ago
Dean Camera
d753512cca
Fix doxygen documentation - doxygen was getting confused on the variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
15 years ago
Dean Camera
9b20114555
Make RNDISHost demo validate the set Packet Filter to ensure that it is being sent correctly.
...
Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
15 years ago
Dean Camera
79e54580ae
Fixed HOST_STATE_AS_GPIOR being ignored whilst in Host mode (thanks to David Lyons).
15 years ago
Dean Camera
ea5236b3e1
Fix incorrect compiler error message when F_CLOCK is not defined by the user (thanks to Dave Lyons).
15 years ago
Dean Camera
21cc9c9e19
Cleanups to the MassStorage Device demos, and the MassStorage Device Class driver.
15 years ago
Dean Camera
588886878e
Corrections, improvements and additions to the incomplete RNDISHost demo.
...
Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position.
15 years ago
Dean Camera
e625fd6df3
Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function to USB_Host_GetDeviceConfigDescriptor().
15 years ago
Dean Camera
652042111c
Add blocking versions of the CDC Class driver streams, for applications requiring blocking reads.
15 years ago
Dean Camera
6a46f0025a
Add beginnings of a RNDIS Ethernet Host demo.
15 years ago
Dean Camera
04774208b6
Minor code cleanups for clarity.
15 years ago
Dean Camera
5de364163f
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.
15 years ago
Dean Camera
c1782ac024
Added new stream creation function to the CDC Class drivers, to easily make standard streams from CDC Class driver instances.
15 years ago
Dean Camera
d6edfe35c8
Spell check all source code variables, comments and strings.
15 years ago
Dean Camera
8bb007f80b
Fixed HID host Class driver report send/receive report broken when issued through the control pipe.
...
Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed.
Remove the HID device parser from the boot protocol Keyboard/Mouse demos.
15 years ago
Dean Camera
4dde844e9f
Remove dependancies from the LowLevel demos to the ClassDriver demos, since the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.
15 years ago
Dean Camera
34dc7f241f
Make Low Level host demos use void pointers for the configuration 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.
15 years ago
Dean Camera
64e5c4084f
Add optional pipe double banking support to the Host mode Class drivers.
...
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.
15 years ago
Dean Camera
f29fc1abc4
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.
15 years ago
Dean Camera
f7ab433c67
Add optional double-banking support to the Device mode Class Drivers, on a per-endpoint, per-interface level.
15 years ago
Dean Camera
1c7aa68596
Add other missing Printer.h main class driver dispatch file.
15 years ago
Dean Camera
4563350628
Add missing Printer.h common class driver file.
15 years ago
Dean Camera
8ba51f090f
Added new Printer Host mode Class driver.
...
Added new Printer Host mode ClassDriver demo.
Added table of supported classes and modes to the main USB Class Driver documentation.
15 years ago
Dean Camera
4670b39070
Fixed HID report parser collection paths invalid due to misplaced semicolon in the free path item search loop. Increased the default number of collection paths allowable by the parser.
15 years ago
Dean Camera
f93f732108
Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where possible to reduce code size and (potentially) allow for centralized status stage timeouts.
...
Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.
15 years ago
Dean Camera
5832bab02f
Rename the AT90USBXXX67 internal driver directory to AVRU4U6U7.
15 years ago
Dean Camera
870591983c
Add const attribute to class driver APIs.
...
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.
15 years ago
Dean Camera
de8c9445d4
Make HID device class driver ignore the previous HID report comparison buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.
15 years ago
Dean Camera
cf610c5c91
Make HID device class driver reselect the correct endpoint after the user callbacks have fired.
15 years ago
Dean Camera
de70f0f1cf
Moved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
15 years ago
Dean Camera
e53c120a22
Fix AudioOutput and AudioInput class driver demos' descriptors -- incorrect value was being supplied in the audio descritors field giving the number of discrete audio formats the device supports.
15 years ago
Dean Camera
c7bc3ec391
Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver 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.
15 years ago
Dean Camera
09575f9607
Fix accidentally changed code breaking the HID descriptor parser.
15 years ago
Dean Camera
046fff2aff
Fix broken Endpoint/Pipe stream templates.
...
Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
15 years ago
Dean Camera
db435c4995
Minor documentation fixups.
15 years ago