nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ cs_de_calc()

cs_de_quality_t cs_de_calc ( cs_de_report_t * p_report)

#include <include/bluetooth/cs_de.h>

Calculate distance estimates and quality for a given report This function assumes the report has been populated in all fields except the distance estimates and quality fields.

Parameters
[in,out]p_reportThe partially populated report to calculate distance with
Returns
Quality of the distance estimates, if at least one estimate is valid this will be CS_DE_QUALITY_OK. Otherwise it is CS_DE_QUALITY_DO_NOT_USE and estimates should be ignored.