-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
binding.read reads only 32 bytes #2272
Comments
Hey, sorry the docs are a little light on the bindings. But it will return a minimum of 1 byte and a maximum of specified bytes. You have keep reading until you get the number of bytes you want, read only stays pending while there isn't any data to read. The tradeoff here was for performance, but the usability is a bit annoying I know. |
Hi Francis, thank you! Using a while is working ok. |
@germancmartinez How done fix this issue? |
|
thank your work. I have solved the problem using parser-delimiter package |
Summary of Problem
When I try to read a large number of bytes (514 in this case) the function ends and returns only 32 bytes.
Code
I'm using a Serial Port Monitor where I can see:
Versions, Operating System and Hardware
The text was updated successfully, but these errors were encountered: