nRF Connect SDK API 2.8.99
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 "nRF Cloud: Request Failure" for details.