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

◆ nrf_rpc_cbor_decoding_done()

void nrf_rpc_cbor_decoding_done ( const struct nrf_rpc_group * group,
struct nrf_rpc_cbor_ctx * ctx )

#include <nrf_rpc/include/nrf_rpc_cbor.h>

Indicate that decoding of the input packet is done.

This function must be called as soon as the input packet was parsed and can be deallocated. It must be called in command decoder, event decoder and after nrf_rpc_cbor_cmd_rsp or nrf_rpc_cbor_cmd_rsp_no_err. Packet is automatically deallocated after completion of the response handler function, so this nrf_rpc_cbor_decoding_done is not needed in response handler.

Parameters
groupGroup that response belongs to.
ctxContext allocated by NRF_RPC_CBOR_ALLOC.