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 reassemblyCompare 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 →Loss replay · at the wait limit
- FRAG1
- Gap
- FRAGN
↓ After discard
- EmptyDatagram start
- EmptyEarlier offset
- EmptyLater offset
Awaiting fragments. Sending this datagram over the link requires fragmentation.
Release checks after a loss
- Loss counters. Check dropped fragments and reassembly timeouts.
- Full-buffer test. Repeat the fragment sequence under loss with the reassembly buffer full.
- Fallback. Test a fallback such as reducing the payload.
- Owner and retest. Record who owns the check. Repeat it when the payload or frame budget changes.
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.