Trace 6LoWPAN fragment reassembly

Trace 6LoWPAN fragment reassembly

Try Press Step once from Check the fit and locate FRAG1 at the start of the receiver buffer.

A fragment’s offset is where its data starts in the original datagram. The strips are schematic and keep the same positions throughout the replay.

Check the fit

Offset-based reassembly

Compare datagram size with usable space in a radio frame.

Measured inputs

Datagram size
Usable radio frame budget

The datagram exceeds the usable frame budget.

Receiver reassembly buffer

Positions in datagram order →
  1. EmptyDatagram start
  2. EmptyEarlier offset
  3. EmptyLater offset

Awaiting fragments. Sending this datagram over the link requires fragmentation.

Observe FRAG1 stays at the start while a later FRAGN appears beyond a Gap. The completion replay fills the gap, while the timeout replay shows the held fragments above a row that becomes Empty.
Explain In Frame 3, the gap remains because the later fragment belongs at its own offset. The receiver can complete the datagram if the missing fragment arrives before the wait ends.

Technical boundaries. The fixed strips represent datagram positions schematically, with the size comparison shown as relative bars. The replay illustrates a late arrival and a timeout from the same gap. Full-buffer behavior under loss is listed as a separate release check.

Back to the chapter