nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ NRF_RPC_CBOR_DISCARD

#define NRF_RPC_CBOR_DISCARD (   _group,
  _ctx 
)     nrf_rpc_free_tx_buf(_group, (_ctx).out_packet)

#include <nrf_rpc/include/nrf_rpc_cbor.h>

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.