LTE Module Series
EP06&EG06&EM06 GNSS AT Commands Manual
EP06&EG06&EM06_GNSS_AT_Commands_Manual 18 / 29
Parameter
2.5. AT+QGPSLOC Acquire Positioning Information
Before executing the command, GNSS must be turned on via AT+QGPS. If it fails in position fix, +CME
ERROR: <errcode> will be returned to indicate the corresponding situation.
Parameter
<errcode> Integer type. The error code of the operation. If it is not 0, it is the type of error. Please
refer to Chapter 4 for details.
AT+QGPSLOC Acquire Positioning Information
Test Command
AT+QGPSLOC=?
Response
+QGPSLOC: <UTC>,<latitude>,<longitude>,<hdop>,<altit
ude>,<fix>,<cog>,<spkm>,<spkn>,<date>,<nsat>
OK
Write Command
AT+QGPSLOC=<mode>
Response
+QGPSLOC: <UTC>,<latitude>,<longitude>,<hdop>,<altit
ude>,<fix>,<cog>,<spkm>,<spkn>,<date>,<nsat>
OK
If there is any error related to ME functionality:
+CME ERROR: <errcode>
<mode> Latitude and longitude display format
0 <latitude>,<longitude> format: ddmm.mmmm N/S,dddmm.mmmm E/W
1 <latitude>,<longitude> format: ddmm.mmmmmm N/S,dddmm.mmmmmm E/W
2 <latitude>,<longitude> format: (-)dd.ddddd,(-)ddd.ddddd
<UTC> UTC time
Format: hhmmss.sss (Quoted from GPGGA sentence).
<latitude> Latitude
If <mode> is 0:
Format: ddmm.mmmm N/S (Quoted from GPGGA sentence)
dd 00-89 (degree)
mm.mmmm 00.0000-59.9999 (minute)
N/S North latitude/South latitude