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.

ranging_kit_comp

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.

TWR_scheme

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

decawave_ranging_frames

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

decaranging_plain15.4

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.

decaranging_twrdecoded