Expand description
Segmentation: split and reassemble large APDU payloads.
Per ASHRAE 135-2020 Clause 9, segmented messages use 8-bit sequence numbers with windowed flow control. This module provides the basic payload splitting and reassembly primitives.
Structs§
- Segment
Receiver - Collects received segments for reassembly.
Enums§
- Segmented
PduType - PDU types that affect segmentation overhead calculation.
Functions§
- max_
segment_ payload - Compute the maximum service data payload per segment.
- split_
payload - Split a payload into segments of at most
max_segment_sizebytes.