From 3816992ad8285d40eb1f8ab1338c84fcc1e911b6 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Mon, 29 Nov 2021 15:21:41 -0600 Subject: Fixed gps not updating on internal concentrator time difference being larger than 1.5. Added getting leap seconds from gpspipe --- libloragw/inc/loragw_gps.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libloragw/inc/loragw_gps.h') diff --git a/libloragw/inc/loragw_gps.h b/libloragw/inc/loragw_gps.h index 94d1d2a..0714974 100644 --- a/libloragw/inc/loragw_gps.h +++ b/libloragw/inc/loragw_gps.h @@ -116,6 +116,13 @@ int lgw_gps_enable(struct gps_data_t *gpsdata, struct fixsource_t *source); */ int lgw_gps_disable(struct gps_data_t *gpsdata); +/** +@brief Get updated leap seconds + +@return success if the function was able to get the new leap seconds +*/ +int lgw_get_leap_seconds(); + /** @brief Parse messages coming from the GPS system (or other GNSS) -- cgit v1.2.3