#include <applications/asset_tracker_v2/src/cloud/cloud_codec/cloud_codec.h>
Encode cloud codec cloud location data.
- Note
- LwM2M builds: This function does not output a list of objects, unlike other functions in this API. The object references that are required to update Wi-Fi access points are kept internal in the LwM2M utils library.
- Parameters
-
[out] | output | String buffer for encoding result. |
[in] | cloud_location | Cloud location data. |
- Return values
-
0 | on success. |
-ENODATA | if data object is not marked valid. |
-ENOMEM | if codec could not allocate memory. |
-EINVAL | if the data is invalid. |
-ENOTSUP | if the function is not supported by the encoding backend. |