1
0
mirror of https://github.com/gdsports/USBHost_t36 synced 2024-11-21 08:35:03 -05:00
Go to file
Kurt Eckhardt e2eba5c00d This commit has a few different parts. It is still a WIP
This commit adds support for at least some of the Serial boards with the
CH341 chipset, tested using a board from sparkfun as well as one from
Amazon.com

The code was rearranged some of the Claim code and added a VID:DID to Serial Type table that I use to map, such that I know some of these devices have multiple valid setups.

Support Begin/End/Begin - Change baud

Added code to support switching baud rates, or more particular be able to call end() and then call begin(...) with same or different baud rate.

Hopefully some support for also releasing DTR when the end is called.

WIP - Start support for the begin(baud, format)

Adding some support to the code to handle some of the different possible format capabilities.

In particualar trying to handle the parity, number of bits and number of stop bits.

hacked up test app, such that if you type in command line like:
"#9600, 7e1"

It will extract the 9600 as the new baud and try to use format 7e1.  I only hard coded a few of these in the test app (8n1, 7e1, 7e2, 8n2)...

Again work in progress.  Took me awhile tofigure out how to do this for ch341 boards as I did not see any documents or code that handled this.  So had to deduce it from differences in USB packets.
2017-11-04 17:54:00 -07:00
examples This commit has a few different parts. It is still a WIP 2017-11-04 17:54:00 -07:00
antplus.cpp AntPlus fixes 2017-10-21 08:45:09 -07:00
antplusdefs.h Arduino style API for AntPlus payload parsers 2017-10-21 03:34:40 -07:00
ehci.cpp PL2303 support 2017-10-31 11:06:12 -07:00
enumeration.cpp String buffers - Devices contribute buffers 2017-10-19 14:57:52 -07:00
hid.cpp String buffers - Devices contribute buffers 2017-10-19 14:57:52 -07:00
hub.cpp String buffers - Devices contribute buffers 2017-10-19 14:57:52 -07:00
joystick.cpp PS4 support 2017-09-12 06:57:19 -07:00
keyboard.cpp Keyboard - Allow > 8 keyboard max report size 2017-10-31 15:40:18 -07:00
keyboardHIDExtras.cpp Work around for MS keyboard 2017-10-12 19:23:02 -07:00
keywords.txt Update keywords 2017-10-21 11:40:59 -07:00
library.properties Convert to Arduino library format 2017-03-07 07:40:06 -08:00
memory.cpp String buffers - Devices contribute buffers 2017-10-19 14:57:52 -07:00
midi.cpp String buffers - Devices contribute buffers 2017-10-19 14:57:52 -07:00
mouse.cpp Keyboard HID extras plus map extra keys 2017-10-12 10:27:41 -07:00
print.cpp Fix print() & println() conflict with Arduino Print class 2017-10-15 13:11:46 -07:00
serial.cpp This commit has a few different parts. It is still a WIP 2017-11-04 17:54:00 -07:00
USBHost_t36.h This commit has a few different parts. It is still a WIP 2017-11-04 17:54:00 -07:00