nRF Connect SDK API 0.1.0
|
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 embed:rst:inline :ref:`nrf_cloud_rest_failure`for details. |