nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_rpc_os_ctx_pool_reserve()

uint32_t nrf_rpc_os_ctx_pool_reserve ( )

#include <nrf_rpc/template/nrf_rpc_os_tmpl.h>

Reserve one context from command context pool.

If there is no available context then this function waits for it.

Returns
Context index between 0 and
CONFIG_NRF_RPC_CMD_CTX_POOL_SIZE 
- 1.