This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to switch to RTT distance estimation in Nordic sample/demo code? (nRF Connect 1.9.1)

Hi

I am testing the new distance estimation techniques introduced in nRF Connect 1.9.0.

I have flashed both of my nRF52833 DK kits with the sample code connected to this post: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/samples/bluetooth/nrf_dm/README.html and I can see the default MCPD ranging outputs being printed to my terminal when connected via serial port.

My question is, how can I turn on the Round Trip Time ranging mode provided with the sample code?

In the "Sample output" section it is clearly shown that it is possible.

What I have tried:

In the service_ddfs_init() function inside service.c I tried changing line 147 setting 

ddfs_init.dm_features.ranging_mode_mcpd = 1; to be 0 instead of 1. Then flashing both the cards again. Still get MCPD ranging outputs and not RTT.


This is my first embedded project so I might have missed something obvious.

Thanks for reading!
Parents Reply Children
No Data
Related