@@ -1900,7 +1900,7 @@ uint8_t SFE_UBLOX_GPS::extractByte(uint8_t spotToStart)
1900
1900
uint16_t SFE_UBLOX_GPS::getYear (uint16_t maxWait)
1901
1901
{
1902
1902
if (moduleQueried.gpsYear == false )
1903
- getPVT ();
1903
+ getPVT (maxWait );
1904
1904
moduleQueried.gpsYear = false ; // Since we are about to give this to user, mark this data as stale
1905
1905
return (gpsYear);
1906
1906
}
@@ -1909,7 +1909,7 @@ uint16_t SFE_UBLOX_GPS::getYear(uint16_t maxWait)
1909
1909
uint8_t SFE_UBLOX_GPS::getMonth (uint16_t maxWait)
1910
1910
{
1911
1911
if (moduleQueried.gpsMonth == false )
1912
- getPVT ();
1912
+ getPVT (maxWait );
1913
1913
moduleQueried.gpsMonth = false ; // Since we are about to give this to user, mark this data as stale
1914
1914
return (gpsMonth);
1915
1915
}
@@ -1918,7 +1918,7 @@ uint8_t SFE_UBLOX_GPS::getMonth(uint16_t maxWait)
1918
1918
uint8_t SFE_UBLOX_GPS::getDay (uint16_t maxWait)
1919
1919
{
1920
1920
if (moduleQueried.gpsDay == false )
1921
- getPVT ();
1921
+ getPVT (maxWait );
1922
1922
moduleQueried.gpsDay = false ; // Since we are about to give this to user, mark this data as stale
1923
1923
return (gpsDay);
1924
1924
}
@@ -1927,7 +1927,7 @@ uint8_t SFE_UBLOX_GPS::getDay(uint16_t maxWait)
1927
1927
uint8_t SFE_UBLOX_GPS::getHour (uint16_t maxWait)
1928
1928
{
1929
1929
if (moduleQueried.gpsHour == false )
1930
- getPVT ();
1930
+ getPVT (maxWait );
1931
1931
moduleQueried.gpsHour = false ; // Since we are about to give this to user, mark this data as stale
1932
1932
return (gpsHour);
1933
1933
}
@@ -1936,7 +1936,7 @@ uint8_t SFE_UBLOX_GPS::getHour(uint16_t maxWait)
1936
1936
uint8_t SFE_UBLOX_GPS::getMinute (uint16_t maxWait)
1937
1937
{
1938
1938
if (moduleQueried.gpsMinute == false )
1939
- getPVT ();
1939
+ getPVT (maxWait );
1940
1940
moduleQueried.gpsMinute = false ; // Since we are about to give this to user, mark this data as stale
1941
1941
return (gpsMinute);
1942
1942
}
@@ -1945,7 +1945,7 @@ uint8_t SFE_UBLOX_GPS::getMinute(uint16_t maxWait)
1945
1945
uint8_t SFE_UBLOX_GPS::getSecond (uint16_t maxWait)
1946
1946
{
1947
1947
if (moduleQueried.gpsSecond == false )
1948
- getPVT ();
1948
+ getPVT (maxWait );
1949
1949
moduleQueried.gpsSecond = false ; // Since we are about to give this to user, mark this data as stale
1950
1950
return (gpsSecond);
1951
1951
}
@@ -1954,7 +1954,7 @@ uint8_t SFE_UBLOX_GPS::getSecond(uint16_t maxWait)
1954
1954
uint16_t SFE_UBLOX_GPS::getMillisecond (uint16_t maxWait)
1955
1955
{
1956
1956
if (moduleQueried.gpsiTOW == false )
1957
- getPVT ();
1957
+ getPVT (maxWait );
1958
1958
moduleQueried.gpsiTOW = false ; // Since we are about to give this to user, mark this data as stale
1959
1959
return (gpsMillisecond);
1960
1960
}
@@ -1963,7 +1963,7 @@ uint16_t SFE_UBLOX_GPS::getMillisecond(uint16_t maxWait)
1963
1963
int32_t SFE_UBLOX_GPS::getNanosecond (uint16_t maxWait)
1964
1964
{
1965
1965
if (moduleQueried.gpsNanosecond == false )
1966
- getPVT ();
1966
+ getPVT (maxWait );
1967
1967
moduleQueried.gpsNanosecond = false ; // Since we are about to give this to user, mark this data as stale
1968
1968
return (gpsNanosecond);
1969
1969
}
@@ -1999,63 +1999,63 @@ boolean SFE_UBLOX_GPS::getPVT(uint16_t maxWait)
1999
1999
uint32_t SFE_UBLOX_GPS::getTimeOfWeek (uint16_t maxWait /* = 250*/ )
2000
2000
{
2001
2001
if (moduleQueried.gpsiTOW == false )
2002
- getPVT ();
2002
+ getPVT (maxWait );
2003
2003
moduleQueried.gpsiTOW = false ; // Since we are about to give this to user, mark this data as stale
2004
2004
return (timeOfWeek);
2005
2005
}
2006
2006
2007
2007
int32_t SFE_UBLOX_GPS::getHighResLatitude (uint16_t maxWait /* = 250*/ )
2008
2008
{
2009
2009
if (highResModuleQueried.highResLatitude == false )
2010
- getHPPOSLLH ();
2010
+ getHPPOSLLH (maxWait );
2011
2011
highResModuleQueried.highResLatitude = false ; // Since we are about to give this to user, mark this data as stale
2012
2012
return (highResLatitude);
2013
2013
}
2014
2014
2015
2015
int32_t SFE_UBLOX_GPS::getHighResLongitude (uint16_t maxWait /* = 250*/ )
2016
2016
{
2017
2017
if (highResModuleQueried.highResLongitude == false )
2018
- getHPPOSLLH ();
2018
+ getHPPOSLLH (maxWait );
2019
2019
highResModuleQueried.highResLongitude = false ; // Since we are about to give this to user, mark this data as stale
2020
2020
return (highResLongitude);
2021
2021
}
2022
2022
2023
2023
int32_t SFE_UBLOX_GPS::getElipsoid (uint16_t maxWait /* = 250*/ )
2024
2024
{
2025
2025
if (highResModuleQueried.elipsoid == false )
2026
- getHPPOSLLH ();
2026
+ getHPPOSLLH (maxWait );
2027
2027
highResModuleQueried.elipsoid = false ; // Since we are about to give this to user, mark this data as stale
2028
2028
return (elipsoid);
2029
2029
}
2030
2030
2031
2031
int32_t SFE_UBLOX_GPS::getMeanSeaLevel (uint16_t maxWait /* = 250*/ )
2032
2032
{
2033
2033
if (highResModuleQueried.meanSeaLevel == false )
2034
- getHPPOSLLH ();
2034
+ getHPPOSLLH (maxWait );
2035
2035
highResModuleQueried.meanSeaLevel = false ; // Since we are about to give this to user, mark this data as stale
2036
2036
return (meanSeaLevel);
2037
2037
}
2038
2038
2039
2039
int32_t SFE_UBLOX_GPS::getGeoidSeparation (uint16_t maxWait /* = 250*/ )
2040
2040
{
2041
2041
if (highResModuleQueried.geoidSeparation == false )
2042
- getHPPOSLLH ();
2042
+ getHPPOSLLH (maxWait );
2043
2043
highResModuleQueried.geoidSeparation = false ; // Since we are about to give this to user, mark this data as stale
2044
2044
return (geoidSeparation);
2045
2045
}
2046
2046
2047
2047
uint32_t SFE_UBLOX_GPS::getHorizontalAccuracy (uint16_t maxWait /* = 250*/ )
2048
2048
{
2049
2049
if (highResModuleQueried.horizontalAccuracy == false )
2050
- getHPPOSLLH ();
2050
+ getHPPOSLLH (maxWait );
2051
2051
highResModuleQueried.horizontalAccuracy = false ; // Since we are about to give this to user, mark this data as stale
2052
2052
return (horizontalAccuracy);
2053
2053
}
2054
2054
2055
2055
uint32_t SFE_UBLOX_GPS::getVerticalAccuracy (uint16_t maxWait /* = 250*/ )
2056
2056
{
2057
2057
if (highResModuleQueried.verticalAccuracy == false )
2058
- getHPPOSLLH ();
2058
+ getHPPOSLLH (maxWait );
2059
2059
highResModuleQueried.verticalAccuracy = false ; // Since we are about to give this to user, mark this data as stale
2060
2060
return (verticalAccuracy);
2061
2061
}
@@ -2097,7 +2097,7 @@ uint32_t SFE_UBLOX_GPS::getPositionAccuracy(uint16_t maxWait)
2097
2097
int32_t SFE_UBLOX_GPS::getLatitude (uint16_t maxWait)
2098
2098
{
2099
2099
if (moduleQueried.latitude == false )
2100
- getPVT ();
2100
+ getPVT (maxWait );
2101
2101
moduleQueried.latitude = false ; // Since we are about to give this to user, mark this data as stale
2102
2102
2103
2103
return (latitude);
@@ -2108,7 +2108,7 @@ int32_t SFE_UBLOX_GPS::getLatitude(uint16_t maxWait)
2108
2108
int32_t SFE_UBLOX_GPS::getLongitude (uint16_t maxWait)
2109
2109
{
2110
2110
if (moduleQueried.longitude == false )
2111
- getPVT ();
2111
+ getPVT (maxWait );
2112
2112
moduleQueried.longitude = false ; // Since we are about to give this to user, mark this data as stale
2113
2113
moduleQueried.all = false ;
2114
2114
@@ -2119,7 +2119,7 @@ int32_t SFE_UBLOX_GPS::getLongitude(uint16_t maxWait)
2119
2119
int32_t SFE_UBLOX_GPS::getAltitude (uint16_t maxWait)
2120
2120
{
2121
2121
if (moduleQueried.altitude == false )
2122
- getPVT ();
2122
+ getPVT (maxWait );
2123
2123
moduleQueried.altitude = false ; // Since we are about to give this to user, mark this data as stale
2124
2124
moduleQueried.all = false ;
2125
2125
@@ -2132,7 +2132,7 @@ int32_t SFE_UBLOX_GPS::getAltitude(uint16_t maxWait)
2132
2132
int32_t SFE_UBLOX_GPS::getAltitudeMSL (uint16_t maxWait)
2133
2133
{
2134
2134
if (moduleQueried.altitudeMSL == false )
2135
- getPVT ();
2135
+ getPVT (maxWait );
2136
2136
moduleQueried.altitudeMSL = false ; // Since we are about to give this to user, mark this data as stale
2137
2137
moduleQueried.all = false ;
2138
2138
@@ -2143,7 +2143,7 @@ int32_t SFE_UBLOX_GPS::getAltitudeMSL(uint16_t maxWait)
2143
2143
uint8_t SFE_UBLOX_GPS::getSIV (uint16_t maxWait)
2144
2144
{
2145
2145
if (moduleQueried.SIV == false )
2146
- getPVT ();
2146
+ getPVT (maxWait );
2147
2147
moduleQueried.SIV = false ; // Since we are about to give this to user, mark this data as stale
2148
2148
moduleQueried.all = false ;
2149
2149
@@ -2155,7 +2155,7 @@ uint8_t SFE_UBLOX_GPS::getSIV(uint16_t maxWait)
2155
2155
uint8_t SFE_UBLOX_GPS::getFixType (uint16_t maxWait)
2156
2156
{
2157
2157
if (moduleQueried.fixType == false )
2158
- getPVT ();
2158
+ getPVT (maxWait );
2159
2159
moduleQueried.fixType = false ; // Since we are about to give this to user, mark this data as stale
2160
2160
moduleQueried.all = false ;
2161
2161
@@ -2168,7 +2168,7 @@ uint8_t SFE_UBLOX_GPS::getFixType(uint16_t maxWait)
2168
2168
uint8_t SFE_UBLOX_GPS::getCarrierSolutionType (uint16_t maxWait)
2169
2169
{
2170
2170
if (moduleQueried.carrierSolution == false )
2171
- getPVT ();
2171
+ getPVT (maxWait );
2172
2172
moduleQueried.carrierSolution = false ; // Since we are about to give this to user, mark this data as stale
2173
2173
moduleQueried.all = false ;
2174
2174
@@ -2179,7 +2179,7 @@ uint8_t SFE_UBLOX_GPS::getCarrierSolutionType(uint16_t maxWait)
2179
2179
int32_t SFE_UBLOX_GPS::getGroundSpeed (uint16_t maxWait)
2180
2180
{
2181
2181
if (moduleQueried.groundSpeed == false )
2182
- getPVT ();
2182
+ getPVT (maxWait );
2183
2183
moduleQueried.groundSpeed = false ; // Since we are about to give this to user, mark this data as stale
2184
2184
moduleQueried.all = false ;
2185
2185
@@ -2190,7 +2190,7 @@ int32_t SFE_UBLOX_GPS::getGroundSpeed(uint16_t maxWait)
2190
2190
int32_t SFE_UBLOX_GPS::getHeading (uint16_t maxWait)
2191
2191
{
2192
2192
if (moduleQueried.headingOfMotion == false )
2193
- getPVT ();
2193
+ getPVT (maxWait );
2194
2194
moduleQueried.headingOfMotion = false ; // Since we are about to give this to user, mark this data as stale
2195
2195
moduleQueried.all = false ;
2196
2196
@@ -2201,7 +2201,7 @@ int32_t SFE_UBLOX_GPS::getHeading(uint16_t maxWait)
2201
2201
uint16_t SFE_UBLOX_GPS::getPDOP (uint16_t maxWait)
2202
2202
{
2203
2203
if (moduleQueried.pDOP == false )
2204
- getPVT ();
2204
+ getPVT (maxWait );
2205
2205
moduleQueried.pDOP = false ; // Since we are about to give this to user, mark this data as stale
2206
2206
moduleQueried.all = false ;
2207
2207
0 commit comments