I am looking for some help how I could accomplish the following using C code in application area of DWM1001.
- Application is ranging (TWR)
- Node defaults to be responder that outputs distance for ranging achieved from initiator node to UART
- If a command is received from UART, the node switches to be initiator and attempts to range with specific node ID given in UART packet. If ranging successful then distance is set by UART and then node goes back to responder mode.