Dean Camera
5c274d106b
Fixed USB_USBTask not being called internally in stream transfers between packets when Partial Stream Transfers are used.
...
Remove old unused function prototype in the LowLevel MassStorage device demo.
14 years ago
Dean Camera
110711598a
Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
14 years ago
Dean Camera
0c2ad9eb34
Add missing SVN eol-style property to files where it was missing.
14 years ago
Dean Camera
fdb82cd1e8
Fixed error in the pipe unordered allocation algorithm for the AVR8 devices breaking compatibility with some devices.
14 years ago
Dean Camera
85e85befc4
More endianness porting of the LUFA device mode class drivers.
...
Add endianness information to the class driver and core structure definitions.
Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
14 years ago
Dean Camera
7c7778e3ce
Minor style improvements to the incomplete AndroidAccessoryHost demo.
14 years ago
Dean Camera
3309c00a99
Minor demo/project documentation and style fixes.
14 years ago
Dean Camera
55aadf97d5
Replace blind interface descriptor search in the incomplete AndroidAccessoryHost demo with an intelligent search for the correct interface in the device matching the correct class/subclass/protocol values.
14 years ago
Dean Camera
d9c16402b9
Add missing device deconfiguration-on-error statements to the host mode demos and projects.
14 years ago
Dean Camera
137ce280c1
Updated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task.
...
Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device.
Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*.
Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required.
Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required.
Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
14 years ago
Dean Camera
b775995867
Oops: Fix compile error in the low level KeyboardMouse demo.
14 years ago
Dean Camera
04660d3793
Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface.
14 years ago
Dean Camera
5a580c6854
Pull out Android Accessory Mode functions into a seperate set of files in the incomplete Android Accessory Mode Host demo. Improve Android Accessory Mode protocol support to correctly query the device's supported protocol and send the approriate device information strings.
14 years ago
Dean Camera
75da0d1877
Update AudioInput and AudioOutput Class Driver device mode demos to use a switch statement when selecting the audio request type for clarity.
14 years ago
Dean Camera
dee4bc0973
Fix logic bug in the incomplete Android Accessory Host demo preventing correct detection of an attached Android Accessory Mode device.
14 years ago
Dean Camera
84ddf237db
Oops - Mouse ClassDriver multi-arch demo changes were applied to trunk, rather than the correct branch.
14 years ago
Dean Camera
3bd36f811c
Update Mouse demo to support the UC3 devices in the MultiArchDemos branch.
14 years ago
Dean Camera
ca9f89ce82
Add new "checksource" target to the library makefiles, for automated source file existance checking.
14 years ago
Dean Camera
6599238dab
Remove HID parser information output from the Low Level Host applications using the HID Report parser to simplify them, as this information can now be obtained using the new HIDReportViewer project when required.
14 years ago
Dean Camera
0ec2b55a7c
Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters.
14 years ago
Dean Camera
d8fe01f19a
Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names.
14 years ago
Dean Camera
57eedebd19
Fix Doxygen documentation errors.
14 years ago
Dean Camera
deaab90089
Ensure that only the requested Audio class pipes are mapped to endpoints within the device for a specific Audio Host Class driver instance.
...
Fix const-correctness of the Audio Host Class driver.
14 years ago
Dean Camera
6e0a26083a
Fix bugs in the Host mode Audio class driver.
14 years ago
Dean Camera
1191da7b7b
Add missing AS4 and project description files to the new Audio Host demos.
...
Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
14 years ago
Dean Camera
1f1d0710f3
Add new Audio Class Driver Host demos.
...
Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device.
Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
14 years ago
Dean Camera
567f7ecce0
Fix errors in the Audio device demos and class driver regarding multiple sample frequency support.
14 years ago
Dean Camera
2d778a3ff5
Add additional support files for the new low level AudioInputHost and AudioOutputHost demos.
14 years ago
Dean Camera
85f39a58c5
Move completed low level Audio Host demos into the LowLevel folder from the Incomplete folder.
14 years ago
Dean Camera
2da2b2d9fb
Update incomplete Host mode Audio demos to use the correct class driver Endpoint Sampling Frequency Control value constant.
14 years ago
Dean Camera
1a25b6f5f1
Update the Low Level Audio Input and Audio Output demos to support multiple sample rates.
...
Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.
14 years ago
Dean Camera
7dffa15c16
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
14 years ago
Dean Camera
0210fa5648
Fixed compile errors in the incomplete BluetoothHost demo application (thanks to Timo Lindfors).
14 years ago
Dean Camera
2731c3a8ae
Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates.
...
Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates.
Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed.
Fix broken LowLevel audio demo descriptors.
Minor documentation fixes.
14 years ago
Dean Camera
f01a05415c
Spell check library source code files.
14 years ago
Dean Camera
6d2a08f1b7
Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2.
...
Minor documentation cleanups.
Modify the incomplete AudioInputHost demo for mono audio output.
14 years ago
Dean Camera
68468e0aea
Added new incomplete AudioOutputHost Host LowLevel demo.
14 years ago
Dean Camera
2a26efc691
Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates.
14 years ago
Dean Camera
78cfaac9b4
Remove output files from the incomplete AudioInputHost demo, and improve the logic in the ConfigDescriptor.c device configuration processing routine.
14 years ago
Dean Camera
ea922c98d1
Added new incomplete AudioInputHost Host LowLevel demo.
...
Added missing Audio class control request definitions.
Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
14 years ago
Dean Camera
cc9b190919
Add new USB_Host_SetInterfaceAltSetting() convenience function.
14 years ago
Dean Camera
f0ff633962
Lower the size of the HID report endpoint from 16 bytes to 8 bytes, to allow for Low Speed USB compatibility in the KeyboardMouseMultiReport demo (thanks to Kevin Chernoff).
14 years ago
Dean Camera
24ea531fab
Update MediaController project to remove the Record usage (not often needed) and explicitly declare each usage for maximum clarity.
14 years ago
Dean Camera
3cba88e4c0
Add RNDIS Device support to the Webserver project, so that the files stored on the device can be viewed from a web-browser while the board is plugged into a host machine.
14 years ago
Dean Camera
9d733d44b4
Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver.
...
Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.
14 years ago
Dean Camera
049e930963
Fixed possible invalid program execution when in host mode if corrupt descriptor lengths are supplied by the attached device.
...
Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed.
Add missing documentation to the USB_Device_States_t enum.
14 years ago
Dean Camera
78e58b6d1c
Add incomplete Android Accessory Host LowLevel demo.
14 years ago
Dean Camera
852b5e612d
Remove redundant type information for bitfield elements, other than the signed/unsignedness of the element.
...
Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
14 years ago
Dean Camera
899df7d331
Renamed all low level Endpoint_Read_*, Endpoint_Write_* and Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
...
Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
14 years ago
Dean Camera
8f5ab27dc9
Use the MIN() macro where possible instead of manual "(x < y) ? x : y" constructs.
14 years ago