G5/G6-Family AT Commands User Manual Page
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.
Set current UART work mode
The following table shows the +UARTMODE parameters:
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
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.
Set current UART report data
mode
The following table shows the +UARTREV parameters:
0 – When receive data, do not report(default)
1 – When receive data, only report data length
2 – When receive data, report all data
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.