TI BLE5-Stack API Documentation
2.01.03.00
|
This file contains the functions and structures specific to ToF post processing.
Go to the source code of this file.
Data Structures | |
struct | rtlsTof_t |
Aggregation of ToF structures needed for RTLS Control operation (saved in gRtlsData) More... | |
struct | rtlsTofCalib_t |
ToF calibration information. More... | |
struct | rtlsTofCalibParams_t |
ToF Calibration Parameters For NV. More... | |
struct | rtlsTofConfig_t |
Various ToF configurations. More... | |
Macros | |
#define | MAX_TOF_SAMPLES_SINGLE_CHUNK 16 |
Max Num of Samples. | |
#define | RTLS_CTRL_TOF_RSSI_THRESHOLD_HYSTERESIS -5 |
RSSI Hysteresis threshold. | |
#define | RTLS_TOF_FREQ_PER_NV_BLOCK 4 |
Max Num of frequencies per NV block. | |
#define | SNV_ID_CAL_DATA_SET BLE_NVID_CUST_START+1 |
#define | SNV_ID_CAL_PARAMS BLE_NVID_CUST_START |
Enumerations | |
enum | tofCalibState_e { TOF_CALIB_NOT_INITIALIZED, TOF_CALIB_CALIBRATING, TOF_CALIB_CALIBRATED } |
Enumeration for ToF calibration states. | |
enum | tofResultMode_e { TOF_MODE_DIST, TOF_MODE_STAT, TOF_MODE_RAW } |
Enumeration for ToF Result Mode. | |
enum | tofRunMode_e { TOF_MODE_CONT, TOF_MODE_AUTO } |
Enumeration for ToF Run Mode. | |
Functions | |
struct | __attribute__ ((packed)) |
BLE Connection information. More... | |
rtlsStatus_e | RTLSCtrl_loadAndverifyCalibNVParams (rtlsTof_t *tofControlBlock) |
Verify calibration and load calibration from NV. More... | |
void | RTLSCtrl_outputCalibFromNV (uint8_t cmdId, uint8_t numFreq, uint16_t calibDistance, ToF_BurstStat *pCalibVals) |
Output calibration parameters and values. More... | |
void | RTLSCtrl_outputTofStat (uint8_t cmdId, uint16_t numFreq, ToF_BurstStat *tofStatArray, uint8_t rssi) |
Output array of ToF_BurstStat. More... | |
void | RTLSCtrl_postProcessTof (rtlsTof_t *tofControlBlock, int8_t rssi) |
Post process a ToF run. More... | |
void | RTLSCtrl_readCalibFromNV (rtlsTof_t *tofControlBlock) |
Read calibration From NV. More... | |
rtlsStatus_e | RTLSCtrl_writeCalibToNV (rtlsTofCalibParams_t calibParams, ToF_BurstStat *pCalibVals) |
Write calibration to NV. More... | |