Commit Graph

287 Commits

Author SHA1 Message Date
Carter Nelson 9ee7baf6c3
Merge pull request #140 from Cyber-by-the-Sea/add-warning
Add warning about library usage
2022-09-20 07:07:38 -07:00
devtty1er 736f958882 Add warning 2022-07-31 19:16:22 -04:00
Eva Herrada 135510e928
Bump to 1.7.0 2022-07-21 16:13:26 -04:00
Carter Nelson e062c4b05e
Merge pull request #132 from wijnanb/131_add_parse_for_antenna_stats
131 add parse for antenna stats
2022-07-18 14:34:14 -07:00
Carter Nelson 8e252802d7
Merge pull request #125 from petrkr/pk/stream-support
Added support for generic Stream class
2022-07-18 14:30:40 -07:00
Eva Herrada 922afbf1a7
Bump to 1.6.3 2022-07-11 15:30:53 -04:00
lady ada 22c229d7bf swap begin/wait for esp32 2022-07-07 21:39:22 -04:00
Eva Herrada 0412958a6a
Bump to 1.6.2/ 2022-05-25 14:56:05 -04:00
Matt Goodrich d722186e8e
Merge pull request #137 from cedricgrothues/patch-1
Fix include guard in `NMEA_data.h`
2022-05-20 08:50:37 -04:00
Eva Herrada 4683307533
Bump to 1.6.1 2022-05-10 15:31:55 -04:00
Matt Goodrich 0374d49417
Merge pull request #138 from anarkiwi/minint
c++ min() wants args of the same type (enables compilation with -fno-permissive).
2022-05-09 17:40:46 -04:00
Josh Bailey 48ca1177f4 c++ min() wants args of the same type (https://en.cppreference.com/w/cpp/algorithm/min).
This allows us to compile with -fno-permissive (gcc default).
2022-03-17 10:39:53 +13:00
Cedric Grothues d8686043fb
Fix `NMEA_data.h` include guard 2022-03-07 20:12:08 +01:00
Eva Herrada 67a6ef4d9c
Bump to 1.6.0 2022-02-10 16:16:54 -05:00
Limor "Ladyada" Fried d8da9b9757
Merge pull request #136 from brunob45/no_sw_serial
Add #define to disable SW Serial
2022-02-05 11:47:52 -05:00
Bruno Bousquet 43b28b978e
Fix formatting 2022-02-01 16:32:55 -05:00
Bruno Bousquet 290b1ed835 keep USE_SW_SERIAL define 2022-01-31 23:23:06 -05:00
Bruno Bousquet ec1882be89 add define to disable sw serial 2022-01-31 23:08:42 -05:00
Petr Kracík a1f664dd0b Make clang happy 2021-11-20 20:55:34 +01:00
Petr Kracík d34d29ab38 Added support for generic Stream class 2021-11-20 19:03:31 +01:00
Dylan Herrada f5030a2692
Bump to 1.5.4 2021-02-09 16:39:53 -05:00
lady ada 7800a6e30f tweak header description 2021-02-07 16:54:12 -05:00
lady ada 8546ac5058 reduce excess newlines. fix header 2021-02-07 15:41:52 -05:00
lady ada 9ce89f0490 add starting text, ask for version last, fix baudrate to 115200 to match tutorial 2021-02-07 15:23:12 -05:00
Bert Wijnants 156a6dcb0c #131 Even more to fix clang formatting 2021-02-05 01:02:44 +01:00
Bert Wijnants ab1e7d315a #131 More to fix clang formatting 2021-02-05 01:00:00 +01:00
Bert Wijnants 9714164079 #131 Try to fix clang formatting 2021-02-05 00:45:56 +01:00
Bert Wijnants 6abd6f3548 #131 add antenna status to parsing example 2021-02-04 22:49:50 +01:00
Bert Wijnants 87925e4afe #131 Add parse for antenna stats 2021-02-04 22:46:26 +01:00
Dylan Herrada 490a2810b6
Bump to 1.5.3 2020-11-03 15:43:01 -05:00
Matt Goodrich 737f8b7d2c
Merge pull request #129 from foodini/patch-1
Fix issue with millisecond parsing.
2020-10-27 17:15:50 -04:00
Ron Barry 1666dae26b
Fix issue with millisecond parsing.
By calling atof() on p, we're converting the entire time string  (101520.123 for 10:15:20am and 123 milliseconds) to a float, then multiplying by 1000 to get ms. This results in a value that overflows and exhibits all sorts of strange behavior as seconds and minutes turn over. It's clearly not what was intended. From the if statement wrapping the conversion, it is clear that the author intended to make the atof() conversion on the dec pointer, instead. Making this change actually does fix the parsing so that Adafruit_GPS' milliseconds property correctly matches the value in the NMEA sentence.

You guys do great work. Thanks for everything!
2020-10-18 01:41:23 -07:00
dherrada 8d7ea109f1
Bump to 1.5.2 2020-07-21 09:44:40 -04:00
lady ada ea6dca6840 get more data 2020-07-19 12:35:42 -04:00
Matt Goodrich 9419a019bc
Update library.properties 2020-06-04 15:27:08 -04:00
Limor "Ladyada" Fried 2b20565cfd
Merge pull request #121 from drak7/master
Bugfix for parseCoord
2020-06-04 15:14:30 -04:00
Matt Goodrich e5ad8934d8 Bugfix for parseCoord 2020-06-04 14:43:11 -04:00
Matt Goodrich e730f81c3f
Update for 1.5.0 release 2020-05-07 19:35:54 -04:00
Matt Goodrich c65c00ae15
Merge pull request #117 from optorres/fix-warnings-2
Fix boolean deprecation and -Wdouble-promotion warnings
2020-02-25 14:30:22 -05:00
Matt Goodrich 8738b307ab
Merge pull request #116 from edgar-bonet/millis-rollover
Correct handling of millis() rollover
2020-02-25 11:55:56 -05:00
Owen Torres a0cf6d860a Fix formatting 2020-02-23 18:53:32 -05:00
Owen Torres e3caa7d491 Fix boolean deprecation and -Wdouble-promotion warnings 2020-02-23 18:39:46 -05:00
Edgar Bonet 76526b0b15 Document time limits of secondsSince*()
The values returned by Adafruit_GPS::secondsSince{Fix,Time,Date}()
wrap around if larger than 2^32 ms.
2020-02-21 21:04:56 +01:00
Edgar Bonet 939534d580 Correct handling of millis() rollover
millis() returns an unsigned long integer, and C++ guarantees that
arithmetics on this type work modulo (ULONG_MAX+1). This behavior
ensures that computing a delay as

    millis() - previousMillis

yields the correct result across millis() rollover events, as long as
the time actually elapsed is less than about 49.7 days.
2020-02-20 22:03:34 +01:00
Matt Goodrich 96625de7d3
Merge pull request #115 from sellensr/master
Bug Fixes
2020-02-10 11:30:35 -05:00
Rick Sellens fdda5b6e1e clang 2020-02-07 20:20:30 -05:00
Rick Sellens 59c1a4acbd casts to make unambiguous on UNO 2020-02-07 20:04:33 -05:00
Rick Sellens 8c550d278e fix to parsing bug on RMB sentence 2020-02-07 14:54:26 -05:00
Rick Sellens a047465a73 More rigor in parseTime()
previous version ran ok with M0, but generated exceptions in ESP32 when decimals not found.
2020-02-07 14:26:39 -05:00
Rick Sellens 07fd81fd91 explicit cast eliminates ambiguity
ESP32 wire lib includes requestFrom(int,int,int) and requestFrom(uint16_t,uint8_t,bool) and throws a warning trying to resolve.
2020-01-31 07:30:30 -05:00