Questions about Nordic Distance Measurement library sample

The hardware I use is nrf52840Dongle, using nrf_dm sample for development.
There are a few problems:


1. I have 8 devices, all within communication range, 4 as base stations and 3 as tags. The base station is the reflector, which is achieved by commenting this code:

//if (peer_supported_test(info->addr)) {

I want to let the tag be the initiator only。What do I need to change?


2. I found that the tag sometimes only tests with certain base stations, and I want to test the tag with each base station, so that the measurement data of the tag is relatively average. Is there any better implementation method?


3. Test the two boards separately, and find that the measurement data can be output once per second when the distance is close. When the distance becomes longer, the output data will become slower. What parameters do you need to change?


Looking forward to your reply.

Regards

Parents Reply
  • Hi,

    1、I've looked at the documentation, but I haven't found an answer on how to just set as a scanner;

    2、 For the balance issue, I refer to the practice of other tickets and make limits in the application;

    3、I'll try to test the parameters you suggested,CONFIG_DM_HIGH_PRECISION_CALC=n;

    4、This figure was drawn by me based on the official document, and it is what I understand, but I don't know if it is correct or not. I don't quite understand what TIMESLOT means;

    5、The device distance remains the same, Over time, the frequency of ranging decreases.Any suggestions on this issue?

    Best regards

Children
No Data
Related