General Commands
Rev 3.1 Jul.20
25
41113737
AT+GNSSPPS
Configure and query output time in one pulse per second (1PPS) function
Usage:
•
Write:
(<mode> = 0)
AT+GNSSPPS=<mode>
Response:
+GNSSPPS,0,OK
or
+GNSSPPS,<error code>
Purpose:
Disable 1 PPS output.
•
Write:
(<mode> = 1,2,3)
AT+GNSSPPS=<mode>,<pulse_width>
Response:
+GNSSPPS,<mode>,<pulse_width>,OK
or
+GNSSPPS,<error code>
Purpose:
Set the 1PPS mode output.
•
Read:
AT+GNSSPPS?
Response:
+GNSSPPS,<mode=1, 2, 3>,<pulse_width>,OK
or
+GNSSPPS,<mode=0>,OK
or
+GNSSPPS,<error code>
Purpose:
Get the 1PPS output mode.
Parameters:
<mode> (1PPS mode)
•
0—Disable
•
1—PPS output mode 1 (Only outputs PPS when time is adjusted)
•
2—PPS output mode 2 (Always outputs PPS)
•
3—PPS output mode 3 (Only outputs PPS when position is fixed and also the default
mode)
Note: For details on the 1PPS output types, see
<pulse_width> (1PPS pulse width) (unit: millisecond)
•
Default: 125 ms.
•
Only supports 125, 250, 500 ms
Example:
•
Disable PPS output:
AT+GNSSPPS=0<CR><LF>
+GNSSPPS,0,OK*6E<CR><LF>
•
Enable PPS output mode 3 and pulse width is 125 ms:
AT+GNSSPPS=3,125<CR><LF>
+GNSSPPS,3,125,OK*72<CR><LF>
Table 2
-
2: General Commands (Detail) (Continued)
Command
Description