nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches
cloud_service.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef CLOUD_SERVICE_H_
8#define CLOUD_SERVICE_H_
9
10#include <modem/location.h>
11#include <modem/lte_lc.h>
13#include <net/nrf_cloud.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
31
47 const struct cloud_service_pos_req *params,
48 struct location_data *location,
49 enum nrf_cloud_error *cloud_err);
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif /* CLOUD_SERVICE_H_ */
int cloud_service_location_get(const struct cloud_service_pos_req *params, struct location_data *location, enum nrf_cloud_error *cloud_err)
Generate location request, send, and parse response.
nrf_cloud_error
nRF Cloud error codes. See the Error Codes section of nRF Cloud API documentation for more informatio...
Definition nrf_cloud.h:210
Public APIs for the Location library.
int32_t timeout_ms
Timeout (in milliseconds) of the cloud positioning procedure. SYS_FOREVER_MS means that the timer is ...
Definition cloud_service.h:29
struct wifi_scan_info * wifi_data
Definition cloud_service.h:24
struct lte_lc_cells_info * cell_data
Definition cloud_service.h:22
Definition cloud_service.h:20
Definition location.h:241
Results of neighbor cell measurements.
Definition lte_lc.h:686
Access points found during a Wi-Fi scan.
Definition wifi_location_common.h:29