API for the Channel Sounding Distance Estimation toolkit.
More...
|
| void | cs_de_combined_iq_calculate (cs_de_iq_tones_t *cs_de_iq_tones, float iq_tones_comb[(75) *2]) |
| | Combine the local and remote IQ values in a cs_de_iq_tones_t to one array. This is done through an element wise complex multiplication of the local and remote IQ values.
|
| |
| cs_de_quality_t | cs_de_calc (cs_de_report_t *p_report) |
| | 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.
|
| |
| float | cs_de_ifft (float iq_tones_comb[2 *CONFIG_BT_CS_DE_NFFT_SIZE]) |
| | Calculates a distance estimate based on the IFFT magnitude of the input IQ values. Note! After calling this function, the input IQ values in iq_tones_comb are overwritten with the IFFT magnitude.
|
| |
| float | cs_de_rtt (int32_t rtt_accumulated_half_ns, uint8_t rtt_count) |
| | 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.
|
| |
| float | cs_de_phase_slope (float iq_tones_comb[(75) *2]) |
| | Calculate distance estimate based on the phase slope of the input IQ values.
|
| |
API for the Channel Sounding Distance Estimation toolkit.