-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readBytes always empty byte-array #565
Comments
You should check using another tool (with the same serial port settings) that the device really doesn't send zeros, just to be sure (especially because a non-zero byte 0xFC has been received as well). |
The method
<serialPort>.readBytes(byte[] buffer, int bytesToRead)
wont fill the byte array.Version:
2.11.0
Sample
Output
The text was updated successfully, but these errors were encountered: