aesirkth / ground-control

All required software to make the Ground Station work
https://aesir.se
1 stars 1 forks source link

Improve serial Interface detection #17

Closed wanysteus closed 4 years ago

wanysteus commented 4 years ago

The previous code did not perform well in the case where serial devices that could not be read were present in the system (like a Bluetooth chip for example).

Also, the code would crash if data sent by any serial device was not ASCII (or just random junk because the baudrate was wrong

Tested successfully with non-Arduino-like devices and Arduinos with random code (ie. not the Telemetry Interface)