EasyManua.ls Logo

Fibocom G510 - GTSET=UARTMODE, Switch UART2 Work Mode; GTSET=UARTREV, Report Data Mode; UARTSEND, Send Data to UART2

Fibocom G510
243 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
G5/G6-Family AT Commands User Manual Page
171
of
243
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
Response/Action
Remarks
Set
+GTSET=”UART
MODE”,<mode>
OK
or:
ERROR
Set current UART work mode
The following table shows the +UARTMODE parameters:
<Parameter>
Description
<mode>
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.
Command
Syntax
Response/Action
Remarks
Set
+GTSET=”UART
REV”,<mode>
OK
or:
ERROR
Set current UART report data
mode
The following table shows the +UARTREV parameters:
<Parameter>
Description
<mode>
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.

Table of Contents

Other manuals for Fibocom G510