Commit Graph

131 Commits

Author SHA1 Message Date
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
driverblock 6457807802 Didn't work. Fix.
This didn't work.  Changed mySerial to a #define
2015-10-08 13:39:03 -04:00
Tyler Mark Good 152d55a5e4 adding gga only constant 2015-08-19 21:33:01 -05:00
Tyler Mark Good e4cd29ab47 adding gga only constant 2015-08-19 21:29:53 -05:00
Tony DiCola fb579ed581 Automatic library.properties generation. 2015-03-31 12:09:04 -07:00
Tony DiCola dfbdf16a91 Merge pull request #38 from Max13/patch-1
Adde PMTK updates for 5 times/seconds
2015-01-02 17:35:59 -08:00
Adnan RIHAN 0465ef1c52 Adde PMTK updates for 5 times/seconds
For average projects, I think it's a good idea to include 200 millihertz updates in the source code.

By default, debs can choose 5 Hz, 1Hz and 100 mHz. I think average amateur tracing projects would fit best at 200 mHz than at 1Hz or 100mHz.
2014-12-25 15:48:57 +01:00
Tony DiCola 419bc437be Merge branch 'Jcps-master' 2014-10-24 17:38:51 -07:00
Tony DiCola 0aeb82c1b6 Update parsing example to show new long/lat degrees values. 2014-10-24 17:38:36 -07:00
Tony DiCola eb4e66dcbe Merge branch 'master' of https://github.com/Jcps/Adafruit-GPS-Library into Jcps-master 2014-10-24 17:34:21 -07:00
Tony DiCola 9239281de0 Merge pull request #34 from plattrap/master
Compiler warnings
2014-10-24 17:31:53 -07:00
Larry c85ca305f9 Fix warning about deprecated cast from string to char *. 2014-10-19 11:31:07 +13:00