nRF Connect SDK API 2.8.99
|
void nrf_rpc_decoder_invalid | ( | struct nrf_rpc_cbor_ctx * | ctx, |
int | err ) |
#include <include/nrf_rpc/nrf_rpc_serialize.h>
Put decoder into an invalid state and set error code that caused it. All further decoding on this decoder will be ignored. Invalid state can be checked with the nrf_rpc_decode_valid() function.
[in] | ctx | CBOR decoding context. |
[in] | err | Cbor error code to set. |