TI BLE5-Stack API Documentation  2.02.02.00
Modules | Files | Macros | Functions
RTLS_CTRL_AOA

This module implements Real Time Localization System (RTLS) AoA post processing module. More...

Modules

 RTLS Control Structures
 

Files

file  rtls_ctrl.h
 RTLS Control module interface.
 

Macros

#define MAX_SAMPLES_SINGLE_CHUNK   32
 Max number of samples reported in a single chunk when using RAW mode.
 
#define REVERSE_SYNC_HANDLE   0x0FFF
 
#define SYNC_HANDLE_MASK   0x1000
 

Functions

rtlsStatus_e RTLSCtrl_clInitAoa (aoaResultMode_e resultMode, uint8_t sampleCtrl, uint8_t numAnt, uint8_t *pAntPattern, uint16_t syncHandle)
 
void RTLSCtrl_initAntConfig (void)
 
rtlsStatus_e RTLSCtrl_initAoa (uint8_t maxConnections, uint8_t sampleCtrl, uint8_t numAnt, uint8_t *pAntPattern, aoaResultMode_e resultMode)
 
void RTLSCtrl_postProcessAoa (rtlsAoaIqEvt_t *pEvt)
 Called at the end of each connection event to extract I/Q samples. More...
 

Detailed Description

This module implements Real Time Localization System (RTLS) AoA post processing module.

Function Documentation

§ RTLSCtrl_clInitAoa()

rtlsStatus_e RTLSCtrl_clInitAoa ( aoaResultMode_e  resultMode,
uint8_t  sampleCtrl,
uint8_t  numAnt,
uint8_t *  pAntPattern,
uint16_t  syncHandle 
)

RTLSCtrl_clInitAoa

Initialize connectionless AoA - has to be called before running AoA

Parameters
resultMode- AOA_MODE_RAW
sampleCtrl- sample control configs: 0x01 = RAW RF, 0x00 = Filtered results (switching period omitted), bit 4,5 0x10 - ONLY_ANT_1, 0x20 - ONLY_ANT_2
numAnt- Number of items in Antenna array
pAntPattern- Pointer to Antenna array
syncHandle- Handle identifying the periodic advertising train
Returns
status - RTLS_AOA_CONFIG_NOT_SUPPORTED/RTLS_SUCCESS

§ RTLSCtrl_initAntConfig()

void RTLSCtrl_initAntConfig ( void  )

RTLSCtrl_initAntConfig

Initialize the anternna configuration in the AoA control block

Parameters
None
Returns
None

§ RTLSCtrl_postProcessAoa()

void RTLSCtrl_postProcessAoa ( rtlsAoaIqEvt_t *  pEvt)

Called at the end of each connection event to extract I/Q samples.

Parameters
pEvt- Pointer to IQ Event
Returns
none
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale