Fwd: Cell_log > gsmmap
Sébastien Lorquet
squalyl at gmail.com
Mon Jan 31 13:46:54 CET 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