Skip to main content

Module frame

Module frame 

Source
Expand description

deCONZ frames on the wire: SLIP-framed (RFC 1055), each frame a command id, sequence number, status, total length, payload, and a 16-bit checksum (the two’s complement of the byte sum).

Structs§

Decoder
Splits a SLIP byte stream into frames. Holds at most MAX_FRAME bytes.
Frame
One frame.

Enums§

FrameError
A frame did not parse.

Constants§

MAX_FRAME
The longest frame (before SLIP escaping) the decoder accepts.