nRF Connect SDK API
3.4.99
Toggle main menu visibility
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
>
12
#include <
net/wifi_location_common.h
>
13
#include <
net/nrf_cloud.h
>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
20
struct
cloud_service_pos_req
{
22
struct
lte_lc_cells_info
*
cell_data
;
24
struct
wifi_scan_info
*
wifi_data
;
29
int32_t
timeout_ms
;
30
};
31
46
int
cloud_service_location_get
(
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_ */
cloud_service_location_get
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
nRF Cloud error codes. See the Error Codes section of nRF Cloud API documentation for more informatio...
Definition
nrf_cloud.h:210
location.h
Public APIs for the Location library.
lte_lc.h
nrf_cloud.h
cloud_service_pos_req::timeout_ms
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
cloud_service_pos_req::wifi_data
struct wifi_scan_info * wifi_data
Definition
cloud_service.h:24
cloud_service_pos_req::cell_data
struct lte_lc_cells_info * cell_data
Definition
cloud_service.h:22
cloud_service_pos_req
Definition
cloud_service.h:20
location_data
Definition
location.h:241
lte_lc_cells_info
Results of neighbor cell measurements.
Definition
lte_lc.h:686
wifi_scan_info
Access points found during a Wi-Fi scan.
Definition
wifi_location_common.h:29
wifi_location_common.h
lib
location
cloud_service.h
Generated on
for nRF Connect SDK API by
1.17.0