Expand description
Transport Service: frames longer than one radio frame, split into segments of a datagram with a CRC-16 each.
The command byte carries data: the top five bits are the command, the low three are the top of the datagram size (or, in Segment Request, the offset). Hence this module is written by hand.
Structs§
- Reassembler
- Reassembles datagrams from any number of peers.
Enums§
- Error
- Why a frame was rejected.
- Reassembly
- What the reassembler did with a segment.
- Segment
- A parsed Transport Service frame.
Constants§
- CC
- The Transport Service command class id.
- DEFAULT_
SEGMENT - Segment payload bytes per frame that fit any Z-Wave data rate with room for security.
- FIRST_
SEGMENT - First Segment.
- MAX_
DATAGRAM - Largest datagram the 11-bit size field can describe.
- MAX_
SESSIONS - Reassemblies kept at once (per stack); older ones are dropped.
- SEGMENT_
COMPLETE - Segment Complete.
- SEGMENT_
REQUEST - Segment Request.
- SEGMENT_
TIMEOUT - How long a reassembly waits for the next segment.
- SEGMENT_
WAIT - Segment Wait.
- SUBSEQUENT_
SEGMENT - Subsequent Segment.