LPWA Module Series
BG96 GNSS Application Note
BG96_GNSS_Application_Note 12 / 42
Parameter
When
<baud_rate>
is 4800 or 9600, data loss may occur if a large amount of NMEA sentences are output.
AT+QGPSCFG="outport" Configure NMEA Sentences Output Port
Write Command
AT+QGPSCFG="outport"[,<outport>[,
<baud_rate>]]
Response
If the optional parameters are omitted, query the current
setting:
+QGPSCFG:
"outport",<outport>[,<baud_rate>]
OK
If any of the optional parameters
is specified, set the NMEA
sentences output port and the port baud rate when
<outport>
is "uartnmea" or "auxnmea":
OK
If there is any error related to ME functionality:
+CME ERROR: <errcode>
Maximum Response Time
300 ms
Characteristics
The command takes effect immediately.
The configurations are saved automatically.
Reference
<outport>
String type. Output port of NMEA sentences.
"none"
Close NMEA sentence output
"usbnmea"
Output via USB NMEA port
"uartnmea"
Output via GNSS UART port
"auxnmea"
Output via debug UART port
<baud_rate>
Integer type. Baud rate of GNSS UART port and debug port.
<baud_rate>
is available
only when
<outport>
is "uartnmea" or "auxnmea". Unit: bps.
4800
9600
19200
38400
57600
115200
<errcode>
Integer type. Error code of operation. See
Chapter 4
for details.
NOTE