WCDMA Module
UC20 GNSS AT Commands Manual
UC20_GNSS_AT_Commands_Manual Confidential / Released 21 / 25
3
Example
3.1 . Turn On and Off the GNSS Engine
The following example uses default arguments to start GNSS engine. After turning on GNSS engine,
NMEA sentences will be outputted from “usb nmea” port by default.
AT+QGPS=1
//Turn on GNSS engine.
OK
//After turning on GNSS engine, NMEA sentences will be outputted
from “usb nmea” port by default.
AT+QGPSLOC?
//Obtain position information.
+QGPSLOC: 061951.0,3150.7223N,11711.9293E,0.7,62.2,2,0.0,0.0,0.0,110513,09
OK
AT+QGPSEND
//Turn off GNSS engine.
OK
3.2 . Application of GNSS nmeasrc
When GNSS was started, you can turn on nmeasrc feature, and obtain NMEA sentences by
AT+QGPSGNMEA directly.
AT+QGPSCFG=“nmeasrc”,1
//Enable nmeasrc functionality.
OK
AT+QGPSGNMEA=“GGA”
//Obtain GGA sentence.
+QGPSGNMEA: $GPGGA,103647.0,3150.721154,N,11711.925873,E,1,02,4.7,59.8,M,-2.0,M,,*77
OK
AT+QGPSCFG=“nmeasrc”,0
//Disable nmeasrc functionality.
OK
Quectel
Confidential