Firmware · UART
Turning a stream of serial bytes into commands means handling line endings, overlong lines and corrupted data, not only the happy case.