nrfxlib API 2.8.99
|
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.
[in] | group | nRF RPC group |
[in,out] | buf | Pointer to allocated packet buffer. |
[in] | len | Requested length of the buffer. |