Sewio » UWB Sniffer » Analyzing Decawave Two Way Ranging (TWR)
Analyzing Decawave Two Way Ranging (TWR)2019-12-17T13:36:56+00:00

Analyzing Decawave TWR With UWB Sniffer

Packet Analyzer For 802.15.4a UWB Technology

Decawave Two Way Ranging protocol is aimed for precise distance measurement based on UWB IEEE 802.15.4a standard.


There are three messages Poll, Response, Final exchanged between Tag and Anchor in order to get a precise distance. It is calculated based on Tag (TSP, TRR, TSF) and Anchor (TRP, TSR, TRF) timestamps. Distance is calculated on Anchor therefore Report message might be employed in order to transfer distance measurement from Anchor back to Tag.


Ranging messages are encapsulated within 802.15.4 frame, see details in picture below:


Raw captured frames between Tag and Anchor in Wirehark are displayed as follows


TWR Wireshark plugin which is equipped with UWB Sniffer might further dissect those frames. Payload from frame is decoded as Poll, Response, Final or Report message with calculated distance.