Commit Graph

133 Commits

Author SHA1 Message Date
Kosma Moczek
ded4faf483 Merge pull request #25 from asund/master
Handle four-digit year in minmea_gettime
2017-10-23 18:34:26 +02:00
asund
f50449ea69 Fixup whitespace 2017-10-20 09:52:51 -07:00
asund
80af9b4838 * Arrange year interpretation in order of likeliness
* Add unit tests
2017-10-13 22:05:24 -07:00
asund
ef8bca720f clarity of century use in struct tm 2017-09-25 11:34:35 -07:00
asund
486da2bb5b Small fixes to minmea_gettime
* Handle four digit years provided by ZDA in minmea_gettime
* Assume GPS epoch to allow dates prior 2000 to be parsed
2017-09-25 09:23:26 -07:00
Kosma Moczek
dbf51f03c5 README.md: add ZDA 2017-08-15 10:36:42 +02:00
Kosma Moczek
fcc63a54b0 Merge pull request #24 from kosma/zda
Merge branch 'zda'
2017-08-15 10:35:09 +02:00
Kosma Moczek
f1871e40b9 add unit tests for ZDA 2017-08-15 10:32:40 +02:00
Dawid Marszałkiewicz
a370e981d8 Add $--ZDA sentences
* Expand LDLIBS var in Makefile
* Add parser zda
* Extend sentence_id
* Add example
2017-08-15 10:26:59 +02:00
Kosma Moczek
5b8b204e44 Merge pull request #16 from anthonybrice/patch-1
NULL terminate array as test_minmea_check expects
2017-08-15 10:22:57 +02:00
Kosma Moczek
359c3de888 Merge pull request #18 from hraftery/documentation_fix
Corrected precision figure for lat/long values. Added derivation and an example.
2017-08-15 10:22:33 +02:00
Kosma Moczek
83f7f9b660 Merge pull request #23 from kaspar030/non32bit_compile_fix
use explicit 32bit integer for fractional time calculation
2017-08-15 10:21:59 +02:00
Kosma Moczek
6618d51f0c Merge branch 'johlim-patch-1' 2017-08-15 10:20:38 +02:00
johlim
51c9c01ff8 Update README.md 2017-08-15 10:20:20 +02:00
Kosma Moczek
bbbe3d73b6 README.md: fix typo 2017-08-15 10:14:13 +02:00
Kosma Moczek
7d6ff06722 Makefile: fix check framework compilation flags 2017-08-15 10:13:16 +02:00
Kosma Moczek
0c1e0297c2 .travis.yml: remove stale Hipchat notifications 2017-08-15 10:09:48 +02:00
Kosma Moczek
3fc40492d9 README.md: update authorship information 2017-08-15 10:06:41 +02:00
Kosma Moczek
0491cb5826 README.md: update Travis CI link 2017-08-15 10:05:21 +02:00
Kaspar Schleiser
f3253039a3 use explicit 32bit integer for fractional time calculation 2017-05-20 15:08:16 +02:00
U-ATSAUVS\heath.raftery
3cc0cfd478 Corrected precision figure for lat/long values. Added derivation and
an example.
2016-08-09 08:44:37 +10:00
Anthony Brice
137824049b NULL terminate array as test_minmea_check expects 2016-06-10 20:12:36 -07:00
Maxime Vincent
48ba91275c Use _DEFAULT_SOURCE instead of _BSD_SOURCE (support newer compilers)
* Use _DEFAULT_SOURCE instead of _BSD_SOURCE
* Include header for gmtime/mktime
* Keep glibc < 2.20 and >= 2.20 happy
2016-04-23 21:55:03 +02:00
lvitya
95f6beec4f Add $--VTG sentences.
* Fix padding problem in test_minmea_parse_gll1
* Add support for $--VTG sentences.
* Add tests for $--VTG sentences.
* Fix padding problem in test_minmea_parse_gll1. 2nd attempt.
2016-04-23 21:19:26 +02:00
Artur Mądrzak
ade6621a59 Merge pull request #12 from maximus5684/master
Fixing minmea.c to compile with C++ compiler.
2016-03-02 20:01:32 +01:00
Joshua Whitley
a499d2bdd8 Removed array bounds as requested by madrypl. 2016-03-02 11:44:44 -06:00
Joshua Whitley
869b8f4f2c Fixing minmea.c to compile with C++ compiler. 2016-03-02 02:38:37 -06:00
Kosma Moczek
ae62148805 add minmea_checksum 2014-09-11 18:02:29 +02:00
Kosma Moczek
f9584757c2 Makefile: fix tests on Darwin 2014-09-11 15:31:28 +02:00
Kosma Moczek
103a523096 tests.c: rename sequence -> sentence (I was drunk at the time?) 2014-09-11 15:29:53 +02:00
Kosma Moczek
bf0f7d30f9 [API CHANGE] minmea_check: add "strict" argument
In strict mode, non-checksummed frames are discarded.
2014-09-11 15:29:53 +02:00
Kosma Moczek
a6b4f4367d .travis.yml: better HTML template 2014-09-03 16:15:04 +02:00
Kosma Moczek
45b9a07f2a .travis.yml: HTML Hipchat notifications 2014-09-03 14:51:10 +02:00
Kosma Moczek
300e6a67b1 .travis.yml: update Hipchat notification 2014-09-03 14:41:41 +02:00
Kosma Moczek
b48c0826bb .travis.yml: add Hipchat notification 2014-09-03 14:18:58 +02:00
Kosma Moczek
7e8196367d .travis.yml: don't spam so hard 2014-09-03 14:07:41 +02:00
Kosma Moczek
30d4f8151b README.md: add Travis badge 2014-09-02 23:09:40 +02:00
Kosma Moczek
ea324ed49f tests.c: squash GCC's complaints, I'm tired of this shit 2014-09-02 23:08:14 +02:00
Kosma Moczek
b763062f8d tests.c: work around spurious compiler error when comparing large ints 2014-09-02 22:41:00 +02:00
Kosma Moczek
a21389a66b .gitignore: add *.exe (sic) 2014-09-02 22:33:51 +02:00
Kosma Moczek
e9ee7cc0c1 Makefile: feature test macros to make dumb Linux happy 2014-09-02 22:18:43 +02:00
Kosma Moczek
6fa3e4646a .travis.yml: use sudo when calling apt-get 2014-09-02 22:07:30 +02:00
Kosma Moczek
d303b73c40 add .travis.yml 2014-09-02 22:05:39 +02:00
Kosma Moczek
e81f908109 minmea_scan("f"): allow spaces at the start of the field 2014-07-30 15:18:22 +02:00
Kosma Moczek
b777fbe0b9 minmea_gettimeofday -> minmea_gettime 2014-07-11 12:18:47 +02:00
Kosma Moczek
23e2f950c5 README.md: more timegm() documentation 2014-06-18 12:13:14 +02:00
Kosma Moczek
7786885eef tests.c: shorter & consistent variable names 2014-06-18 11:41:41 +02:00
Kosma Moczek
eb6baa182e tests.c: add assert_float_eq() macro 2014-06-18 11:39:06 +02:00
Kosma Moczek
79c98e2d43 Merge pull request #9 from esoule/hotfix-gsv-shorter-sentence-2
GSV sentence with 0 to 4 satellites, plus gcc -Wfloat-equal
2014-06-18 11:31:49 +02:00
Evgueni Souleimanov
40b3fdd80d tests: use fabsf (float), not fabs (double) in epsilon comparisons of floats
Fixes a mistake in commit f68eb7c
2014-06-17 21:23:09 -04:00