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


                case GPSPROTOCOL_SIRF:

                    {
                        // Switch Protocol
                        SirfSwitchToNMEA(1, 1, 1, 3, 1, 1, 4800);

                        // Wait 3 secs. for command processing
                        Sleep(3000);
                        GpsSetBaudRate(4800);
                        GpsSetProtocol(GPSPROTOCOL_NMEA);

                    }
                    break;
            }

        }
Copyright ©1998-2005 Links Point Inc.