nRF Connect SDK API 0.1.0
|
int nrf_cloud_rest_agnss_data_get | ( | struct nrf_cloud_rest_context *const | rest_ctx, |
struct nrf_cloud_rest_agnss_request const *const | request, | ||
struct nrf_cloud_rest_agnss_result *const | result | ||
) |
#include <include/net/nrf_cloud_rest.h>
nRF Cloud Assisted GNSS (A-GNSS) data request.
[in,out] | rest_ctx | Context for communicating with nRF Cloud's REST API. |
[in] | request | Data to be provided in API call. |
[in,out] | result | Optional; Additional buffer for A-GNSS data. This is necessary when the A-GNSS data from the cloud is larger than the fragment size specified by rest_ctx->fragment_size. |
0 | If successful. If result is NULL and the A-GNSS data is larger than the fragment size specified by rest_ctx->fragment_size, a positive value is returned, which indicates the size (in bytes) of the necessary result buffer. Otherwise, a (negative) error code is returned:
|