#include <applications/asset_tracker_v2/src/cloud/cloud_codec/cloud_codec.h>
Encode cloud codec A-GNSS request.
- 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 A-GNSS are kept internal in the LwM2M utils library.
- Parameters
-
[out] | output | String buffer for encoding result. |
[in] | agnss_request | A-GNSS request data. |
- Return values
-
0 | on success. |
-ENODATA | if data object is not marked valid. |
-ENOMEM | if codec couldn't allocate memory. |
-ENOTSUP | if the function is not supported by the encoding backend. |