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

◆ cloud_service_location_get()

int cloud_service_location_get ( const struct cloud_service_pos_req * params,
struct location_data * location )

Generate location request, send, and parse response.

Parameters
[in]paramsCloud positioning parameters to be used.
[out]locationStorage for the result from response parsing.
Returns
0 on success, or negative error code on failure.
Return values
-ENOMEMOut of memory.
-ENOMSGParsing response from the location service failed.