nRF Connect SDK API 2.8.99
|
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.
[out] | obj | Object to contain the PVT data. |
[in] | pvt | 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. |
0 | Success; PVT data added to object. |