![]() |
nRF Connect SDK API 3.3.99
|
| float cs_de_rtt | ( | int32_t | rtt_accumulated_half_ns, |
| uint8_t | rtt_count ) |
#include <include/bluetooth/cs_de.h>
Calculate a distance estimate based on the accumulated RTT To do this, average time of flight is calculated and multiplied with the speed of light.
| [in] | rtt_accumulated_half_ns | the accumulated total of RTT values over a CS procedure in units of 0.5 ns. |
| [in] | rtt_count | the total number of rtt measurements in the procedure |