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

◆ nrf_rpc_decoding_done()

void nrf_rpc_decoding_done ( const struct nrf_rpc_group * group,
const uint8_t * packet )

#include <nrf_rpc/include/nrf_rpc.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_cmd_rsp or nrf_rpc_cmd_rsp_no_err. Packet is automatically deallocated after completion of the response handler function, so this nrf_rpc_decoding_done is not needed in response handler.

Parameters
groupGroup that decoder belongs to.
packetPacket where parsing has completed.