OpenDTU-old/lib/VeDirectFrameHandler
Bernhard Kirchen ba303da742
VE.Direct: Reset state machine on timeout, fix and extend logging (#416)
* VE.Direct: reset state machine on timeout

there will never be a large gap between two bytes of the same frame.
if such a large gap is observed, reset the state machine so it tries
to decode a new frame once more data arrives.

this is helpful in case of corrupted data that prevents the state
machine of transitioning to the final state even though the VE.Direct
data producer is done sending bytes that belong to the same frame.

* VE.Direct: print problems to MessageOutput

this includes the web console in particular, where many users have
access to while the serial console is not attached or monitored.

* VE.Direct: collect serial input into buffer and print

should help debug issues for users.

* VE.Direct: implement and use verbose logging switch
2023-09-04 14:07:48 +02:00
..
VeDirectFrameHandler.cpp VE.Direct: Reset state machine on timeout, fix and extend logging (#416) 2023-09-04 14:07:48 +02:00
VeDirectFrameHandler.h VE.Direct: Reset state machine on timeout, fix and extend logging (#416) 2023-09-04 14:07:48 +02:00