nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
location_utils.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef LOCATION_UTILS_H
8#define LOCATION_UTILS_H
9
10#include <modem/location.h>
11
22
32
38
47
56
63
70
71#endif /* LOCATION_UTILS_H */
void(* location_event_handler_t)(const struct location_event_data *event_data)
Event handler prototype.
Definition: location.h:609
Public APIs for the Location library.
int location_utils_event_handler_append(location_event_handler_t handler)
Add the handler in the event handler list if not already present.
bool location_utils_event_handler_list_is_empty(void)
Test if the handler list is empty.
const char * location_utils_nrf_cloud_jwt_generate(void)
Generate JWT buffer to be used for nRF Cloud REST API use.
int location_utils_event_handler_remove(location_event_handler_t handler)
Remove the handler from the event handler list if present.
void location_utils_event_dispatch(const struct location_event_data *const evt)
Dispatch events for the registered event handlers.
bool location_utils_is_lte_available(void)
Check if LTE networking is available.
void location_utils_systime_to_location_datetime(struct location_datetime *datetime)
Get current system time and fill that into a given location_datetime.
Definition: location.h:161
Definition: location.h:306