nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_cloud_rest_location_get()

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.

Parameters
[in,out]rest_ctxContext for communicating with nRF Cloud's REST API.
[in]requestData to be provided in API call.
[in,out]resultOptional; parsed results of API response. If NULL, user should inspect the response buffer of nrf_cloud_rest_context.
Return values
0If successful. Otherwise, a (negative) error code is returned. See
embed:rst:inline :ref:`nrf_cloud_rest_failure` 
for details.