#include <include/net/nrf_cloud_coap.h>
Request nRF Cloud CoAP Assisted GNSS (A-GNSS) data.
- Parameters
-
[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. |
- Return values
-
-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. |
- Returns
- 0 If successful, nonzero if failed. Negative values are device-side errors defined in errno.h. Positive values are cloud-side errors (CoAP result codes) defined in zephyr/net/coap.h.