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

◆ NRF_RPC_CBOR_DISCARD

#define NRF_RPC_CBOR_DISCARD ( _group,
_ctx )

#include <nrf_rpc/include/nrf_rpc_cbor.h>

Value:
nrf_rpc_free_tx_buf(_group, (_ctx).out_packet)
void nrf_rpc_free_tx_buf(const struct nrf_rpc_group *group, uint8_t *buf)
Deallocates Tx buffer.

Deallocate memory for a packet.

This macro should be used if memory was allocated, but it will not be sent with any of the send functions.

Parameters
_groupnRF RPC group, used for allocation.
_ctxPacket that was previously allocated.