Commit Graph

153 Commits

Author SHA1 Message Date
Limor "Ladyada" Fried 50bf6203b5
Merge pull request #69 from stoph/patch-2
Fix spelling error
2019-07-09 13:22:01 -04:00
Jan Hoffmann 8c0bc76425
Update library.properties 2019-07-04 12:16:40 +02:00
Matt Goodrich d853c17be1
Merge pull request #93 from Dygear/master
Signed latitude_fixed & longitude_fixed based on location.
2019-06-25 16:28:14 -04:00
Mark Tomlin 460caf00c7 Fixed data type when flipping the sign. 2019-06-25 16:01:09 -04:00
Mark Tomlin 413455c985 Changed latitude_fixed to be negative when south of the equator and longitude_fixed to be negative when west of prime meridian.y 2019-06-25 01:43:40 -04:00
Matt Goodrich f14d10148b
Bump to 1.1.0 2019-06-19 12:26:46 -04:00
Limor "Ladyada" Fried a2d92e2597
Merge pull request #91 from drak7/master
Fix for #41 and #68 time parsing issues, based on fixes from HamishB
2019-06-17 15:26:32 -04:00
Matt Goodrich 8f64274401 Merge remote-tracking branch 'upstream/master' 2019-06-17 14:56:13 -04:00
Limor "Ladyada" Fried 2072e40b6b
Merge pull request #92 from jessebraham/gnss
Parse sentences with GNSS identifiers
2019-06-14 17:13:34 -04:00
Jesse Braham 85751e96f3 Parse sentences with GNSS identifiers 2019-06-14 13:41:42 -07:00
Matt Goodrich efa9bfd857 Fix for #41 and #68 time parsing issues, based on fixes from HamishB 2019-05-16 11:55:42 -04:00
Matt Goodrich c68499182d
Merge pull request #90 from sellensr/master
Split parsing and track time received
2019-04-26 12:03:44 -04:00
sellensr 5934857f24 Create .uno.test.skip
Uses Serial1, so it won't work with UNO, but does compile OK with ESP8266 (haven't tested)
2019-04-22 18:32:22 -04:00
Rick Sellens a553d5c374 Delete .DS_Store 2019-04-22 17:23:21 -04:00
Rick Sellens af4d406340 Delete .DS_Store 2019-04-22 15:47:01 -04:00
Rick Sellens 02358e0d3b Delete .DS_Store
pesky hidden files
2019-04-22 15:42:01 -04:00
Rick Sellens 547b611daf Changed time_t to uint32_t
forgot time_t isn't defined for UNO
2019-04-22 15:35:05 -04:00
sellensr e121bb53c8 Track when sentence received
Improve the time information by tracking from when a sentence is received, rather than when it is parsed. Track last valid Date, Time, and Fix separately.
2019-04-20 13:51:00 -04:00
sellensr 76a0384f71 parse() improvements
Split out separate functions to parse fragments of sentences for time, lat, lon, fix. No functional changes. Reduces repetition and makes parsing process more readable. Will make adding new sentences less cumbersome. The difference tracking gets a little wonky stretching across function boundaries.

Added timeSinceFix() to return seconds since a valid fix was received. Modified $GPGGA parsing to also set fix = true/false based on quality.

