Vladimir Petrigo
f75678a426
Fix PR comments
...
Update CR and LF symbols skipping at the end of the line
2022-05-22 16:01:09 +03:00
Vladimir Petrigo
69ec986af7
minmea: Allow lines with only CR ending
2018-12-21 11:37:59 +03:00
Kosma Moczek
ae4dd9442a
Merge pull request #38 from noahp/noahp/check-url
...
🔗 update Check link
2018-10-16 11:00:59 +02:00
Noah Pendleton
b1371aa526
🔗 update Check link
...
Check has moved to github from sourceforge, update the link.
Also switch clang static analyzer link to https from http.
2018-10-13 14:17:29 -04:00
Kosma Moczek
65bf740bd8
Merge pull request #35 from gdpinchina/master
...
Change dgps_age type from int to minmea_float
2018-09-19 14:00:18 +02:00
gdpinchina
61c6ef7ddd
fix test for gga
2018-09-19 14:38:49 +08:00
gdpinchina
4514f6dd5e
fix test for gga
2018-09-19 14:29:19 +08:00
gdpinchina
113221d7a9
fix test for gga
2018-09-19 14:15:51 +08:00
gdpinchina
35b00bca2f
fix test in gga
2018-09-19 14:01:55 +08:00
gdpinchina
9fcd2450f5
remove indent
2018-09-08 14:14:43 +08:00
gdpinchina
59c3e0a813
fix gga char alignment problem in test.c
...
In c compiler, a char takes 4 bytes in a structure though its size is 1 bytes. The initialization for `struct minmea_sentence_gga`:
```
struct minmea_sentence_gga expected = {
.time = { 12, 35, 19, 0 },
.latitude = { 4807038, 1000 },
.longitude = { 1131000, 1000 },
.fix_quality = 1,
.satellites_tracked = 8,
.hdop = { 9, 10 },
.altitude = { 5454, 10 },
.altitude_units = 'M',
.height = { 469, 10 },
.height_units = 'M',
.dgps_age = { 0, 0 },
};
```
has the binary sequence like these:
```
0c 00 00 00 23 00 00 00 13 00 00 00 00 00 00 00 7e 59 49 00 e8 03 00 00 f8 41 11 00 e8 03 00 00 01 00 00 00 08
00 00 00 09 00 00 00 0a 00 00 00 4e 15 00 00 0a 00 00 00 4d cc cc cc d5 01 00 00 0a 00 00 00 4d cc cc cc 00 00
00 00 00 00 00 00
```
which the `4d cc cc cc` is the `'M'`, and cause memcmp return none zero. Therefore I add some code to remove `cc cc cc`:
```
memset(&expected.altitude_units + 1, 0, 3);
memset(&expected.height_units + 1, 0, 3);
```
2018-09-08 14:12:10 +08:00
gdpinchina
79b964a5b2
modefy initialization for dgps_age
...
modefy initialization for dgps_age
2018-09-08 13:10:06 +08:00
gdpinchina
c4a5a01d66
modify dgps_age type
...
change dgps_age type from int to struct minmea_float.
example: $--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh<CR><LF>
2018-09-05 08:47:49 +08:00
gdpinchina
c01cbcf342
modify dgps_age type
...
change dgps_age type from int to struct minmea_float.
example: $--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh<CR><LF>
2018-09-05 08:45:41 +08:00
Kosma Moczek
cd27e72970
Merge pull request #29 from swilson/master
...
Add support for building under TI-RTOS
2018-01-24 14:59:48 +01:00
Sean Wilson
4d97109408
Fix compiler warnings.
2018-01-16 11:15:12 -05:00
Sean Wilson
0456bbb0ce
Define timegm
2018-01-16 11:05:31 -05:00
Sean Wilson
04f1141345
Add TI-RTOS compat header
2018-01-16 11:02:45 -05:00
Kosma Moczek
8e4fc4eb6d
README.md: formatting fixes
2017-10-23 19:02:06 +02:00
Kosma Moczek
0b02771b28
minmea.h: add Windows compatibility layer
2017-10-23 19:01:23 +02:00
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