![]() |
nRF Connect SDK API 3.3.99
|
| int nrf_cloud_rest_send_location | ( | struct nrf_cloud_rest_context *const | rest_ctx, |
| const char *const | device_id, | ||
| const struct nrf_cloud_gnss_data *const | gnss ) |
#include <include/net/nrf_cloud_rest.h>
Send GNSS data to nRF Cloud as a device message.
| [in,out] | rest_ctx | Context for communicating with nRF Cloud's REST API. |
| [in] | device_id | Null-terminated, unique device ID registered with nRF Cloud. |
| [in] | gnss | GNSS location data. |
| 0 | If successful. Otherwise, a (negative) error code is returned. See "nRF Cloud: Request Failure" for details. |