49 size_t* payload_length,
bool lsb_first);
60 size_t* payload_length);
void hdlc_decode_stats_reset(void)
Reset cumulative HDLC decode statistics.
bool hdlc_decode(const HDLC_FRAME_T *frame, uint8_t *payload, const size_t out_capacity, size_t *payload_length, bool lsb_first)
Decode an HDLC bit-stuffed frame.
void hdlc_decode_stats_snapshot(hdlc_decode_stats_t *out_stats)
Copy cumulative HDLC decode statistics.
bool hdlc_decode_byte(const HDLC_FRAME_T *frame, uint8_t *payload, const size_t out_capacity, size_t *payload_length)
Decode a byte-escaped HDLC frame compatibility path.
Generic HDLC frame buffer descriptor.
Cumulative HDLC decode failure reason counters.
uint64_t payload_too_long