nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_rpc_encoder_invalid()

void nrf_rpc_encoder_invalid ( struct nrf_rpc_cbor_ctx *  ctx)

#include <include/nrf_rpc/nrf_rpc_serialize.h>

Put encode into an invalid state. All further encoding on this encoder will be ignored. Invalid state can be checked with the is_encoder_invalid() function.

Parameters
[in,out]ctxCBOR encoding context.