nRF Connect SDK API 0.1.0
|
void nrf_rpc_rsp_decode_u32 | ( | 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 an unsigned 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.
[in] | group | nRF RPC group. |
[in,out] | ctx | CBOR decoding context. |
[in] | handler_data | Pointer to place where value will be decoded. |