![]() |
![]() |
TI BLE5-Stack API Documentation
2.00.04.00
|
This file contains the RTLS Control API's.
Go to the source code of this file.
Data Structures | |
struct | rtlsConfiguration_t |
RTLS Configuration structure. More... | |
struct | rtlsCtrlReq_t |
RTLS Control request. More... | |
struct | rtlsPacket_t |
RTLS Packet - Generic structure that will be translated to a specific command. More... | |
Macros | |
#define | CHIP_ID_ADDR ((uint8_t *)(0x50001000 + 0x2E8)) |
Chip Identifier Address. | |
#define | CHIP_ID_SIZE 6 |
Chip Identifier Size. | |
#define | RTLS_FALSE 0 |
FALSE. | |
#define | RTLS_REQ_AOA_ENABLE 0x7 |
RTLS Application Command Opcode. | |
#define | RTLS_REQ_CONN 0x2 |
RTLS Application Command Opcode. | |
#define | RTLS_REQ_ENABLE_SYNC 0x1 |
RTLS Application Command Opcode. | |
#define | RTLS_REQ_SCAN 0x3 |
RTLS Application Command Opcode. | |
#define | RTLS_REQ_SEND_DATA 0x4 |
RTLS Application Command Opcode. | |
#define | RTLS_REQ_SET_AOA_PARAMS 0x6 |
RTLS Application Command Opcode. | |
#define | RTLS_REQ_TERMINATE_LINK 0x5 |
RTLS Application Command Opcode. | |
#define | RTLS_TRUE 1 |
TRUE. | |
Typedefs | |
typedef void(* | pfnRtlsAppCb) (uint8_t *cmd) |
Application callback function. | |
Enumerations | |
enum | rtlsCapabilities_e { RTLS_CAP_NOT_INITIALIZED = 0x00000000, RTLS_CAP_CM = 0x00000001, RTLS_CAP_AOA_TX = 0x00000002, RTLS_CAP_AOA_RX = 0x00000004, RTLS_CAP_TOF_SLAVE = 0x00000008, RTLS_CAP_TOF_PASSIVE = 0x00000010, RTLS_CAP_TOF_MASTER = 0x00000020, RTLS_CAP_RTLS_SLAVE = 0x00000040, RTLS_CAP_RTLS_MASTER = 0x00000080, RTLS_CAP_RTLS_PASSIVE = 0x00000100 } |
Enumeration for RTLS Capabilities. | |
enum | rtlsStatus_e { RTLS_SUCCESS, RTLS_FAIL, RTLS_LINK_LOST, RTLS_LINK_ESTAB_FAIL, RTLS_LINK_TERMINATED, RTLS_OUT_OF_MEMORY, RTLS_ILLEGAL_CMD } |
Enumeration for RTLS Status. | |
Functions | |
void | RTLSCtrl_aoaResultEvt (int8_t rssi, uint8_t channel, uint16_t numIqSamples, uint8_t sampleRate, uint8_t numAnt, uint8_t antArraySwitchIo, uint16_t *pI, uint16_t *pQ) |
RTLSCtrl_aoaResultEvt. More... | |
void | RTLSCtrl_connInfoEvt (uint8_t *connInfo, uint16_t connInfoLen) |
RTLS Control Connection Info. More... | |
void | RTLSCtrl_connResultEvt (uint8_t status) |
RTLS Control Connection Results. More... | |
void | RTLSCtrl_open (rtlsConfiguration_t *rtlsConfig) |
RTLSCtrl_open. More... | |
void | RTLSCtrl_processDataSent (uint8_t status) |
RTLS Application Data Sent. More... | |
void | RTLSCtrl_processRtlsPacket (uint8_t *pPkt) |
RTLSCtrl_processRtlsPacket. More... | |
void | RTLSCtrl_scanResultEvt (rtlsStatus_e status, uint8_t *scanResult, uint8_t size) |
RTLS Control Scan Results. More... | |
void | RTLSCtrl_sendDebugEvent (uint8_t *debug_string, uint32_t debug_value) |
RTLSCtrl_sendDebugEvent. More... | |
void | RTLSCtrl_syncEventNotify (rtlsStatus_e status, uint32_t timeToNextEvent, int8_t rssi, uint8_t channel) |
RTLSCtrl_syncEventNotify. More... | |