nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_dm_high_precision_calc()

float nrf_dm_high_precision_calc ( nrf_dm_report_t p_report)

#include <nrf_dm/include/nrf_dm.h>

Estimate the distance with more computation-intensive higher precision algorithm.

Note
Only works with MCPD ranging mode.
The report needs to be populated using nrf_dm_populate_report before nrf_dm_high_precision_calc can be called.
Parameters
[in,out]p_reportReport containing the raw data where the result is written into.
Returns
The estimated distance in meters.