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

◆ nrf_rpc_rsp_decode_i32()

void nrf_rpc_rsp_decode_i32 ( const struct nrf_rpc_group * group,
struct nrf_rpc_cbor_ctx * ctx,
void * handler_data )

#include <include/nrf_rpc/nrf_rpc_serialize.h>

Decode a command response as a signed 32-bit integer value.

On decoding failure, this function triggers the nRF RPC error handler. It then sets the result to zero, ensuring consistent output in error scenarios.

Parameters
[in]groupnRF RPC group.
[in,out]ctxCBOR decoding context.
[in]handler_dataPointer to place where value will be decoded.