Kosma Moczek
7ea8901880
README.md: add better contribution guidelines
2022-05-23 15:38:26 +02:00
Chris Morgan
25d1224ae2
Merge pull request #62 from d-el/UpdateReadme_GBS
...
Add GBS to README and alphabetical sorting
2022-05-20 20:45:58 -04:00
d-el
9bdee64b4b
Add GBS to README and alphabetical sorting
...
Signed-off-by: d-el <d2.718l@gmail.com>
2022-05-21 00:20:14 +03:00
karas
becf6aa58d
Fix Integer Overflow
2022-05-20 09:45:05 -04:00
roman.storozhenko
252a3f9d3b
Add GBS parser
...
Signed-off-by: roman.storozhenko <roman.storozhenko@pixelsmatter.com>
2022-05-20 09:22:45 -04:00
Kosma Moczek
33b97e75b2
Merge pull request #43 from xerdink/ti-include
...
fix(ti-compat): fixed compat header
2022-05-20 15:04:56 +02:00
Kosma Moczek
7689f93e73
Merge pull request #60 from kosma/cmm_test_fixes
...
tests.c - Fix 'format-security' warnings due to use of ck_assert_msg(…
2022-05-20 14:57:15 +02:00
Dr. PO
bf5358dac3
minmea.h: use const if possible
2022-05-20 08:55:28 -04:00
Yegor Yefremov
e2560c5a49
README.md: fix typo
...
s/deciminal/decimal
2022-05-20 08:49:07 -04:00
johnauld
4da3f38acc
Update example.c
2022-05-20 08:48:36 -04:00
johnauld
41d8bf539d
Update README.md
2022-05-20 08:48:36 -04:00
Chris Morgan
d8b411fe15
tests.c - Fix 'format-security' warnings due to use of ck_assert_msg() without a formatting string
...
https://fedoraproject.org/wiki/Format-Security-FAQ#What_is_-Wformat-security
tests.c: In function ‘test_minmea_check_fn’:
tests.c:79:9: error: format not a string literal and no format arguments [-Werror=format-security]
79 | ck_assert_msg(minmea_check(*sentence, false) == true, *sentence);
| ^~~~~~~~~~~~~
tests.c:80:9: error: format not a string literal and no format arguments [-Werror=format-security]
80 | ck_assert_msg(minmea_check(*sentence, true) == false, *sentence);
| ^~~~~~~~~~~~~
tests.c:84:9: error: format not a string literal and no format arguments [-Werror=format-security]
84 | ck_assert_msg(minmea_check(*sentence, false) == true, *sentence);
| ^~~~~~~~~~~~~
tests.c:85:9: error: format not a string literal and no format arguments [-Werror=format-security]
85 | ck_assert_msg(minmea_check(*sentence, true) == true, *sentence);
| ^~~~~~~~~~~~~
tests.c:89:9: error: format not a string literal and no format arguments [-Werror=format-security]
89 | ck_assert_msg(minmea_check(*sentence, false) == false, *sentence);
| ^~~~~~~~~~~~~
tests.c:90:9: error: format not a string literal and no format arguments [-Werror=format-security]
90 | ck_assert_msg(minmea_check(*sentence, true) == false, *sentence);
| ^~~~~~~~~~~~~
2022-05-20 08:41:55 -04:00
Kosma Moczek
06ad5a1840
Merge pull request #48 from DonneyF/master
...
Update NMEA documentation link
2019-09-16 02:18:21 +02:00
DonneyF
bf7680b4e4
Update README.md
2019-09-12 16:09:23 -07:00
orhaneee
90503ad1ff
fix(ti-compat): fixed compat header
...
POSIX headers' path has been changed.
2019-05-02 17:37:56 +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