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

◆ nrf_cloud_obj_pvt_add()

int nrf_cloud_obj_pvt_add ( struct nrf_cloud_obj *const  obj,
const struct nrf_cloud_gnss_pvt *const  pvt 
)

#include <include/net/nrf_cloud_codec.h>

Add PVT data to the provided object.

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