aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/AndroidAccessoryHost
Commit message (Collapse)AuthorAgeFilesLines
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-082-168/+138
| | | | | | | | | | | | | | 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.
* Pull out Android Accessory Mode functions into a seperate set of files in ↵Dean Camera2011-06-305-25/+196
| | | | 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.
* Fix logic bug in the incomplete Android Accessory Host demo preventing ↵Dean Camera2011-06-272-1/+4
| | | | correct detection of an attached Android Accessory Mode device.
* Add new "checksource" target to the library makefiles, for automated source ↵Dean Camera2011-06-201-2/+10
| | | | file existance checking.
* Add missing SVN eol-style properties to source files to prevent mixed ↵Dean Camera2011-06-168-2978/+2978
| | | | end-of-line characters.
* Spell check library source code files.Dean Camera2011-06-011-1/+1
|
* Fixed possible invalid program execution when in host mode if corrupt ↵Dean Camera2011-05-141-1/+1
| | | | | | | | 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.
* Add incomplete Android Accessory Host LowLevel demo.Dean Camera2011-05-138-0/+2978