Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Events

Event management functions. More...

Functions

wiced_result_t wiced_rtos_send_asynchronous_event (wiced_worker_thread_t *worker_thread, event_handler_t function, void *arg)
 Sends an asynchronous event to the associated worker thread. More...
 

Detailed Description

Event management functions.

Function Documentation

wiced_result_t wiced_rtos_send_asynchronous_event ( wiced_worker_thread_t *  worker_thread,
event_handler_t  function,
void *  arg 
)

Sends an asynchronous event to the associated worker thread.

Sends an asynchronous event to the associated worker thread

Parameters
worker_thread:the worker thread in which context the callback should execute from
function: the callback function to be called from the worker thread
arg: the argument to be passed to the callback function
Returns
WICED_SUCCESS : on success.
WICED_ERROR : if an error occurred