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

◆ nrf_modem_os_rpc_send()

int nrf_modem_os_rpc_send ( struct nrf_modem_os_rpc * instance,
const void * msg,
size_t len )

#include <nrf_modem/include/nrf_modem_os_rpc.h>

Send a message with the RPC instance.

Parameters
instancePointer to RPC instance.
msgPointer to a buffer containing data to send.
lenSize of data in the msg buffer.
Return values
0on success.
-NRF_EBUSYwhen the instance is closed or handshaking.
-NRF_ENOMEMwhen there are not enough memory in circular buffer.
othererrno codes from dependent modules.