Added more output sentences to Adafruit_GPS.h to facilittate testing with different sentences.
2019-04-17 22:37:47 -04:00
Rick Sellens 5407c85b41
Merge pull request #3 from adafruit/master
Merge pull request #88 from sellensr/master
2019-04-17 21:54:23 -04:00
Matt Goodrich 3b01dff4c8
Merge pull request #88 from sellensr/master
Index checksum explicitly on $ and *
2019-04-17 13:46:39 -04:00
Rick Sellens 2b06a9d0ef Delete .gitignore 2019-04-17 12:31:59 -04:00
Rick Sellens 4d064cb796 test parse string for $ 2019-04-17 12:23:58 -04:00
Rick Sellens 653b565d2a Create .gitignore 2019-04-17 12:13:17 -04:00
sellensr 1f369b6a8c Merge branch 'master' of https://github.com/sellensr/Adafruit_GPS 2019-04-16 19:49:10 -04:00
sellensr 44af8c9086 Index checksum explicitly on $ and *
parse() Improves slightly on https://github.com/adafruit/Adafruit_GPS/pull/86 by indexing on the position of the $ and the * in the string instead of the beginning and the end of the string.  Does not require sentence string have a particular termination, e.g. CRLF.
2019-04-16 19:49:01 -04:00
Rick Sellens 1b47fb7334
Merge pull request #2 from adafruit/master
update
2019-04-16 19:23:48 -04:00
Matt Goodrich 90f059091d
Merge pull request #87 from sellensr/master
Add 115200 bps and parse $GPGLL
2019-04-16 14:18:16 -04:00
Matt Goodrich 85195eeeb9 Merge pull request #47 from hunnybear/master
Adding a gga only constant
2019-04-16 13:44:57 -04:00
Rick Sellens b431f20491 update to strStartsWith()
strStartsWith(nmea, "$GPGLL") now used to identify the sentence.
2019-04-16 13:41:25 -04:00
Rick Sellens ff2c714d4d
Merge pull request #1 from adafruit/master
Update my fork from the adafruit repo
2019-04-16 13:00:42 -04:00
Rick Sellens 968e95344c Revert "parse checksum to *"
This reverts commit 0f867b508a.
2019-04-16 12:49:05 -04:00
Rick Sellens 37fed7f05d Revert "tidy lines and checksum"
This reverts commit 8bad5eacfb.
2019-04-16 12:48:02 -04:00
Matt Goodrich f8c5386402
Merge pull request #61 from pdoddster/master
Fail parser if no checksum
2019-04-16 10:18:02 -04:00
Matt Goodrich c149283ea8
Merge pull request #86 from srob1/read-cr-lf-fix
Fix read() so NMEA sentences are properly CR-LF terminated
2019-04-16 09:43:15 -04:00
sellensr 8bad5eacfb tidy lines and checksum
Parse start of checksum as character after first $.
Don't include '\n' or '\r' in GPS lines read. Previous code was putting '\r' at the end of each line and '\n' at the start before the $, thus having to start the checksum calculation at the third character. This may break the spacing on some code that prints out the NMEA lines.
2019-04-15 13:50:37 -04:00
sellensr 0f867b508a parse checksum to *
Parse the NMEA checksum based on the location of the asterisk, rather than the end of the string. Avoids problems if line ends with other than CRLF.
2019-04-15 11:51:40 -04:00
sellensr 8e17fcc9a9 Add $GPGLL sentence to parsing
$GPGLL has fewer arguments in a different order. The $GPRMC code was directly copied and the order rearranged.
2019-04-14 20:25:59 -04:00
sellensr 77176c2afd #define for 115200 baud 2019-04-14 19:40:39 -04:00
Sam Roberts f52a4d2939 Fix read() so NMEA sentences are properly CR-LF terminated 2019-04-09 19:57:35 -04:00
Limor "Ladyada" Fried e214a45ed6
Merge pull request #81 from drak7/master
Updated examples, removed NewSoftSerial, small fixes
2019-03-15 17:05:29 -04:00
Matt Goodrich bf079ad2cd Skip tests for unsupported platforms; removed do nothing pieces 2019-03-14 17:05:30 -04:00
Matt Goodrich d7c9f848f6 Updated examples, split into HardwareSerial and SoftwareSerial; Removed NewSoftSerial 2019-03-14 14:22:28 -04:00
Limor "Ladyada" Fried 7d90723c5e
Merge pull request #80 from drak7/master
Doxyfied; Added code of conduct; Updated README; Added travis.yml
2019-03-13 15:34:16 -04:00
Matt Goodrich 8c064919ab Doxyfied; Added code of conduct; Updated README; Added travis.yml 2019-03-12 17:21:45 -04:00
Stoph 23dfb49f4e
Fix spelling error 2017-11-11 10:42:45 -05:00
driverblock 77fe348437 Add hardware serial locus erase example
Added GPS_HardwareSerial_LOCUS_Erase.
Increased timeout value on waitForSentence function
updated library version to 1.0.3
2017-08-02 11:24:18 -04:00
ladyada ea73a3a8f3 hardwareserial (non-interrupt) GPS LOCUS examplz 2017-08-01 23:27:56 -04:00
ladyada e0beddd274 Merge branch 'master' of github.com:adafruit/Adafruit-GPS-Library 2017-08-01 22:55:59 -04:00
ladyada afb7ee79c8 add 22hz update 2017-08-01 22:55:52 -04:00