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

◆ nrf_rpc_alloc_tx_buf()

void nrf_rpc_alloc_tx_buf ( const struct nrf_rpc_group group,
uint8_t **  buf,
size_t  len 
)

#include <nrf_rpc/include/nrf_rpc.h>

Allocates buffer for a packet.

Memory is automatically deallocated after packet sending. If not, nrf_rpc_free_tx_buf can be used.

Parameters
[in]groupnRF RPC group
[in,out]bufPointer to allocated packet buffer.
[in]lenRequested length of the buffer.