nRF Connect SDK API 2.8.99
|
int nrf_cloud_rest_location_get | ( | struct nrf_cloud_rest_context *const | rest_ctx, |
struct nrf_cloud_rest_location_request const *const | request, | ||
struct nrf_cloud_location_result *const | result ) |
#include <include/net/nrf_cloud_rest.h>
nRF Cloud location 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; parsed results of API response. If NULL, user should inspect the response buffer of nrf_cloud_rest_context. |
0 | If successful. Otherwise, a (negative) error code is returned. See "nRF Cloud: Request Failure" for details. |