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
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
driverblock
c12e424439
Add define to use Software Serial
...
Added a #define to enable software serial. Comment it out to not
include software serial. Forum user request for ability to eliminate
software serial.
https://forums.adafruit.com/viewtopic.php?f=51&t=103611#p519211
2016-09-25 10:26:05 -04:00
pdoddster
7fc1b4e15f
Added else clause
...
If checksum wasn't there, parser was parsing anyways. If checksum is required we need to return false if not found.
2016-08-02 09:18:09 -07:00
ladyada
0ffa9bce67
(and name)
2016-07-11 23:42:00 -04:00
ladyada
382c864a17
bump release version
2016-07-11 23:41:40 -04:00
ladyada
614f4df905
allow uin32_t bauds https://github.com/adafruit/Adafruit_GPS/issues/42
2016-07-11 23:36:54 -04:00
ladyada
69f4e8cff7
https://github.com/adafruit/Adafruit_GPS/issues/58
...
https://github.com/adafruit/Adafruit_GPS/issues/56
2016-07-11 23:34:17 -04:00
ladyada
3fbbc52add
simplify Flora & Featherwing to just have HwSerial test code
2016-07-11 23:33:09 -04:00
Tony DiCola
b2f502887a
Add GitHub issue template
2016-05-27 13:43:42 -07:00
Tony DiCola
ab77762431
Add GitHub pull request template
2016-05-27 13:38:32 -07:00
ladyada
7dea4ac0e6
generalized
2016-05-17 16:57:18 -04:00
ladyada
461d908af8
checksum code really workin now
...
fixes https://github.com/adafruit/Adafruit-GPS-Library/issues/40
2015-11-30 00:01:35 -05:00