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

◆ lwm2m_codec_helpers_set_pgps_data()

int lwm2m_codec_helpers_set_pgps_data ( struct cloud_data_pgps_request pgps_request)

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

Set Predicted GPS (P-GPS) request data. This function will populate the GNSS assistance object (object ID 33625) with the P-GPS request.

Parameters
[in]pgps_requestPointer to buffer that contains P-GPS data.
Return values
0If successful, otherwise a negative value indicating the reason of failure.
Returns
-ENODATA if the queued flag present in the input structure is false.