aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host
Commit message (Collapse)AuthorAgeFilesLines
...
* Add const-correctness to the Android_SendString() function of the Android ↵Dean Camera2011-11-232-3/+3
| | | | Accessory Host demo.
* Fix interface protocol match value for the Android Accessory Host demo ↵Dean Camera2011-11-231-1/+1
| | | | interface configuration parser code (thanks to Opendous Inc.).
* Add missing SVN eol-style property to ensure that source code line endings ↵Dean Camera2011-11-0927-27/+27
| | | | and converted to the native values on checkout.
* Fix incorrect Android Accessory Host interface descriptor subclass value ↵Dean Camera2011-10-281-1/+1
| | | | (thanks to Opendous Inc.).
* Fixed port state table corruption in the TCP layer of the RNDIS Ethernet ↵Dean Camera2011-10-093-3/+3
| | | | | | device demos. Fix additional warnings under GCC 4.6.
* Add project name to the Doxygen makefile target output.Dean Camera2011-09-2129-29/+29
|
* Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the ↵Dean Camera2011-08-242-6/+24
| | | | | | | | | | 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.
* Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().Dean Camera2011-08-221-1/+1
| | | | | | | | 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.
* Set HOST_DEVICE_SETTLE_DELAY_MS to zero for the incomplete ↵Dean Camera2011-08-091-0/+1
| | | | 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).
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-1916-16/+16
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* Add missing SVN eol-style property to files where it was missing.Dean Camera2011-07-152-157/+157
|
* Minor style improvements to the incomplete AndroidAccessoryHost demo.Dean Camera2011-07-111-2/+2
|
* Minor demo/project documentation and style fixes.Dean Camera2011-07-112-8/+8
|
* Replace blind interface descriptor search in the incomplete ↵Dean Camera2011-07-102-10/+43
| | | | AndroidAccessoryHost demo with an intelligent search for the correct interface in the device matching the correct class/subclass/protocol values.
* Add missing device deconfiguration-on-error statements to the host mode ↵Dean Camera2011-07-088-0/+10
| | | | demos and projects.
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-0856-2965/+2537
| | | | | | | | | | | | | | 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-306-28/+197
| | | | 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-2029-58/+290
| | | | file existance checking.
* Remove HID parser information output from the Low Level Host applications ↵Dean Camera2011-06-203-54/+0
| | | | using the HID Report parser to simplify them, as this information can now be obtained using the new HIDReportViewer project when required.
* Add missing SVN eol-style properties to source files to prevent mixed ↵Dean Camera2011-06-1632-14354/+14354
| | | | end-of-line characters.
* Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean Camera2011-06-162-6/+6
| | | | they contain the USB mode (Device or Host) in the function names.
* Fix Doxygen documentation errors.Dean Camera2011-06-144-4/+4
|
* Ensure that only the requested Audio class pipes are mapped to endpoints ↵Dean Camera2011-06-131-1/+1
| | | | | | within the device for a specific Audio Host Class driver instance. Fix const-correctness of the Audio Host Class driver.
* Fix bugs in the Host mode Audio class driver.Dean Camera2011-06-122-5/+5
|
* Add missing AS4 and project description files to the new Audio Host demos.Dean Camera2011-06-099-0/+304
| | | | Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
* Add new Audio Class Driver Host demos.Dean Camera2011-06-0910-8/+5259
| | | | | | 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.
* Add additional support files for the new low level AudioInputHost and ↵Dean Camera2011-06-064-0/+3132
| | | | AudioOutputHost demos.
* Move completed low level Audio Host demos into the LowLevel folder from the ↵Dean Camera2011-06-0611-0/+8
| | | | Incomplete folder.
* Update incomplete Host mode Audio demos to use the correct class driver ↵Dean Camera2011-06-062-2/+2
| | | | Endpoint Sampling Frequency Control value constant.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-0513-14/+14
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Fixed compile errors in the incomplete BluetoothHost demo application ↵Dean Camera2011-06-052-20/+20
| | | | (thanks to Timo Lindfors).
* Added new callback to the Audio Class driver to allow for endpoint control ↵Dean Camera2011-06-034-8/+24
| | | | | | | | | | | | 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.
* Spell check library source code files.Dean Camera2011-06-013-3/+3
|
* Fixed incorrect signature in the CDC and DFU class bootloaders for the ↵Dean Camera2011-06-012-3/+3
| | | | | | | | ATMEGA8U2. Minor documentation cleanups. Modify the incomplete AudioInputHost demo for mono audio output.
* Added new incomplete AudioOutputHost Host LowLevel demo.Dean Camera2011-05-309-7/+1348
|
* Remove output files from the incomplete AudioInputHost demo, and improve the ↵Dean Camera2011-05-3010-8128/+48
| | | | logic in the ConfigDescriptor.c device configuration processing routine.
* Added new incomplete AudioInputHost Host LowLevel demo.Dean Camera2011-05-2915-0/+9440
| | | | | | 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.
* Add new USB_Host_SetInterfaceAltSetting() convenience function.Dean Camera2011-05-271-10/+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
|
* Remove redundant type information for bitfield elements, other than the ↵Dean Camera2011-04-101-14/+14
| | | | | | 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.
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-041-1/+1
| | | | | | 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.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-2124-168/+168
| | | | architecture ports.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1924-24/+120
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-107-4/+8
| | | | | | to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
* Renamed all driver termination *_ShutDown() functions to the more logical ↵Dean Camera2011-01-3024-24/+24
| | | | name *_Disable().
* Oops - fix up some calls to the old function names, include Serial ↵Dean Camera2011-01-302-1/+2
| | | | Peripheral driver in the RNDISEthernetHost project.
* Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and ↵Dean Camera2011-01-301-1/+1
| | | | | | CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead. Added new Serial_SendData() function to the Serial driver.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-3078-103/+150
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.