Hello, you can use the following two AT methods to turn on GPS
1.Default arguments are used in this example to turn on GNSS. After turning on GNSS, NMEA sentences
will be output from “usbnmea” port by default; and GNSS can be turned off via AT+QGPSEND.
AT+QGPS=1 //Turn on GNSS.
//After turning on GNSS, NMEA sentences will be output from “usbnmea” port by default.
AT+QGPSLOC? //Obtain positioning information.
AT+QGPSEND //Turn off GNSS.
2.When GNSS is turned on and is enabled, NMEA sentences can be acquired directly via
AT+QGPSCFG=“nmeasrc”,1 //Enable functionality.
AT+QGPSGNMEA=“GGA” //Obtain GGA sentence.
AT+QGPSCFG=“nmeasrc”,0 //Disable functionality.
AT+QGPSGNMEA=“GGA” //Disable functionality, and thus GGA sentence
cannot be obtained.
+CME ERROR: 507