37 u16
kermit(
unsigned nbytes,
const void* data);
40 u16
xmodem(
unsigned nbytes,
const void* data);
Check and remove FCS from each incoming frame ("KERMIT" variant).
void write_next(u8 data) override
Write the next byte to the underlying buffer or device.
bool write_finalize() override
Mark end of frame and release temporary working data.
Append FCS to each outgoing frame ("KERMIT" variant).
void write_next(u8 data) override
Write the next byte to the underlying buffer or device.
bool write_finalize() override
Mark end of frame and release temporary working data.
Check and remove FCS from each incoming frame ("XMODEM" variant).
void write_next(u8 data) override
Write the next byte to the underlying buffer or device.
bool write_finalize() override
Mark end of frame and release temporary working data.
Append FCS to each outgoing frame ("XMODEM" variant).
void write_next(u8 data) override
Write the next byte to the underlying buffer or device.
bool write_finalize() override
Mark end of frame and release temporary working data.
Check and remove FCS from each incoming frame.
Inline checksum insertion, appends FCS to each outgoing frame.
Abstract API for writing byte-streams and packets.
u16 xmodem(unsigned nbytes, const void *data)
Directly calculate CRC16 on a block of data.
u16 kermit(unsigned nbytes, const void *data)
Directly calculate CRC16 on a block of data.
Inline checksum insertion (ChecksumTx) and verification (ChecksumRx).