Commit fbd34688 authored by Karl Palsson's avatar Karl Palsson Committed by popcornmix
Browse files

usb/serial/ch341: Add parity support



Based on wireshark packet traces from a windows machine.

ch340 and ch341 both seem to support all parity modes, but only the ch341
appears to support variable data bits and variable stop bits, so those are left
unimplemented, as before.

Tested on a generic usb-rs485 dongle with the chip label scratched off, and
some Modbus/RTU devices that required various parity settings.

Signed-off-by: default avatarKarl Palsson <karlp@tweak.net.au>
parent 2c2c783a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment