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

◆ nrf_rpc_decode_str()

char * nrf_rpc_decode_str ( struct nrf_rpc_cbor_ctx *  ctx,
char *  buffer,
size_t  buffer_size 
)

#include <include/nrf_rpc/nrf_rpc_serialize.h>

Decode a string value.

Parameters
[in,out]ctxCBOR decoding context.
[out]bufferBuffer for decoded string.
[in]buffer_sizeBuffer size.
Return values
Pointerto a decoded string.