![]() |
Morse Micro IoT SDK
2.6.4-esp32
|
Structure used to contain the current state for the SLIP receiver.
For forward compatibility, instances of this structure should be initialized using SLIP_RX_STATE_INIT. For dynamic initialization use slip_rx_state_reinit().
For example:
#include <slip.h>
Data Fields | |
| uint8_t * | buffer |
| Reference to buffer where processed bytes are received. More... | |
| size_t | buffer_length |
| Length of the buffer. More... | |
| size_t | length |
| Length of the currently received frame, excluding escape bytes. More... | |
| bool | escape |
| Escape state. More... | |
| uint8_t* slip_rx_state::buffer |
| size_t slip_rx_state::length |