Dean Camera
eb2e883fd3
Added Class, ClassDevice, ClassHost and ClassCommon to the internal class driver source filenames to prevent ambiguities.
13 years ago
Dean Camera
3e04487279
Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver (thanks to Laszlo Monda).
13 years ago
Dean Camera
e30be658c9
Add missing SVN eol-style property to ensure that source code line endings and converted to the native values on checkout.
13 years ago
Dean Camera
6519aaa571
Fix incorrect Android Accessory Host interface descriptor subclass value (thanks to Opendous Inc.).
13 years ago
Dean Camera
c9e817ff47
Fixed port state table corruption in the TCP layer of the RNDIS Ethernet device demos.
...
Fix additional warnings under GCC 4.6.
13 years ago
Dean Camera
6553bf5bfb
Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.
13 years ago
Dean Camera
022fa26b43
Fix missing C++ linkage command in ArchitectureSpecific.h.
...
Fix missing closing brace in an Endpoint function for the UC3 targets.
13 years ago
Dean Camera
b5682f2c44
Add project name to the Doxygen makefile target output.
13 years ago
Dean Camera
aae59857a2
Add const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC compiler versions.
13 years ago
Dean Camera
8b420566cd
Fix Class Driver GenericHID demo using the wrong size for the returned reports.
13 years ago
Dean Camera
a233109909
Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host.
...
Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons).
Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage.
Minor documentation corrections.
14 years ago
Dean Camera
2d9f98b592
Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro.
14 years ago
Dean Camera
d0ac8e46f9
Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().
...
Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines.
Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values.
Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
14 years ago
Dean Camera
3478178127
Add shortcuts to SwapEndian_16() and SwapEndian_32() internal functions to improve optimization if called with constant inputs.
14 years ago
Dean Camera
c505ba047f
Set HOST_DEVICE_SETTLE_DELAY_MS to zero for the incomplete AndroidAccessoryHost demo to prevent a timeout on the Android device from aborting Accessory mode after a command it sent to switch modes (thanks to Opendous Inc).
14 years ago
Dean Camera
aceb015ea7
Fixed incorrect Dataflash buffer use in the DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden).
14 years ago
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