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
  • Hi

    It doesn't seem like the ranging specifically increases over time though, and after the 4 second ranging there seems to be a new 1 second ranging, so they seem random, rather than decreasingly slower. Can you provide some more information on how you do the testing? How far between the two devices is it when testing, and in what kind of environment are you testing. Also, is the Dongle doing anything else in software except the distance measurement ranging that might take a lot of time?

    Best regards,

    Simon

Reply
  • Hi

    It doesn't seem like the ranging specifically increases over time though, and after the 4 second ranging there seems to be a new 1 second ranging, so they seem random, rather than decreasingly slower. Can you provide some more information on how you do the testing? How far between the two devices is it when testing, and in what kind of environment are you testing. Also, is the Dongle doing anything else in software except the distance measurement ranging that might take a lot of time?

    Best regards,

    Simon

Children
No Data
Related