nRF Connect SDK API 0.1.0
|
int nrf_cloud_location_process | ( | const char * | buf, |
struct nrf_cloud_location_result * | result | ||
) |
#include <include/net/nrf_cloud_location.h>
Process location data received from nRF Cloud over MQTT or REST.
buf | Data received from nRF Cloud. |
result | Parsed results. |
0 | If processed successfully and location found. |
1 | If processed successfully but no location data found. This indicates that the data is not a location response. |
-EFAULT | An nRF Cloud error code was processed. |