-
Notifications
You must be signed in to change notification settings - Fork 39
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
Garbled responses for some commands #33
Comments
In this one you send 00 00 as cmd right? That is no valid cmd. So the answer from the display is nothing. When nothing is replied the uninitialized answer buffer will be used. By adding a filter for 0 len answers it should be fixed |
Something like this data_received += length_to_receive?str:"No answer"; Not tested |
When I do this, then it looks like it somehow breaks things, commands don't get properly sent and responses get timeouts.
|
That looks more like a real timeout? The change is not called before a full received msg. But just guessing here |
Maybe I am running into intermittent errors due to low-ish batteries, could it be? |
Responses for some commands are garbled, for example:
The text was updated successfully, but these errors were encountered: