Fwd: Cell_log > gsmmap

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/.

Sébastien Lorquet squalyl at gmail.com
Mon Jan 31 12:46:54 UTC 2011


if (!strcmp("$GPGLL") {
   // run the old code
} else if(!strcmp("$GPGGA)) {
   // run your new code
} else {
   return;
}

would work better... ;-)

On Mon, Jan 31, 2011 at 1:34 PM, Dario Lombardo
<dario.lombardo at libero.it> wrote:
>
>
> On 01/28/2011 07:08 PM, Martin Hauke wrote:
>>
>> i've had the same issue. Use the attached patch to read the required
>> data from the $GPGGA NMEA sentence.
>>
>> - Martin
>
> 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.
>
>




More information about the baseband-devel mailing list