nRF Connect SDK API 0.1.0
|
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.
[out] | output | String buffer for encoding result. |
[in] | cfg | Current configuration. |
0 | on success. |
-ENOMEM | if codec couldn't allocate memory. |
-ENOTSUP | if the function is not supported by the encoding backend. |