implement a function which allows to reset the SML decoder. this new function is used after a datagram ends. for the SML HTTP power meter this is simple: after all bytes from the request's answer have been decoded, we reset the decoder. for the SML serial power meter, we perform the reset after a datagram ended based on timing (no new bytes have been received for a specific amount of time). |
||
|---|---|---|
| .. | ||
| sml.cpp | ||
| sml.h | ||
| smlCrcTable.h | ||