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

◆ nrf_rpc_os_msg_get()

void nrf_rpc_os_msg_get ( struct nrf_rpc_os_msg *  msg,
const uint8_t **  data,
size_t *  len 
)

#include <nrf_rpc/template/nrf_rpc_os_tmpl.h>

Get a message.

If message was not set yet then this function waits.

Parameters
[in]msgMessage passing structure.
[out]dataReceived data pointer. Data is passed as a pointer, so no copying is done.
[out]lenLength of the data.