|
SmartSnippets DA1459x SDK
|
Go to the documentation of this file.
43 #ifndef BLE_MGR_AD_MSG_H_
44 #define BLE_MGR_AD_MSG_H_
void * ble_ad_msg_alloc(ad_ble_operation_t operation, uint16_t len)
Allocate buffer for a BLE adapter message.
void ble_ad_msg_wqueue_add(ad_ble_operation_t rsp_op, ad_ble_operation_t cmd_op, ble_ad_msg_wqueue_cb_t cb, void *param)
Add callback to waitqueue.
OS_BASE_TYPE ad_ble_command_queue_send(const void *item, OS_TICK_TIME wait_ticks)
Send a message to the BLE adapter command queue.
void(* ble_ad_msg_wqueue_cb_t)(ad_ble_msg_t *ad_msg, void *param)
Waitqueue callback.
Definition: ble_mgr_ad_msg.h:53
bool ble_ad_msg_waitqueue_match(ad_ble_msg_t *ad_msg)
__STATIC_INLINE void ble_ad_msg_send(void *msg)
Send BLE adapter message to adapter.
Definition: ble_mgr_ad_msg.h:74
void ble_adapter_cmp_evt_init(ad_ble_msg_t *ad_msg, void *param)
Structure for messages with id, type, data.
Definition: msg_queues.h:144