![]() |
![]() |
TI BLE5-Stack API Documentation
2.00.04.00
|
AOA interface.
Go to the source code of this file.
Data Structures | |
struct | AoA_AntennaConfig |
Antenna Configurations structure. More... | |
struct | AoA_AntennaPair |
Antenna Pair Structure. More... | |
struct | AoA_AntennaResult |
AoA result per antenna array. More... | |
struct | AoA_IQSample |
IQ Sample structure. More... | |
struct | AoA_Results_t |
Combined results from both antenna arrays. More... | |
Macros | |
#define | ANT1 (28) |
#define | ANT2 (29) |
#define | ANT3 (30) |
#define | ANT_ARRAY (27) |
#define | ANT_ARRAY_1 1 |
#define | ANT_ARRAY_2 2 |
#define | AOA_NUM_ANTENNAS 3 |
Number of antennas in antenna array. | |
#define | AOA_PIN(x) (1 << (x&0xff)) |
Relevent only for RTLS Passive. | |
#define | AOA_RES_MAX_CTE_TIME 20 |
CTE Time at maximum resolution. | |
#define | AOA_RES_MAX_SIZE 512 |
Relevent only for RTLS Passive. More... | |
Enumerations | |
enum | AoA_IQSampleState { SAMPLES_NOT_READY, SAMPLES_NOT_VALID, SAMPLES_READY } |
IQ Sample state - relevant for Passive. | |
enum | AoA_Role { AOA_ROLE_SLAVE, AOA_ROLE_MASTER, AOA_ROLE_PASSIVE } |
AoA Device Role. More... | |
Functions | |
uint16_t | AOA_calcNumOfCteSamples (uint8_t cteTime, uint8_t cteScanOvs, uint8_t cteOffset) |
This function calculate the number of IQ samples based on the cte parameters from the CTEInfo header and our patch params. More... | |
void | AOA_cteCapDisable (void) |
This function disables the CTE capture in the rf core. More... | |
void | AOA_cteCapEnable (uint8_t cteTime, uint8_t cteScanOvs, uint8_t cteOffset) |
This function enables the CTE capture in the rf core. More... | |
uint8_t | AOA_getActiveAnt (void) |
Returns active antenna id. More... | |
AoA_IQSample * | AOA_getRawSamples (void) |
Returns pointer to raw I/Q samples. More... | |
AoA_IQSampleState | AOA_getSampleState (void) |
Returns active antenna id. More... | |
void | AOA_init (AoA_Results_t *aoaResults) |
Initialize AoA for the defined role. More... | |
void | AOA_postProcess (int8_t rssi, uint8_t channel, AoA_IQSample *samplesBuff) |
This function will update the final result report with rssi and channel For RTLS Passive it will also send a command to enable RF RAM so we can read the samples that we captured (if any) More... | |
void | AOA_setupNextRun (uint8_t antArraySwitchIo) |
Sets up the next AOA run. More... | |
Variables | |
AoA_AntennaConfig | BOOSTXL_AoA_Config_ArrayA1 |
Configurations included from first antenna array. | |
AoA_AntennaConfig | BOOSTXL_AoA_Config_ArrayA2 |
Configurations included from second antenna array. | |
AoA_AntennaResult | BOOSTXL_AoA_Result_ArrayA1 |
results included from first antenna array | |
AoA_AntennaResult | BOOSTXL_AoA_Result_ArrayA2 |
results included from second antenna array | |