aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-1026-46/+40
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Update copyright year on all source files.Dean Camera2011-01-01111-219/+219
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-2623-92/+92
| | | | fix incorrect and missing section names.
* Loop in the ClassDriver MIDI device/host demos until there are no more ↵Dean Camera2010-11-052-5/+5
| | | | incomming events to process. Only clear the endpoint/pipe bank in the LowLevel MIDI device/host demos when the endpoint is empty after an event read.
* Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean Camera2010-11-0213-155/+217
| | | | | | generation in the AVRISP-MKII clone project. Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
* Added standard keyboard HID report scancode defines (thanks to László Monda).Dean Camera2010-10-284-37/+75
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-28111-111/+111
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-2530-149/+63
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-2446-748/+58
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-13160-2456/+2611
| | | | tool made by Laszlo Monda
* Fixed LowLevel JoystickHostWithParser demo not saving the chosen HID ↵Dean Camera2010-10-0112-200/+161
| | | | | | interface's report descriptor size. Simplified low level Host demo configuration descriptor parser routines.
* Fix low level host mode demos not correctly fetching the next endpoint when ↵Dean Camera2010-09-3012-9/+45
| | | | | | an invalid interface is discarded. Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.