58 #define RTLS_CTRL_TASK_PRIORITY 2 59 #define RTLS_CTRL_TASK_STACK_SIZE 752 61 #define RTLS_QUEUE_EVT UTIL_QUEUE_EVENT_ID 63 #define RTLS_CTRL_ALL_EVENTS (RTLS_QUEUE_EVT) 66 #define RTLS_CMD_IDENTIFY 0x00 67 #define RTLS_CMD_RESERVED 0x01 68 #define RTLS_CMD_CONN_PARAMS 0x02 69 #define RTLS_CMD_CONNECT 0x03 70 #define RTLS_CMD_SCAN 0x04 71 #define RTLS_CMD_SCAN_STOP 0x05 72 #define RTLS_CMD_RESERVED1 0x06 73 #define RTLS_CMD_RESERVED2 0x07 74 #define RTLS_CMD_RESERVED3 0x08 75 #define RTLS_CMD_CREATE_SYNC 0x09 76 #define RTLS_CMD_CREATE_SYNC_CANCEL 0x0A 77 #define RTLS_CMD_TERMINATE_SYNC 0x0B 78 #define RTLS_CMD_PERIODIC_RECEIVE_ENABLE 0x0C 79 #define RTLS_CMD_ADD_DEVICE_ADV_LIST 0x0D 80 #define RTLS_CMD_REMOVE_DEVICE_ADV_LIST 0x0E 81 #define RTLS_CMD_READ_ADV_LIST_SIZE 0x0F 82 #define RTLS_CMD_CLEAR_ADV_LIST 0x10 83 #define RTLS_CMD_AOA_SET_PARAMS 0x13 84 #define RTLS_CMD_AOA_ENABLE 0x14 85 #define RTLS_CMD_CL_AOA_ENABLE 0x15 86 #define RTLS_CMD_RESET_DEVICE 0x20 87 #define RTLS_CMD_TERMINATE_LINK 0x22 88 #define RTLS_CMD_RESERVED4 0x23 89 #define RTLS_CMD_AOA_RESULT_RAW 0x24 90 #define RTLS_CMD_RESERVED5 0x25 91 #define RTLS_CMD_RESERVED6 0x26 92 #define RTLS_CMD_CONN_INFO 0x27 93 #define RTLS_CMD_SET_RTLS_PARAM 0x28 94 #define RTLS_CMD_GET_RTLS_PARAM 0x29 95 #define RTLS_CMD_RESERVED7 0x30 96 #define RTLS_CMD_RESERVED8 0x31 97 #define RTLS_CMD_GET_ACTIVE_CONN_INFO 0x32 98 #define RTLS_CMD_CL_AOA_RESULT_RAW 0x33 99 #define RTLS_CMD_RESERVED9 0x34 100 #define RTLS_CMD_RESERVED10 0x35 101 #define RTLS_CMD_HEAP_SIZE 0x36 103 #define RTLS_CMD_BLE_LOG_STRINGS_MAX 0x32 104 extern char *rtlsCmd_BleLogStrings[];
113 #define RTLS_EVT_ASSERT 0x80 114 #define RTLS_EVT_ERROR 0x81 115 #define RTLS_EVT_DEBUG 0x82 116 #define RTLS_EVT_CONN_INFO 0x83 117 #define RTLS_EVT_SYNC_EST 0x84 118 #define RTLS_EVT_SYNC_LOST 0x85 119 #define RTLS_EVT_PERIODIC_ADV_RPT 0x86 120 #define RTLS_EVT_TERMINATE_SYNC 0x87 121 #define RTLS_EVT_CL_AOA_ENABLE 0x88 124 #define RTLS_PARAM_CONNECTION_INTERVAL 0x01 125 #define RTLS_PARAM_2 0x02 126 #define RTLS_PARAM_3 0x03 132 #define RTLSUTIL_MALLOC(pAlloc, size) { \ 134 pAlloc = ICall_malloc(size); \ 136 #define RTLSUTIL_FREE(pMsg) { \ 142 #define RTLSUTIL_MALLOC(pAlloc, size) { \ 144 volatile uint32_t keyHwi; \ 145 volatile uint32_t keySwi; \ 146 keyHwi = Hwi_disable(); \ 147 keySwi = Swi_disable(); \ 148 pAlloc = malloc(size); \ 149 Swi_restore(keySwi); \ 150 Hwi_restore(keyHwi); \ 152 #define RTLSUTIL_FREE(pFree) { \ 154 volatile uint32_t keyHwi; \ 155 volatile uint32_t keySwi; \ 156 keyHwi = Hwi_disable(); \ 157 keySwi = Swi_disable(); \ 160 Swi_restore(keySwi); \ 161 Hwi_restore(keyHwi); \ This API allows the software components in the Z-Stack to be written independently of the specifics o...
This file contains configuration, initialization, and parameter management of Micro BLE Stack...
void * RTLSCtrl_malloc(uint32_t sz)
This function will allocate memory, if we were unable to allocate we will report to RTLS Host...
Type definitions and macros for BLE stack.
uint8_t maxNumClCteBufs
Maximum number of buffers for CL AoA.
Definition: rtls_ctrl.h:110