nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_rpc_rsp()

int nrf_rpc_rsp ( const struct nrf_rpc_group group,
uint8_t *  packet,
size_t  len 
)

#include <nrf_rpc/include/nrf_rpc.h>

Send a response.

Parameters
groupGroup that response belongs to.
packetPacket allocated by nrf_rpc_alloc_tx_buf and filled with encoded data.
lenLength of the packet. Can be smaller than allocated.
Returns
0 on success or negative error code if a transport layer reported a sending error.