You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think a timeout was implemented in the code, so if the Python program doesn't receive any data back from a firmware version poll, it'll hang until it finds 3 bytes of data. The preferable fix would be to read all input within 1 second of the request (whether 3 bytes or not), then stop.
The text was updated successfully, but these errors were encountered:
A timeout has been hard-coded so that the serial read will expire after two seconds. This variable should be placed into a global instead of hard-coded in several different places. However, the original issue (of application hanging) is resolved as of 1.2.1a.
I don't think a timeout was implemented in the code, so if the Python program doesn't receive any data back from a firmware version poll, it'll hang until it finds 3 bytes of data. The preferable fix would be to read all input within 1 second of the request (whether 3 bytes or not), then stop.
The text was updated successfully, but these errors were encountered: