Kosma Moczek
c5bc12f8cc
minmea_gettimeofday: workaround missing tm_isdst on some systems
2014-05-28 16:06:32 +02:00
Kosma Moczek
03d9772807
always run tests before committing, kiddo.
2014-05-28 15:41:42 +02:00
Kosma Moczek
2329d55ff6
minmea_scan: avoid shadowing local variables
2014-05-28 15:38:23 +02:00
Kosma Moczek
d19839cc7e
README.md: precision is no longer a limitation, hooray!
2014-04-27 17:38:49 +02:00
Kosma Moczek
f872935244
README.md: even nicer example
2014-04-27 17:31:54 +02:00
Kosma Moczek
f9f9bed148
README.md: remove extra indentation in example
2014-04-27 17:30:51 +02:00
Kosma Moczek
3e3420d1ab
fix minmea_scan("f") overflow
2014-04-27 17:19:29 +02:00
Kosma Moczek
1e802f6d00
fix minmea_scan("f") when no decimal point is present
2014-04-27 17:06:10 +02:00
Kosma Moczek
334e63d599
tests.c: add minmea_scan("f") overflow tests
2014-04-27 17:05:21 +02:00
Kosma Moczek
a5f67aa500
README.md: reflect the API changes
2014-04-27 16:44:56 +02:00
Kosma Moczek
e510d9912e
example.c: fix printed frame names
2014-04-27 16:38:06 +02:00
Kosma Moczek
870d64d1d5
example.c: update for the new API
2014-04-27 16:36:40 +02:00
Kosma Moczek
14437a9631
[API change] add struct minmea_float w/ int_least32_t
...
This is an API breaker that incorporates the following big changes:
1. The (value, scale) float, as used in minmea, is a compound type. It
should be declared and used as such.
2. Some platforms, notably avr-gcc, have 16-bit ints. Make life easier
for them by using int_least32_t for floating point values.
3. As a side effect, the following functions were renamed:
* minmea_coord -> minmea_tocoord
* minmea_float -> minmea_tofloat
Migration guide for user code (easy unless you do fancy stuff):
1. Replace calls to minmea_{coord,float}.
2. Replace int32_t with int_least32_t in user code if your platform
requires this.
2014-04-27 16:22:37 +02:00
Kosma Moczek
6d75881425
example.c: fix build errors introduced by #4
...
My bad for not checking this.
2014-04-24 16:05:50 +02:00
Kosma Moczek
6473d5b30e
Merge commit 'pull/origin/5'
2014-04-24 16:02:40 +02:00
Kosma Moczek
e2e6a41209
tests.c: fix build errors introduced by #4
...
My bad for not checking this.
2014-04-24 15:58:12 +02:00
mek-x
e4ce324581
minmea.h: style fix
2014-04-24 15:44:49 +02:00
Kosma Moczek
c5efe80f36
README.md: update supported frames list
2014-04-24 11:57:50 +02:00
Kosma Moczek
08d28a590a
Merge pull request #3 from eketh/master
...
Added support for GST frame
2014-04-24 11:55:54 +02:00
Kosma Moczek
181565066a
Makefile: libraries belong to LDLIBS, not LDFLAGS.
...
Fixes build under Cygwin (and possibly others).
2014-04-24 11:38:57 +02:00
Kosma Moczek
b5b080cdaf
Merge pull request #4 from mek-x/fix_gcc
...
Fixing compilation and tests for GCC on Linux
2014-04-24 11:32:20 +02:00
mek_x
32f6397c05
README.md: added info about GSV
2014-04-24 00:08:39 +02:00
mek_x
daed9fd707
tests: added unit tests for gsv
2014-04-24 00:08:33 +02:00
mek_x
6aee1b8bb7
example.c: added example for gsv parsing
2014-04-24 00:08:26 +02:00
mek_x
c273d92a33
minmea: added minmea_parse_gsv
2014-04-24 00:08:10 +02:00
mek_x
92a46f24e2
fix tests for gcc
2014-04-23 23:05:33 +02:00
mek_x
116fb82670
fix compilation in gcc
2014-04-23 20:36:26 +02:00
Eketh
cd0ee8f9e1
Fixed the last typo in example.c
2014-04-23 20:04:18 +02:00
Eketh
b151ccae51
Fixed typo in example.c
2014-04-23 20:03:05 +02:00
Eketh
24968cb3ba
Fixed spelling/codestyle
2014-04-23 19:57:30 +02:00
Kosma Moczek
dd2f2f20ff
add support for optional fields (minmea_scan ";" modifier)
2014-04-23 18:15:26 +02:00
Eketh
d6a02269d4
Names unification for GPGST
2014-04-23 13:23:24 +02:00
Eketh
8a35643870
Added support of GST frames in example.c
2014-04-21 10:35:22 +02:00
Eketh
ae6195af1e
Removed tabulatures from minmea.c and minmea.h
2014-04-20 19:21:05 +02:00
Eketh
12b03ebc61
Added support for GST frame
2014-04-20 10:27:22 +02:00
Kosma Moczek
5d49c07957
README.md: update supported sentences list
2014-03-24 23:24:27 +01:00
Kosma Moczek
ea1bbcbfa5
minmea: add minmea_talker_id()
2014-03-24 23:13:05 +01:00
Kosma Moczek
5bc6fddb55
.gitignore: add *.diff, .*.swp
2014-03-24 23:10:27 +01:00
Kosma Moczek
d973b98d66
minmea: don't include talker id in sentence type.
...
This is a backwards-incompatible change that I knew I'd have to
introduce sooner or later. Which means now.
Long story short: when I first started writing this library, I wanted to
make things simpler by treating the entire talker+sentence as one big
ID. Of course, this is an oversimplification, as there are different
talkers out there.
Turns out they're more common than I initially thought. I just came
across a module (read: I had one soldered to my board by our crazy
hardware guy) that spits out GPRMC, GLRMC or GNRMC depending on where it
got the data. I could have kludged around this, but here's this change,
for the purity of code.
Fortunately, we're the only users of this codebase as far as I know, so
no real harm is done - but it's a lesson to design my interfaces right
from the very start so I don't have to break compatibility and write
apologetic messages later on.
2014-03-24 22:40:25 +01:00
Kosma Moczek
3b3179a000
example.c: fix vim modeline
2014-03-24 22:35:03 +01:00
Kosma Moczek
ff500a5115
README.md: mention missing timegm() on some systems
2014-03-03 15:48:28 +01:00
Kosma Moczek
b81f509ccd
README.md: escape angle brackets
2014-03-03 15:33:48 +01:00
Kosma Moczek
dfdc4c9426
README.md: describe library limitations
2014-03-03 15:31:54 +01:00
Kosma Moczek
0b044db606
tests: specify maximum minmea_scan coordinate range
2014-03-03 15:22:59 +01:00
Kosma Moczek
7543c35079
minmea_rescale: handle big values without overflow
2014-03-03 15:04:37 +01:00
Kosma Moczek
27d98bddde
tests.c: add more test sequences (uBlox MAX7C)
2014-03-03 14:55:47 +01:00
Kosma Moczek
3c343f8e19
tests.c: use ck_assert_int_eq whenever possible
2014-02-28 15:20:30 +01:00
Kosma Moczek
f7702e046c
README.md: mention GPGSA support!
2014-02-26 16:30:04 +01:00
Kosma Moczek
4d0f78662f
COPYING: include the no-warranty clause
2014-02-26 16:27:24 +01:00
Kosma Moczek
2e59e40886
GPGSA support: fix coding style bugs introduced as a result of fixing coding style bugs ;)
2014-02-26 15:10:28 +01:00