nRF Connect SDK API 0.1.0
|
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.
[out] | obj | Object to contain the modem PVT data. |
[in] | mdm_pvt | Modem PVT data. |
-EINVAL | Invalid parameter. |
-EBADF | Invalid object type. |
-ENOTSUP | Action not supported for the object's type. |
-ENOENT | Object is not initialized. |
-ENOMEM | Out of memory. |
-ENOSYS | Modem library (NRF_MODEM) not enabled. |
0 | Success; modem PVT data added to object. |