Skip to main content

Module kiss_framing

Module kiss_framing 

Source

Structs§

KissCommandDecoder
Keeps the whole command byte because RNode commands span 0x00..=0x90. A closing FEND also opens the next frame, matching RNode’s batched detect query.
KissDecoder
KissScanner
Non-data command frames are consumed and never yielded; bytes outside any frame are dropped. A payload past the sink’s capacity is rejected with DecodeError::FrameTooBig and scanning realigns at the next FEND.

Enums§

DecodeError
EncodeError

Constants§

CMD_DATA
CMD_FULLDUPLEX
CMD_P
CMD_READY
RNS writes CMD_READY 0x01 at startup and the TNC echoes it to pace transmission.
CMD_SETHARDWARE
CMD_SLOTTIME
CMD_TXDELAY
CMD_TXTAIL
FEND
FESC
TFEND
TFESC

Functions§

command_frame
The value byte is not escaped, matching RNS, whose config values are clamped below the delimiter bytes.
encode
encode_with_command
max_encoded_len