nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
location_utils.h File Reference
#include <modem/location.h>

Go to the source code of this file.

Functions

bool location_utils_is_lte_available (void)
 Check if LTE networking is available.
 
const char * location_utils_nrf_cloud_jwt_generate (void)
 Generate JWT buffer to be used for nRF Cloud REST API use.
 
void location_utils_systime_to_location_datetime (struct location_datetime *datetime)
 Get current system time and fill that into a given location_datetime.
 
int location_utils_event_handler_append (location_event_handler_t handler)
 Add the handler in the event handler list if not already present.
 
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_event_handler_list_is_empty (void)
 Test if the handler list is empty.