nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_dm_calc()

nrf_dm_quality_t nrf_dm_calc ( nrf_dm_report_t * p_report)

#include <nrf_dm/include/nrf_dm.h>

Estimate the distance Fills nrf_dm_report_t with distance estimates either mcpd or rtt according to the raw data in the report.

Note
The report needs to be populated using nrf_dm_populate_report before nrf_dm_calc can be called.
Parameters
[in,out]p_reportReport containing the raw data where the result is written into.
Returns
A quality measure of the estimated distance.