felHR85 / UsbSerial

Usb serial controller for Android
MIT License
1.78k stars 582 forks source link

can not set databit for ch341 #299

Open hzdeveloper opened 4 years ago

hzdeveloper commented 4 years ago

hi everyone and thank for your great work i have some usb serial adapter with ch341 chip . my problem is , call setDataBits(int dataBits) has no effect and databit is always 8 bit but i need 7 bit . i read the source for CH34xSerialDevice.java and found that this method not implemented for ch34x . @Override public void setDataBits(int dataBits) { // TODO Auto-generated method stub

}

if any one please can help me by implementing this method. Thanks for your attention. I’m looking forward to your reply.