Struct SYN_MBUS_Decoder¶
M-Bus streaming state machine decoder.
#include <syn_mbus.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_MBUS_FrameCallback | callback |
| void * | ctx |
| size_t | expected_len |
| uint8_t | rx_buf |
| size_t | rx_idx |
| uint8_t | state |
Public Attributes Documentation¶
variable callback¶
Frame completion callback
variable ctx¶
Callback user context
variable expected_len¶
Expected total frame length
variable rx_buf¶
Internal frame receive buffer
variable rx_idx¶
Buffer write index
variable state¶
Decoder state machine state
The documentation for this class was generated from the following file src/syntropic/proto/syn_mbus.h