802.15.4 GTS Guaranteed Time Slots Animation
Explore how beacon-enabled IEEE 802.15.4 reserves contention-free slots without starving the CAP
802.15.4 Guaranteed Time Slots Animation
GTS turns part of the superframe into scheduled airtime.
Request a Guaranteed Time Slot in the CAP, check the coordinator's limits, then watch the next beacon announce a CFP slot that the device can use without CSMA-CA contention.
The coordinator sends regular beacons, so devices can wake at known times and find their assigned CFP slot.
A device asks for allocation using normal contention access before it gets deterministic airtime.
The GTS descriptor in a later beacon tells the device the start slot, length, and transmit or receive direction.
802.15.4 allows at most 7 GTS descriptors, and the CAP must stay long enough for management traffic.
Allocation Controls
Pick a scenario or tune the superframe. The visual updates the CAP, CFP, beacon descriptor, and allocation verdict together.
Superframe View
Beacon sync: the coordinator announces the superframe timing and whether GTS requests are permitted.
The CFP starts at slot 12, leaving 12 slots for beacon and CAP traffic.
The beacon can advertise at most 7 GTS descriptors; this request would use 2.
SO changes slot duration and active superframe length; BO changes the interval between beacons.
GTS improves deterministic access for one flow, but every CFP slot removes contention capacity from everyone else.
duration of one superframe slot at the selected SO.
active superframe duration before any inactive period.
minimum CAP requirement rounded up from 440 symbols.
reserved CFP time after the request, including existing GTS slots.
Formula Trace
slot = 60 symbols * 2^SO * 16 us
CAP slots >= ceil(440 / slotSymbols)
accept if descriptors <= 7 and CFP slots <= 16 - minCAPslots
GTS Fields
- GTS specification carries descriptor count and GTS permit.
- Each descriptor includes device short address, starting slot, length, and direction.
- Direction is from the device perspective: transmit to coordinator or receive from coordinator.
Timing Constants
- Base slot duration is 60 symbols; base superframe duration is 960 symbols.
- At 2.4 GHz O-QPSK, one symbol is 16 us, so SO 0 is 15.36 ms active duration.
- Beacon interval uses BO; active superframe duration uses SO, with SO no greater than BO.
Common Traps
- GTS removes contention during the CFP, but the request and many commands still need the CAP.
- GTS is not unlimited bandwidth; it trades shared CAP capacity for scheduled access.
- Missing beacons can make a device lose timing, so synchronization is part of the reliability story.