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

◆ nrf_rpc_os_msg_set()

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

#include <nrf_rpc/template/nrf_rpc_os_tmpl.h>

Pass a message to a different therad.

nRF RPC is passing one message at a time, so there is no need to do FIFO here.

Parameters
msgMessage passing structure.
dataData pointer to pass. Data is passed as a pointer, so no copying is done.
lenLength of the data.