![]() |
![]() |
TI BLE5-Stack API Documentation
2.01.01.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 | rtlsEnableSync_t |
RTLS Enable Sync - This will tell the RTLS Application to start notifying RTLS Control about a specific connection. More... | |
struct | rtlsGetActiveConnInfo_t |
RTLS Get Active Connection Info - get the connection information for a specific handle. 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_CONNHANDLE_ALL 0xFFFD |
#define | RTLS_CONNHANDLE_INVALID 0xFFFF |
#define | RTLS_CTRL_REV 0x2 |
#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_GET_ACTIVE_CONN_INFO 0x9 |
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_REQ_UPDATE_CONN_INTERVAL 0x8 |
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_ESTAB_FAIL, RTLS_LINK_TERMINATED, RTLS_OUT_OF_MEMORY, RTLS_CONFIG_NOT_SUPPORTED, RTLS_ILLEGAL_CMD } |
Enumeration for RTLS Status. | |
Functions | |
struct | __attribute__ ((packed)) |
RTLS update connection interval request. More... | |
void | AssertHandler (uint8 assertCause, uint8 assertSubcause) |
void | RTLSCtrl_aoaResultEvt (uint16_t connHandle, int8_t rssi, uint8_t channel, uint16_t numIqSamples, uint8_t sampleRate, uint8_t sampleSize, uint8_t sampleCtrl, uint8_t slotDuration, uint8_t numAnt, int8_t *pI, int8_t *pQ) |
RTLSCtrl_aoaResultEvt. More... | |
void | RTLSCtrl_connInfoEvt (uint8_t *connInfo, uint16_t connInfoLen) |
RTLS Control Connection Info. More... | |
void | RTLSCtrl_connResultEvt (uint16_t connHandle, uint8_t status) |
RTLS Control Connection Results. More... | |
void | RTLSCtrl_open (rtlsConfiguration_t *rtlsConfig) |
RTLSCtrl_open. More... | |
void | RTLSCtrl_processDataSent (uint16_t connHandle, 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 (uint16_t connHandle, rtlsStatus_e status, uint32_t timeToNextEvent, int8_t rssi, uint8_t channel) |
RTLSCtrl_syncEventNotify. More... | |
Variables | |
rtlsTerminateLinkReq_t | |
rtlsUpdateConnIntReq_t | |