nRF Connect SDK API 2.8.99
|
int nrf_cloud_coap_location_get | ( | struct nrf_cloud_rest_location_request const *const | request, |
struct nrf_cloud_location_result *const | result ) |
#include <include/net/nrf_cloud_coap.h>
Request device location from nRF Cloud.
At least one of cell_info or wifi_info must be provided within the request.
[in] | request | Data to be provided in API call. |
[in,out] | result | Location information. |
-EACCES | Device does not have a valid nRF Cloud CoAP connection. |