jacklinquan / usbserial4a

Python package for Android USB host serial port.
MIT License
62 stars 17 forks source link

typo errors and import not used #6

Closed olivier-boesch closed 3 years ago

olivier-boesch commented 3 years ago

Hello, there's a typo error that makes fail the execution on android.

PortNotOpenError was named portNotOpenError

writeTimeoutError is not used (and doesn't exist on pyserial)

should fix the problem.

Would you like to merge it ? is it ok for you ?

olivier-boesch commented 3 years ago

Don't mind...

jacklinquan commented 3 years ago

Hello, there's a typo error that makes fail the execution on android.

PortNotOpenError was named portNotOpenError

writeTimeoutError is not used (and doesn't exist on pyserial)

should fix the problem.

Would you like to merge it ? is it ok for you ?

Hi @olivier-boesch , This issue is due to pyserial 3.5 is not backward compatible. I've updated usbserial4a to Version 0.3.0. Now it doesn't depend on pyserial anymore. Please have a try and see if the problem is solved. Thanks for your report!