TI BLE5-Stack API Documentation  2.01.03.00
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
rtls_ctrl_api.h File Reference

Detailed Description

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...
 
struct  rtlsTerminateLinkReq_t
 RTLS terminate link request. More...
 
struct  rtlsUpdateConnIntReq_t
 RTLS update connection interval request. 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_ASSERT_CAUSE_INVALID_PARAM   0x02
 RTLS Assert Error code.
 
#define RTLS_CTRL_ASSERT_CAUSE_NULL_POINTER_EXCEPT   0x03
 RTLS Assert Error code.
 
#define RTLS_CTRL_ASSERT_CAUSE_OUT_OF_MEMORY   0x01
 RTLS Assert Error code.
 
#define RTLS_CTRL_REV   0x2
 
#define RTLS_FALSE   0
 FALSE.
 
#define RTLS_REQ_AOA_ENABLE   0x7
 RTLS Application Command Opcode.
 
#define RTLS_REQ_BLE_LOG_STRINGS_MAX   0x9
 
#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_RESERVED1 = 0x00000008, RTLS_CAP_RESERVED2 = 0x00000010, RTLS_CAP_RESERVED3 = 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

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 *pIQ)
 RTLSCtrl_aoaResultEvt. More...
 
void RTLSCtrl_connInfoEvt (uint8_t *connInfo, uint16_t connInfoLen)
 RTLSCtrl_connInfoEvt. More...
 
void RTLSCtrl_connResultEvt (uint16_t connHandle, uint8_t status)
 RTLSCtrl_connResultEvt. More...
 
void RTLSCtrl_dataSentEvt (uint16_t connHandle, uint8_t status)
 RTLSCtrl_dataSentEvt. More...
 
void RTLSCtrl_open (rtlsConfiguration_t *rtlsConfig)
 RTLSCtrl_open. More...
 
void RTLSCtrl_rtlsPacketEvt (uint8_t *pPkt)
 RTLSCtrl_rtlsPacketEvt. More...
 
void RTLSCtrl_scanResultEvt (rtlsStatus_e status, uint8_t *scanResult, uint8_t size)
 RTLSCtrl_scanResultEvt. More...
 
void RTLSCtrl_sendDebugEvt (uint8_t *debug_string, uint32_t debug_value)
 RTLSCtrl_sendDebugEvt. More...
 
void RTLSCtrl_syncNotifyEvt (uint16_t connHandle, rtlsStatus_e status, uint32_t timeToNextEvent, int8_t rssi, uint8_t channel)
 RTLSCtrl_syncNotifyEvt. More...
 

Variables

char * rtlsReq_BleLogStrings []
 
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale