Commit Graph

12 Commits

Author SHA1 Message Date
mek_x
116fb82670 fix compilation in gcc 2014-04-23 20:36:26 +02:00
Kosma Moczek
ea1bbcbfa5 minmea: add minmea_talker_id() 2014-03-24 23:13:05 +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
7543c35079 minmea_rescale: handle big values without overflow 2014-03-03 15:04:37 +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
Kosma Moczek
d517458085 GPGSA support: adapt to project' coding style 2014-02-26 15:07:42 +01:00
Kosma Moczek
a04115b3f4 GPGSA support: fix indentation 2014-02-26 15:03:20 +01:00
Denys Kuzmenko
e2838ed642 Add support for $GPGSA sequences. 2014-02-25 17:32:56 +01:00
Kosma Moczek
b341777f60 man, that license stuff is hard to do right 2014-02-16 20:03:14 +01:00
Kosma Moczek
03fd0b399c minmea.h: short-cirtuit no-rescale case in minmea_rescale() 2014-02-14 17:16:06 +01:00
Kosma Moczek
56177f0e1c initial commit 2014-02-14 15:22:18 +01:00