TI BLE5-Stack API Documentation  2.00.04.00
Data Structures | Macros | Enumerations | Functions | Variables
rtls_ctrl_tof.h File Reference

Detailed Description

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  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.
 

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_ONE_SHOT, TOF_MODE_AUTO }
 Enumeration for ToF Run Mode.
 

Functions

struct __attribute__ ((packed))
 BLE Connection information. 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...
 

Variables

 rtlsEnableTofCalib_t
 
 rtlsEnableTofCmd_t
 
 rtlsTofParams_t
 
 rtlsTofResultDistance_t
 
 rtlsTofResultRaw_t
 
 rtlsTofResultRawAggr_t
 
 rtlsTofResultStat_t
 
 rtlsTofSecSeed_t
 
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale