Fwd: Cell_log > gsmmap

mad at auth.se mad at auth.se
Mon Jan 31 16:28:04 CET 2011


 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




More information about the baseband-devel mailing list