![]() |
nRF Connect SDK API 3.4.99
|
| int nrf_cloud_coap_agnss_data_get | ( | struct nrf_cloud_coap_agnss_request const *const | request, |
| struct nrf_cloud_coap_agnss_result * | result ) |
#include <nrf_cloud_coap.h>
Request nRF Cloud CoAP Assisted GNSS (A-GNSS) data.
| [in] | request | Data to be provided in API call. |
| [in,out] | result | Structure pointing to caller-provided buffer in which to store A-GNSS data. |
| -EACCES | Device does not have a valid nRF Cloud CoAP connection. |
| -EINVAL | will be returned, and an error message printed, if invalid parameters are given. |
| -ENOBUFS | will be returned, and an error message printed, if there is not enough buffer space to store retrieved A-GNSS data. |