summaryrefslogtreecommitdiff
path: root/libloragw/inc
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2021-11-29 15:21:41 -0600
committerHarsh Sharma <harsh.sharma@multitech.com>2021-11-29 15:21:41 -0600
commit3816992ad8285d40eb1f8ab1338c84fcc1e911b6 (patch)
treea96e99219a7add5af4821924198e6e7ac300ad8b /libloragw/inc
parentcf52bdde13512e77a3d81ca5d59e58b25136a62b (diff)
downloadlora_gateway_mtac_full-3816992ad8285d40eb1f8ab1338c84fcc1e911b6.tar.gz
lora_gateway_mtac_full-3816992ad8285d40eb1f8ab1338c84fcc1e911b6.tar.bz2
lora_gateway_mtac_full-3816992ad8285d40eb1f8ab1338c84fcc1e911b6.zip
Fixed gps not updating on internal concentrator time difference being larger than 1.5. Added getting leap seconds from gpspipe5.0.8
Diffstat (limited to 'libloragw/inc')
-rw-r--r--libloragw/inc/loragw_gps.h7
1 files changed, 7 insertions, 0 deletions
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
@@ -117,6 +117,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)
@param serial_buff pointer to the string to be parsed