| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
the correct CTC mode.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(up from 5) to account for slow-processing devices.
Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression.
Minor code cleanups (remove redundant comments, fix spacing, etc.).
|
|
|
|
| |
macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
|
|
|
|
|
|
| |
been written to the endpoint.
Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
|
|
|
|
|
|
| |
being sent correctly.
Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
|
|
|
|
| |
Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position.
|
|
|
|
| |
to USB_Host_GetDeviceConfigDescriptor().
|
|
|
|
| |
correctly and set the packet filter. No packets are received yet from the test device, need to investigate additional SET commands to see if any critical OIDs have been missed.
|
| |
|
| |
|
|
|
|
|
|
| |
descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines.
Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used.
|
| |
|
|
|
|
| |
directory with new Class Driver powered Mouse dual role demonstration application showing a dual role device using the HID host/device Class drivers.
|
|
|
|
|
|
| |
standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project.
Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
|
|
|
|
|
|
|
|
| |
compilation errors when invalid event names are used in a project.
Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.)
Fix allowable F_CPU values comment in project makefiles.
|
|
|
|
| |
retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters.
|
|
|
|
| |
function so that it now performs size checks and data validations internally, to simplify user code.
|
| |
|
|
|
|
|
|
| |
incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface.
Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
|
|
|
|
|
|
|
|
| |
events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only.
Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events.
Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
|
|
|
|
|
|
| |
the board selection is printed during the build process.
Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
|
|
|
|
|
|
|
|
|
|
|
|
| |
USB state.
Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers.
Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality.
Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead.
Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
|
| |
|
|
|
|
|
|
| |
ID string length from the start of the returned array (thanks to John Andrews).
Fixed error in new pipe stream function template system not setting the right device token for R/W operations (also thanks to John Andrews).
|
|
|
|
| |
a version of the function built into the library itself.
|
|
|
|
| |
NULLs - use a special structure to hold the data string plus the length in bytes of the data.
|
|
|
|
| |
and so strlen() won't work in all cases. Ensure NULL terminator for the test page is not transmitted to the device.
|
|
|
|
| |
and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
|
|
|
|
| |
not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
|
|
|
|
|
|
| |
Change over Printer_GetDeviceID() to require a pointer to the destination buffer plus the buffer size, rather than using a pointer to a special structure.
Make new Printer_SendData() function to hide the implementation of sending data to an attached printer, cleaning up the main demo source file body.
|
|
|
|
| |
Bidirectional protocol encapsulation. Change enumeration code to automatically select the correct alternate setting for the printer interface to select the bidirectional protocol.
|
|
|
|
| |
endpoint addresses of 8 and above (thanks to John Andrews).
|
|
|
|
|
|
| |
seperator so that the host always knows what track data is being sent.
Updates to PrinterHost demo to include some PCL test data plus fixes to the GetDeviceID routine.
|
|
|
|
|
|
| |
non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state.
Added verbose documentation for each of the USB Host state machine states.
|
|
|
|
|
|
| |
subdirectory.
Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
|
| |
|
|
|
|
|
|
| |
Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder.
Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
|
|
|
|
| |
infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
|
|
|
|
| |
option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.
|
|
|
|
| |
for clarity.
|
|
|
|
| |
number within the device to fetch, to add support for multi-configuration devices.
|
|
|
|
|
|
|
|
|
|
| |
condition on an attached device's endpoint.
Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor.
Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption.
Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
|
|
|
|
|
|
| |
for better device control.
Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
|
|
|
|
| |
read-in events from the host, use standard MIDI event structure in low level demo rather than sending individual bytes.
|
|
|
|
| |
earlier Start-of-frame event experiments.
|
|
Copy and convert incomplete Bluetooth Host demo to the library.
|