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

◆ nrf_cloud_obj_modem_pvt_add()

int nrf_cloud_obj_modem_pvt_add ( struct nrf_cloud_obj *const  obj,
const struct nrf_modem_gnss_pvt_data_frame *const  mdm_pvt 
)

#include <include/net/nrf_cloud_codec.h>

Add modem PVT data to the provided object.

Parameters
[out]objObject to contain the modem PVT data.
[in]mdm_pvtModem PVT data.
Return values
-EINVALInvalid parameter.
-EBADFInvalid object type.
-ENOTSUPAction not supported for the object's type.
-ENOENTObject is not initialized.
-ENOMEMOut of memory.
-ENOSYSModem library (NRF_MODEM) not enabled.
0Success; modem PVT data added to object.