10.2.1+GTSET="UARTMODE", switch UART2 work mode
The +GTSET="UARTMODE" command set current UART work mode, for AT command or for
send/receive user data.
Command
Syntax
Set
+GTSET="UART
MODE",<mode>
The following table shows the +UARTMODE parameters:
<Parameter>
<mode>
10.2.2+GTSET="UARTREV", report data mode
The +GTSET="UARTREV" command set current UART report data mode, for data length or for all data,
or the UART1 output data len or all data. This command is only effective when the value of UART MODE
is 1 or 2.
Command
Syntax
Set
+GTSET="UART
REV",<mode>
The following table shows the +UARTREV parameters:
<Parameter>
<mode>
10.2.3+UARTSEND, Send data to UART2
This command intends to send data to UART2. This command can be used in UART1 ports to send data
to UART2.
G5/G6-Family AT Commands User Manual
Response/Action
OK
or:
ERROR
Description
0 – Uart2 use for AT command (default)
1 – Uart2 use for sending/receiving data, Uart1 receive data only
2 – Uart1 use for sending/receiving data, Uart2 receive data only
Response/Action
OK
or:
ERROR
Description
0 – When receive data, do not report(default)
1 – When receive data, only report data length
2 – When receive data, report all data
Remarks
Set current UART work mode
Remarks
Set current UART report data
mode
Page 171 of 243