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_RESERVED4 0x09 76 #define RTLS_CMD_RESERVED5 0x10 77 #define RTLS_CMD_RESERVED6 0x11 78 #define RTLS_CMD_RESERVED7 0x12 79 #define RTLS_CMD_AOA_SET_PARAMS 0x13 80 #define RTLS_CMD_AOA_ENABLE 0x14 81 #define RTLS_CMD_RESET_DEVICE 0x20 82 #define RTLS_CMD_TERMINATE_LINK 0x22 83 #define RTLS_CMD_AOA_RESULT_ANGLE 0x23 84 #define RTLS_CMD_AOA_RESULT_RAW 0x24 85 #define RTLS_CMD_AOA_RESULT_PAIR_ANGLES 0x25 86 #define RTLS_CMD_RESERVED8 0x26 87 #define RTLS_CMD_CONN_INFO 0x27 88 #define RTLS_CMD_SET_RTLS_PARAM 0x28 89 #define RTLS_CMD_GET_RTLS_PARAM 0x29 90 #define RTLS_CMD_RESERVED9 0x30 91 #define RTLS_CMD_RESERVED10 0x31 92 #define RTLS_CMD_GET_ACTIVE_CONN_INFO 0x32 94 #define RTLS_CMD_BLE_LOG_STRINGS_MAX 0x32 95 extern char *rtlsCmd_BleLogStrings[];
98 #define RTLS_EVT_ASSERT 0x80 99 #define RTLS_EVT_ERROR 0x81 100 #define RTLS_EVT_DEBUG 0x82 101 #define RTLS_EVT_CONN_INFO 0x83 104 #define RTLS_PARAM_CONNECTION_INTERVAL 0x01 105 #define RTLS_PARAM_2 0x02 106 #define RTLS_PARAM_3 0x03 112 #define RTLSUTIL_MALLOC(pAlloc, size) { \ 114 pAlloc = ICall_malloc(size); \ 116 #define RTLSUTIL_FREE(pMsg) { \ 122 #define RTLSUTIL_MALLOC(pAlloc, size) { \ 124 volatile uint32_t keyHwi; \ 125 volatile uint32_t keySwi; \ 126 keyHwi = Hwi_disable(); \ 127 keySwi = Swi_disable(); \ 128 pAlloc = malloc(size); \ 129 Swi_restore(keySwi); \ 130 Hwi_restore(keyHwi); \ 132 #define RTLSUTIL_FREE(pFree) { \ 134 volatile uint32_t keyHwi; \ 135 volatile uint32_t keySwi; \ 136 keyHwi = Hwi_disable(); \ 137 keySwi = Swi_disable(); \ 140 Swi_restore(keySwi); \ 141 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.