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/.
Dario Lombardo dario.lombardo at libero.it
On 01/31/2011 05:08 PM, Sébastien Lorquet wrote:
> I don't see a huge problem here.
>
> Why not just parse whatever message with interesting info we get?
>
> if (!strcmp("$GPGLL") {
> // extract coordinates and update buffer
> } else if(!strcmp("$GPGGA)) {
> // extract coordinates and update buffer
> } else if(!strcmp("$GPRMC)) {
> // extract coordinates and update buffer
> } else if(!strcmp("$GPSuperProprietaryMessageWithAwesomePrecisionData")) {
> // extract coordinates and update buffer
> } else {
> // no luck with this message
> return;
> }
>
I agree with this approach. I think that is scales well if a new device
(even not nmea) wants to be supported.