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

◆ cloud_codec_encode_config()

int cloud_codec_encode_config ( struct cloud_codec_data output,
struct cloud_data_cfg cfg 
)

#include <applications/asset_tracker_v2/src/cloud/cloud_codec/cloud_codec.h>

Encode current configuration.

Parameters
[out]outputString buffer for encoding result.
[in]cfgCurrent configuration.
Return values
0on success.
-ENOMEMif codec couldn't allocate memory.
-ENOTSUPif the function is not supported by the encoding backend.