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

◆ cloud_codec_encode_agnss_request()

int cloud_codec_encode_agnss_request ( struct cloud_codec_data output,
struct cloud_data_agnss_request agnss_request 
)

#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]outputString buffer for encoding result.
[in]agnss_requestA-GNSS request data.
Return values
0on success.
-ENODATAif data object is not marked valid.
-ENOMEMif codec couldn't allocate memory.
-ENOTSUPif the function is not supported by the encoding backend.