This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.
mad at auth.se mad at auth.se On Mon, 31 Jan 2011 13:34:16 +0100, Dario Lombardo wrote:
> Good, but why did you change the old code? Why don't you put
> something like
>
> if (strcmp("$GPGLL") {
> // run the old code
> } else if(strcmp("$GPGGA)) {
> // run your new code
> } else {
> return;
> }
>
> That could support both the devices.
BTW, best practice would be to implement parsing of the
"GPRMC"-sentence as it
is the "Recommended Minimal Sentence" for every NMEA-capable gps
receiver.
It contains time, date, latitude, longitude, validity, speed and
heading, so
everything needed is delivered and should work with all receivers out
there.
Regards,
Mad