Serial detection was using serial_readline, which stripped carriage return from the packets. This made for a very unreliable detection mechanism. Switch to a timeout-based detection mechanism that parses the data as it comes in. This also allows us to stop parsing once we found our first valid packet. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> |
||
---|---|---|
.. | ||
Makefile.am | ||
api.c | ||
protocol.c | ||
protocol.h |