Commit Graph

260 Commits

Author SHA1 Message Date
Dean Camera
e368a89987 Update copyrights for 2014. 2014-01-04 10:45:02 +11:00
László Monda
ef1a4b750b Use spaces instead of tabs wherever necessary to fix indentation. 2013-09-24 11:19:42 +02:00
Dean Camera
aded8373cc Fixed error receiving PIMA events via the Still Image Host class driver. 2013-08-23 22:59:58 +02:00
Dean Camera
7941245122 Ensure core library documentation sections use unique IDs. 2013-06-01 21:55:31 +02:00
Dean Camera
8474262728 Simplify the Doxygen to Docbook XML transform. 2013-05-19 20:20:08 +02:00
Dean Camera
0223c3668c Update Android Accessory Class driver to be compatible with protocol version 2 devices. 2013-05-10 21:45:37 +02:00
Dean Camera
188dea87e3 Oops - fix function prototype attribute. 2013-04-11 17:54:41 +00:00
Dean Camera
334f70aa80 Add some missing function attributes. 2013-04-11 17:39:00 +00:00
Dean Camera
03cdb09071 Minor documentation improvements. 2013-03-18 19:24:55 +00:00
Dean Camera
fa2a8fca69 Fixed potential NULL pointer dereference in the HID Host mode Class Driver (thanks to Pavel Kuzmin). 2013-02-27 19:57:28 +00:00
Dean Camera
cfa48f5987 Changed all *_SendByte() function prototypes to accept a void pointer for the input buffer (thanks to Simon Küppers) instead of a uint8_t pointer. 2013-02-24 15:46:58 +00:00
Dean Camera
300a05d6c6 Remove CPPCheck suppressions for unused functions, disable checking for them in the StaticAnalysisTest build test as it can't cope with GCC aliasing and mixed library/application code. 2013-02-05 20:57:49 +00:00
Dean Camera
de0df8b162 Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
Dean Camera
eee252603b Minor documentation improvements. 2012-10-05 20:22:19 +00:00
Dean Camera
badbca5791 Fixed endianess issues in the RNDIS host class driver for UC3 devices (thanks to Andrew Chu). Fix broken build for UC3 devices when ORDERED_EP_CONFIG compile time option is set. 2012-07-22 13:32:39 +00:00
Dean Camera
ef06eefc8b Add svn:eol-style property on all source files where it was missing. Fix line endings of all makefile, *.c and *.h files. 2012-06-21 20:27:00 +00:00
Dean Camera
c4ebddd27a Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms. 2012-06-12 19:49:15 +00:00
Dean Camera
3808f5c36d Spell check source code, fix mistakes. 2012-06-09 20:33:56 +00:00
Dean Camera
82162c710c Additional fixes to the MIDI host driver due to not unfreezing/re-freezing pipes correctly (thanks to Michael Brown). 2012-05-20 13:04:26 +00:00
Dean Camera
1007317c5f Fixed broken MIDI host driver MIDI_Host_ReceiveEventPacket() function due to not unfreezing the MIDI data IN pipe before use (thanks to Michael Brown). 2012-05-06 11:11:33 +00:00
Dean Camera
47f6a35013 Reintegrate the FullEPAddresses development branch into trunk. 2012-04-14 14:41:17 +00:00
Dean Camera
00b6b0140f Re-enable cppcheck static analysis unused function checks after adding in special-case suppressions to the event stub functions. Add missing function prototypes to the AudioInput and AudioOutput class driver device demos. 2012-03-25 12:12:08 +00:00
Dean Camera
e406140f11 Minor documentation fixes - change \note entries to \warning where appropriate and remove/update old documentation. 2012-02-24 20:25:36 +00:00
Dean Camera
4068efbd18 Remove potentially unaligned uint32_t access in HIDParser.c, replace with standard C bit shifts. 2012-02-20 18:47:25 +00:00
Dean Camera
50ff97f378 All USB Class Driver configuration struct values are now non-const, to allow for run-time modifications if required before configuring an instance. 2012-02-19 15:24:05 +00:00
Dean Camera
f1b6ddb710 Update file contributor copyrights for 2012. 2012-02-04 22:38:44 +00:00
Dean Camera
2c806f6cee Update file header copyrights for 2012. 2012-02-04 22:32:30 +00:00
Dean Camera
fc4d3ab400 Minor documentation improvements. 2012-02-01 21:28:25 +00:00
Dean Camera
f201f6697b Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line. 2011-12-23 01:51:39 +00:00
Dean Camera
676de74d9b Don't validate the Device Descriptor's vendor ID when validating that a device is an Android Accessory device; the Product ID and (later) Accessory protocol support is enough to probe AOA class support without having to maintain a list of Android device manufacture VID values. 2011-12-14 02:52:42 +00:00
Dean Camera
0c59d5993e Altered the Mass Storage Host class driver so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
Altered the Mass Storage Host LowLevel demo so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
2011-12-01 08:39:43 +00:00
Dean Camera
70f3d8e933 Add support for the Paranoid Studio USB2AX boards (hardware revisions 1-3). 2011-11-28 23:43:58 +00:00
Dean Camera
7f8dbb4908 Convert the LowLevel AndroidAccessory demo to use the new class driver constants to reduce code duplication.
Add missing Doxygen documentation.
2011-11-24 01:31:31 +00:00
Dean Camera
8b5aa61601 Add new Android Open Accessory class driver to the library core and add a new Android Open Accessory Host ClassDriver demo. 2011-11-24 01:24:01 +00:00
Dean Camera
eb2e883fd3 Added Class, ClassDevice, ClassHost and ClassCommon to the internal class driver source filenames to prevent ambiguities. 2011-11-18 06:26:51 +00:00
Dean Camera
f1543ae8ff Fixed CDC class drivers not saving and sending all 16-bits of the control line states (thanks to Matthew Swabey). 2011-10-26 06:51:07 +00:00
Dean Camera
77dbfd3cc4 Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with that meta-attribute are not discarded by the linker.
Add missing function and definition documentation.
2011-09-22 05:55:32 +00:00
Dean Camera
99ff27e403 Fixed HID Parser's largest report size bit count not including the size of the last parsed report item.
Fixed HID host driver's largest HID report size count corrupt when the number of report bits exceeds 255.
2011-09-17 13:07:21 +00:00
Dean Camera
dc9133ad21 Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where it is used. 2011-08-28 03:44:22 +00:00
Dean Camera
3b898ae178 Remove redundant prototype for Audio_Host_StartStopStreaming() and Audio_Host_GetSetEndpointProperty(). Update host mode Audio class inline functions to prevent unused parameter warnings. 2011-08-28 01:40:36 +00:00
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.
2011-08-24 09:50:21 +00:00
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. 2011-07-19 07:02:19 +00:00
Dean Camera
7207b05695 Add missing function attributes. 2011-07-12 05:13:31 +00:00
Dean Camera
c029d72b94 More endianness porting of the LUFA host mode class drivers. 2011-07-11 10:44:34 +00:00
Dean Camera
6c4f736793 Minor documentation and style fixes. 2011-07-11 05:51:04 +00:00
Dean Camera
9ea22ebf41 Fix HID_Host_SetIdlePeriod() function to send the correct request type to the device, remove reference to unavailable (and not needed) local variable. 2011-07-05 00:28:35 +00:00
Dean Camera
5b06886dab Add missing function parameter to the new HID_Host_SetIdlePeriod() function. 2011-07-04 09:22:40 +00:00
Dean Camera
258381e760 Add missing function parameter to the new HID_Host_SetIdlePeriod() function. 2011-07-04 09:22:02 +00:00
Dean Camera
61861c548e Added new HID_Host_SetIdlePeriod() function to the HID Host Class driver. 2011-07-04 09:18:50 +00:00
Dean Camera
5d7827a573 Minor internal macro renaming for the UC3 devices. 2011-06-20 13:08:27 +00:00