Commit Graph

207 Commits

Author SHA1 Message Date
Xiang Xiao
0a0a14a42e should use 'i' instead of 'd' in minmea_parse_gbs
please reference the definition here:
https://gpsd.gitlab.io/gpsd/NMEA.html#_gbs_gps_satellite_fault_detection

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-04 12:32:11 +01:00
Kosma Moczek
1ac0ec3ae6 minmea_parse_gbs: add test for satellite ID 2022-08-04 12:32:11 +01:00
Kosma Moczek
296c71cbc0 Merge branch 'xiaoxiang781216-pr-68' 2022-08-04 12:01:27 +01:00
Kosma Moczek
9ae3e50947 minmea.h: fix comment for minmea_scan() 2022-08-04 11:56:24 +01:00
Xiang Xiao
d6ad155319 remove the unnecessary header file inclusion
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-04 11:49:51 +01:00
Kosma Moczek
163fb72250 CMakeLists: output test results on fail 2022-08-04 11:38:30 +01:00
Kosma Moczek
a3813b8449 Merge branch 'xiaoxiang781216-max' 2022-08-04 11:35:56 +01:00
Kosma Moczek
476a8dd63e tests: update sentence length test 2022-08-04 11:35:15 +01:00
Xiang Xiao
5cecc7a9ab Don't check senentence length less than MINMEA_MAX_SENTENCE_LENGTH in minmea_check
since the whole code base can support any length without problem

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I49184d41154dcc857d0ff630bcab5c62add165de
2022-07-21 13:02:18 +08:00
Kosma Moczek
db46128e73
Merge pull request #66 from kosma/makeremove
Makeremove
2022-06-18 15:41:25 +02:00
Chris Morgan
a7553e883f CMakeLists.txt - Add 'scan-build' to tests if the application is installed 2022-06-10 21:30:26 -04:00
Chris Morgan
747177274c Remove Makefile, use cmake and update build instructions 2022-06-10 13:33:51 -04:00
Chris Morgan
db03e437d4 CMakeLists.txt - Group lines by example and tests for readability 2022-06-10 13:28:53 -04:00
Chris Morgan
815efd8d36 CMakeLists.txt - enable ctest framework and register tests 2022-06-10 13:27:38 -04:00
Chris Morgan
c0c7cb5145 CMakeLists.txt - link_directories() for check to ensure the directory check is located in is in the linker library search path 2022-06-10 13:19:54 -04:00
Kosma Moczek
143d5558db
Merge pull request #65 from kosma/cmake
CMake support
2022-06-05 12:17:08 +02:00
Kosma Moczek
a0da280f64 add test_minmea_parse_vtg3 (fixes #57) 2022-06-03 01:40:30 +02:00
Kosma Moczek
c0d2f58128 allow defining custom MINMEA_MAX_SENTENCE_LENGTH 2022-06-03 01:26:13 +02:00
Kosma Moczek
1e2f0af7d8 rename MINMEA_MAX_LENGTH -> MINMEA_MAX_SENTENCE_LENGTH 2022-06-03 01:24:58 +02:00
Kosma Moczek
6915c08c59
Merge pull request #45 from benpicco/minmea_getdate
add minmea_getdatetime()
2022-06-03 01:15:07 +02:00
Kosma Moczek
926077436a tests: add tests for minmea_getdatetime 2022-06-03 01:10:22 +02:00
Kosma Moczek
77d5410c68 rename minmea_getdate -> minmea_getdatetime 2022-06-03 01:10:05 +02:00
Kosma Moczek
8e243e5310 minmea_getdate: consistent argument naming 2022-06-03 01:00:57 +02:00
Kosma Moczek
f2bd34c82a minmea_getdate: use pointer dereferencing for memset (safer) 2022-06-03 00:53:40 +02:00
Kosma Moczek
74a4744792
Merge pull request #41 from vpetrigo/update/allow_only_CR_ending
minmea: Allow lines with only CR ending
2022-06-03 00:46:30 +02:00
Kosma Moczek
908846d4f6 add tests for newline handling 2022-06-03 00:45:37 +02:00
Kosma Moczek
34556192b9 .gitignore: ignore CLion build directory 2022-06-02 23:30:28 +02:00
Kosma Moczek
8e5aaabd03 .github: add CMake run 2022-06-02 23:14:42 +02:00
Kosma Moczek
2b8b64c784 Full CMake support 2022-06-02 23:13:11 +02:00
Omkar Yadav
7eda4ae551 CMake file for the CMake support 2022-06-02 23:13:11 +02:00
Kosma Moczek
ce0fb1d6da
Merge pull request #64 from kosma/clang_null
minmea.c - Fix dereference of null pointer error caught by clang's sc…
2022-06-02 22:42:36 +02:00
Kosma Moczek
3e984ef657 minmea.c - Fix dereference of null pointer error caught by clang's scan-build 2022-06-02 22:41:12 +02:00
Kosma Moczek
43ac660db6 Makefile: fail on scan-build failure 2022-06-02 22:31:25 +02:00
Kosma Moczek
6b1a15aa29
Merge pull request #63 from kosma/workflow
Replace Travis with Github Actions
2022-06-02 22:27:31 +02:00
Kosma Moczek
f35c9b04f3 .github: remove redundant make invocation 2022-06-02 22:25:55 +02:00
Kosma Moczek
7ea8901880 README.md: add better contribution guidelines 2022-05-23 15:38:26 +02:00
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
Benjamin Valentin
4ebbaef840 add minmea_getdate()
The GPS date is internally converted to a struct tm anyway.
Add a function to make use of this for external users too.
2022-05-21 15:20:14 +02:00
Chris Morgan
de996fee46 Remove unused .travis.yml configuration file 2022-05-21 08:32:42 -04:00
Chris Morgan
6e32e63908 README.md - Replace Travis badge with GitHub workflows badge 2022-05-21 08:30:04 -04:00
Chris Morgan
69b3be605c GitHub workflows configuration 2022-05-20 21:01:37 -04: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