This API allows the software components in the Z-Stack to be written independently of the specifics of the operating system, kernel, or tasking environment (including control loops or connect-to-interrupt systems).
|
| #define | BLE_LOG_INT_INT(handle, type, format, param1, param2) |
| |
| #define | BLE_LOG_INT_STR(handle, type, format, param1, param2) |
| |
| #define | BLE_LOG_INT_TIME(handle, type, start_str, param1) |
| |
| #define | INTS_ALL 0xFF |
| | All interrupts. More...
|
| |
| #define | LL_EVT_ADDRESS_RESOLUTION_TIMEOUT 0x00001000u |
| |
| #define | LL_EVT_ADV_LAST_CMD_DONE 0x00010000u |
| |
| #define | LL_EVT_ADV_RX_AVAIL 0x08000000u |
| |
| #define | LL_EVT_ADV_TX_BUFF_FINISHED 0x10000000u |
| |
| #define | LL_EVT_CENTRAL_CONN_CANCELLED 0x00000010u |
| |
| #define | LL_EVT_CENTRAL_CONN_CREATED 0x00000008u |
| |
| #define | LL_EVT_CMD_STARTED 0x00800000u |
| |
| #define | LL_EVT_CONN_DISCONNECTED_IMMED 0x00000800u |
| |
| #define | LL_EVT_CONN_RX_AVAIL 0x00008000u |
| |
| #define | LL_EVT_CONN_TX_BUFF_FINISHED 0x04000000u |
| |
| #define | LL_EVT_CONNECTION_LAST_CMD_DONE 0x00040000u |
| |
| #define | LL_EVT_CS 0x40000000u |
| |
| #define | LL_EVT_CS_CURRENT_SUBEVENT_CONT_PROCESS (LL_EVT_CS | 1 << 6) |
| |
| #define | LL_EVT_CS_ERROR_POST_PROCESS (LL_EVT_CS | 1 << 0) |
| |
| #define | LL_EVT_CS_NEXT_SUBEVENT_PROCESS (LL_EVT_CS | 1 << 5) |
| |
| #define | LL_EVT_CS_PRECAL_POST_PROCESS (LL_EVT_CS | 1 << 4) |
| |
| #define | LL_EVT_CS_RESULTS_POST_PROCESS (LL_EVT_CS | 1 << 3) |
| |
| #define | LL_EVT_CS_STEPS_POST_PROCESS (LL_EVT_CS | 1 << 2) |
| |
| #define | LL_EVT_CS_SUBEVENT_POST_PROCESS (LL_EVT_CS | 1 << 1) |
| |
| #define | LL_EVT_EXT_ADV_TIMEOUT 0x00000040u |
| |
| #define | LL_EVT_EXT_SCAN_TIMEOUT 0x00000020u |
| |
| #define | LL_EVT_INIT_DONE 0x00002000u |
| |
| #define | LL_EVT_INIT_LAST_CMD_DONE 0x00000002u |
| |
| #define | LL_EVT_INIT_LAST_CMD_DONE_CONNECT 0x00000080u |
| |
| #define | LL_EVT_INIT_LAST_CMD_DONE_RX_ERR 0x00000004u |
| |
| #define | LL_EVT_INIT_RX_ENTRY_DONE 0x20000000u |
| |
| #define | LL_EVT_NONE 0x00000000u |
| |
| #define | LL_EVT_OUT_OF_MEMORY 0x00004000u |
| |
| #define | LL_EVT_PERIODIC_ADV_LAST_CMD_DONE 0x01000000u |
| |
| #define | LL_EVT_PERIODIC_ADV_TX_BUFF_FINISHED 0x02000000u |
| |
| #define | LL_EVT_PERIODIC_SCAN_CANCELLED 0x00000100u |
| |
| #define | LL_EVT_PERIODIC_SCAN_LAST_CMD_DONE 0x00100000u |
| |
| #define | LL_EVT_PERIODIC_SCAN_RX_AVAIL 0x00200000u |
| |
| #define | LL_EVT_POST_PROCESS_RF 0x00000001u |
| |
| #define | LL_EVT_RESCHEDULE 0x00400000u |
| |
| #define | LL_EVT_RESET_SYSTEM_HARD 0x00000200u |
| |
| #define | LL_EVT_RESET_SYSTEM_SOFT 0x00000400u |
| |
| #define | LL_EVT_SCAN_LAST_CMD_DONE 0x00020000u |
| |
| #define | LL_EVT_SCAN_RX_AVAIL 0x00080000u |
| |
| #define | SYS_EVENT_MSG 0x80000000u |
| | A message is waiting event. More...
|
| |
| #define | SYS_RESERVED SYS_EVENT_MSG |
| |
|
| uint8 | osal_alien2proxy (ICall_EntityID entity) |
| | Assign or retrieve a proxy OSAL task id for an external ICall entity. More...
|
| |
| uint8 * | osal_buffer_uint32 (uint8 *buf, uint32 val) |
| | Buffer an uint32 value - LSB first. More...
|
| |
| uint16 | osal_build_uint16 (uint8 *swapped) |
| | Build a uint16 out of 2 bytes (0 then 1). More...
|
| |
| uint32_t | osal_build_uint32 (uint8 *swapped, uint8 len) |
| | Build a uint32 out of sequential bytes. More...
|
| |
| uint8 | osal_isbufset (uint8 *buf, uint8 val, uint8 len) |
| | Check if all of the array elements are set to a value. More...
|
| |
| uint8 | osal_memcmp (const void GENERIC *src1, const void GENERIC *src2, unsigned int len) |
| | Generic memory compare. More...
|
| |
| void * | osal_memcpy (void *dst, const void GENERIC *src, unsigned int len) |
| | Generic memory copy. More...
|
| |
| void * | osal_memdup (const void GENERIC *src, unsigned int len) |
| | Allocates a buffer and copies the src buffer into the newly allocated space. More...
|
| |
| void * | osal_memset (void *dest, uint8 value, int size) |
| | Set memory buffer to value. More...
|
| |
| uint16 | osal_rand (void) |
| | Random number generator. More...
|
| |
| void * | osal_revmemcpy (void *dst, const void GENERIC *src, unsigned int len) |
| | Generic reverse memory copy. More...
|
| |
| void | osal_set_icall_hook (osal_icallMsg_hook_t param) |
| | Set the hook used to parse icall message. More...
|
| |
| int | osal_strlen (char *pString) |
| | Calculates the length of a string. More...
|
| |