summaryrefslogtreecommitdiff
path: root/Demos/Host
AgeCommit message (Collapse)Author
2012-02-19Add tag for the 120219 release.LUFA-120219Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/tags/LUFA-120219@2061 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-14Don't validate the Device Descriptor's vendor ID when validating that a ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2005 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-01Altered the Mass Storage Host class driver so that SCSI data STALLs from the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2001 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-28Remove unnecessary ErrorCode variable initializations from the LowLevel Host ↵Dean
mode demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1995 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-24Convert the LowLevel AndroidAccessory demo to use the new class driver ↵Dean
constants to reduce code duplication. Add missing Doxygen documentation. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1989 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-24Add new Android Open Accessory class driver to the library core and add a ↵Dean
new Android Open Accessory Host ClassDriver demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1988 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-23Update library to indicate support for the Android Accessory Host demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1986 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-23Move out Android Accessory Host demo to the Host mode LowLevel directory now ↵Dean
that it is functionally complete. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1985 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-23Add const-correctness to the Android_SendString() function of the Android ↵Dean
Accessory Host demo. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1984 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-23Fix interface protocol match value for the Android Accessory Host demo ↵Dean
interface configuration parser code (thanks to Opendous Inc.). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1982 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-09Add missing SVN eol-style property to ensure that source code line endings ↵Dean
and converted to the native values on checkout. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1975 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-10-28Fix incorrect Android Accessory Host interface descriptor subclass value ↵Dean
(thanks to Opendous Inc.). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1954 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-10-09Fixed port state table corruption in the TCP layer of the RNDIS Ethernet ↵Dean
device demos. Fix additional warnings under GCC 4.6. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1940 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-09-21Add project name to the Doxygen makefile target output.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1930 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-08-24Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1914 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-08-22Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1911 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-08-09Set HOST_DEVICE_SETTLE_DELAY_MS to zero for the incomplete ↵Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1902 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-19Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean
ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1895 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-15Add missing SVN eol-style property to files where it was missing.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1887 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-11Minor style improvements to the incomplete AndroidAccessoryHost demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1857 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-11Minor demo/project documentation and style fixes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1853 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-10Replace blind interface descriptor search in the incomplete ↵Dean
AndroidAccessoryHost demo with an intelligent search for the correct interface in the device matching the correct class/subclass/protocol values. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1852 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-08Add missing device deconfiguration-on-error statements to the host mode ↵Dean
demos and projects. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1851 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-08Updated all host mode demos and projects to use the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1850 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-30Pull out Android Accessory Mode functions into a seperate set of files in ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1835 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-27Fix logic bug in the incomplete Android Accessory Host demo preventing ↵Dean
correct detection of an attached Android Accessory Mode device. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1824 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-20Add new "checksource" target to the library makefiles, for automated source ↵Dean
file existance checking. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1821 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-20Remove HID parser information output from the Low Level Host applications ↵Dean
using the HID Report parser to simplify them, as this information can now be obtained using the new HIDReportViewer project when required. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1813 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-16Add missing SVN eol-style properties to source files to prevent mixed ↵Dean
end-of-line characters. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1805 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-16Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean
they contain the USB mode (Device or Host) in the function names. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1803 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-14Fix Doxygen documentation errors.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1802 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-13Ensure that only the requested Audio class pipes are mapped to endpoints ↵Dean
within the device for a specific Audio Host Class driver instance. Fix const-correctness of the Audio Host Class driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1799 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-12Fix bugs in the Host mode Audio class driver.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1798 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-09Add missing AS4 and project description files to the new Audio Host demos.Dean
Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1795 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-09Add new Audio Class Driver Host demos.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1794 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-06Add additional support files for the new low level AudioInputHost and ↵Dean
AudioOutputHost demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1786 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-06Move completed low level Audio Host demos into the LowLevel folder from the ↵Dean
Incomplete folder. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1785 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-06Update incomplete Host mode Audio demos to use the correct class driver ↵Dean
Endpoint Sampling Frequency Control value constant. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1784 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Fixed compile errors in the incomplete BluetoothHost demo application ↵Dean
(thanks to Timo Lindfors). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1781 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-03Added new callback to the Audio Class driver to allow for endpoint control ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1779 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-01Spell check library source code files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1777 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-01Fixed incorrect signature in the CDC and DFU class bootloaders for the ↵Dean
ATMEGA8U2. Minor documentation cleanups. Modify the incomplete AudioInputHost demo for mono audio output. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1776 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-30Added new incomplete AudioOutputHost Host LowLevel demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1775 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-30Remove output files from the incomplete AudioInputHost demo, and improve the ↵Dean
logic in the ConfigDescriptor.c device configuration processing routine. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1773 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-29Added new incomplete AudioInputHost Host LowLevel demo.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1771 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-27Add new USB_Host_SetInterfaceAltSetting() convenience function.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1770 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-14Fixed possible invalid program execution when in host mode if corrupt ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1752 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-13Add incomplete Android Accessory Host LowLevel demo.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1751 d5102386-fcda-11dd-9fdb-3debd5008f28