DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
thread.cpp File Reference

Thread spinel / HDLC-lite framing codec - implementation. More...

Go to the source code of this file.

Detailed Description

Thread spinel / HDLC-lite framing codec - implementation.

HDLC-lite: [payload | FCS(lo,hi)] byte-stuffed and Flag-terminated. The FCS is CRC-16/X-25 (poly 0x1021 reflected = 0x8408, init 0xFFFF, reflected, final XOR 0xFFFF); the reserved bytes 0x7E / 0x7D / 0x11 / 0x13 are escaped as 0x7D, (byte XOR 0x20).

Definition in file thread.cpp.