Concerns about Distance Measurement library

Hi Nordic,

I am working on code which utilizes the DM library on many devices in a room. Can you please help with a few questions?

  1. Some devices are always initiators, while others are always reflectors. Devices never switch roles like the DM example does. Is this ok, or is there some benefit to exercising both roles?
  2. I use a different sync mechanism than the DM example does. How should I tune the initiator and reflector delay (CONFIG_DM_INITIATOR_DELAY_US and CONFIG_DM_REFLECTOR_DELAY_US)? Trial and error?
  3. In the dm_request struct, how best to use the fields bt_addr and access_address? I can fill bt_addr with a nonsense value and it still works (at least on the initiator). But access_address seems to need a match. 
  4. Most importantly, the performance is not great. When I place devices 1m apart, DM library reports 1.5m to 2m distance using MPCD. Quality is DM_QUALITY_OK. I was expecting better accuracy based on the webinar. How can I improve it?

thanks,

Paul

Parents Reply Children
No Data
Related