nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_rpc_os_event_wait()

int nrf_rpc_os_event_wait ( struct nrf_rpc_os_event *  event,
int32_t  timeout 
)

#include <nrf_rpc/template/nrf_rpc_os_tmpl.h>

Wait for an event.

Parameters
eventEvent to wait for.
timeoutTimeout in milliseconds. NRF_RPC_OS_WAIT_FOREVER indicates infinite timeout. NRF_RPC_OS_NO_WAIT indicates no timeout.
Returns
0 on success or negative error code.