LinksPoint GPS Toolkit Reference
Examples 2
NMEASwitchToSIRF
// Windows based platforms
       case SwitchProtocolButton:
        {
            GPSPROTOCOL gpProtocol = GpsGetProtocol();
            switch (gpProtocol)
            {
                case GPSPROTOCOL_NMEA:

                    {
                        // Switch Protocol
                        NMEASwitchToSIRF(38400);

                        // Wait 3 secs. for command processing
                        Sleep(3000);
                        GpsSetBaudRate(38400);
                        GpsSetProtocol(GPSPROTOCOL_SIRF);
                    }
                    break;



            }

        }
Copyright ©1998-2005 Links Point Inc.