Hello,
I am using the DWM1001C-DEV kit with PANS, and I would like to clarify how to determine the communication status in Shell mode.
According to the documentation, the communication capability is defined by the Link Margin. I also understand that even if communication is possible, distance measurement may fail due to environmental effects such as signal degradation or multipath. Therefore, the maximum communication range and the maximum ranging (distance measurement) range can differ depending on the environment.
What I want to understand is:
In PANS Shell mode, when the lec command does not show any distance value, how can I verify whether UWB communication is still active?
For testing, I first confirmed that ranging works correctly with a fixed Tag and Anchor setup. Then I moved the Tag away from the Anchor in a long indoor hallway without obstacles blocking the line-of-sight. During movement, the distance value (lec) disappeared, but the uwbmac status still showed connected. When I moved further away, the status changed to uwbmac: disconnected. Ranging successfully works when Tag and Anchor are placed close, so I assume the PAN ID and addressing configuration are correct.
Based on this behavior, I would like to ask the following:
- What exactly does the
uwbmacstatus represent in PANS Shell mode? - What is the communication meaning of
uwbmac: connectedvs.uwbmac: disconnected? - In this experiment, can I assume that a negative Link Margin corresponds to
uwbmac: disconnectedand a non-negative Link Margin corresponds touwbmac: connected?
If so, could you please explain the reasoning behind this?
Any clarification on the relationship between Link Margin, communication connectivity, and the UWB MAC status would be greatly appreciated.
Thank you very much for your time, and I look forward to your response.
