nrfxlib API 0.1.0
|
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.
group | Group that decoder belongs to. |
packet | Packet where parsing has completed. |