diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2021-11-29 15:21:41 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2021-11-29 15:21:41 -0600 |
commit | 3816992ad8285d40eb1f8ab1338c84fcc1e911b6 (patch) | |
tree | a96e99219a7add5af4821924198e6e7ac300ad8b /libloragw/inc/loragw_gps.h | |
parent | cf52bdde13512e77a3d81ca5d59e58b25136a62b (diff) | |
download | lora_gateway_mtac_full-00b37941cc42a087daaf80449b390497d0d63dfc.tar.gz lora_gateway_mtac_full-00b37941cc42a087daaf80449b390497d0d63dfc.tar.bz2 lora_gateway_mtac_full-00b37941cc42a087daaf80449b390497d0d63dfc.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/loragw_gps.h')
-rw-r--r-- | libloragw/inc/loragw_gps.h | 7 |
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 |