mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-09-10 09:27:33 +00:00
Updated Troubleshooting (mediawiki)
parent
07d92f482b
commit
7c5f6151d3
@ -53,7 +53,7 @@ Therefore data loss can happen for continues read at high baud rates. If data is
|
||||
|
||||
This effect is more likely for slower Android device and USB devices with smaller buffer size and typically starts with higher baud rates like 115k2 baud, but is hardly predictable. For low baud rates or non-continuous transfers this issue was not observed as the USB device will not run into a read buffer overflow before the next USB read transfer.
|
||||
|
||||
Using a higher thread priority (default since ''usb-serial-for-android v3.1.0'') and offloading work from <code>onNewData</code> to other threads can mitigates the issue.
|
||||
Using a higher thread priority (default for <code>SerialInputOutputManager</code> since ''usb-serial-for-android v3.1.0'') and offloading work from <code>onNewData</code> to other threads can mitigates the issue.
|
||||
|
||||
''Data loss'' can also occur with inappropriate buffer size, as shown in next Question.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user