mik3y / usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.
MIT License
4.82k stars 1.58k forks source link

Best Way to Get Supported Baud Rates? #586

Closed HTRamsey closed 2 months ago

HTRamsey commented 2 months ago

I see standard baud rates are private in one of the drivers but that's it

kai-morich commented 2 months ago

The usual baud rates are supported by all devices. For very high or low baud rates you have to try, as the limits are in many cases not documented by the vendors. For very high baud rates (>1MBit?) you also have to be prepared data loss issues, e.g. when your Android app is not reading fast enough.