Closed paller closed 5 years ago
Instead of using a fixed timeout of 5 seconds for all serial communication it should be dynamical based on the amount of data to read or write.
Calculate the timeout based on the amount of data to transfer and baud rate.
As the communication isn't as unstable after #5 was fixed it doesn't seem to make much difference.
Instead of using a fixed timeout of 5 seconds for all serial communication it should be dynamical based on the amount of data to read or write.
Calculate the timeout based on the amount of data to transfer and baud rate.