Expand description
The Node Management payload envelope.
+-------+---------+------+----------+
| TOKEN | OPTIONS | 0xFF | FRAME |
+-------+---------+------+----------+
2 B variable 1 B variableRequest and Response payloads share this format; direction lives entirely in the payload type. The frame extends to the end of the payload, so the end marker is always present.
Structs§
- Envelope
- A parsed envelope borrowing from the payload it was read out of.
Enums§
- Envelope
Error - Why an envelope could not be read.
Constants§
- CURSOR_
MAX - Longest cursor the format permits.
- OPT_
CURSOR - Option 1 — the continuation handle for a read spanning several exchanges. Critical: a device that cannot honor a cursor must say so rather than answer from the beginning.
- OPT_
REMAINING - Option 2 — approximate octets not yet returned. Elective: it drives a progress bar and nothing else.
- OVERHEAD_
MAX - Worst-case envelope overhead: token, the longest cursor, the longest REMAINING, and the end marker.
Type Aliases§
- Token
- The two-octet token, opaque to everyone but the administrator that chose it.