TI BLE5-Stack API Documentation
2.02.02.00
|
AOA interface.
Go to the source code of this file.
Data Structures | |
struct | AoA_IQSample_Ext_t |
32 bit IQ Sample structure More... | |
struct | AoA_IQSample_t |
IQ Sample structure. More... | |
Macros | |
#define | ANT1 (28) |
#define | ANT2 (29) |
#define | ANT3 (30) |
#define | ANT_ARRAY (27) |
#define | AOA_PIN(x) (1 << (x&0xff)) |
Relevant 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_t { SAMPLES_NOT_READY, SAMPLES_NOT_VALID, SAMPLES_READY } |
IQ Sample state - relevant for Passive. | |
enum | AoA_Role_t { 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_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_IQSampleState_t | AOA_getSampleState (void) |
Returns active antenna id. More... | |
void | AOA_init (uint8_t startAntenna) |
Initialize AoA for the defined role. More... | |
void | AOA_postProcess (int8_t rssi, uint8_t channel, AoA_IQSample_Ext_t *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... | |