Copyright © Neoway Technology Co., Ltd
9 Transparent Mode
9.1 Setting Up Transparent TCP Link: +TCPTRANS
To set up transparent TCP link
AT+TCPTRANS=<ip>,<port><CR>
<ip>: Destination IP address, in xx.xx.xx.xx format or domain name format (www.
XXXXXX.com)
<port>: Destination port ID in decimal ASCII code
AT+TCPTRANS=220.199.66.56,6800
OK
+ TCPTRANS:OK
A transparent TCP link is set up
successfully.
AT+TCPTRANS=neowayjsr.oicp.net,60010
OK
+TCPTRANS:OK
A transparent TCP link is set up by
using domain name successfully.
AT+TCPTRANS=220.199.66.56,
+TCPTRANS:ERROR
The command is in wrong format.
AT+TCPTRANS=220.199.66.56,6800
OK
+TCPTRANS:FAIL
Failed to set up a transparent TCP
link.
AT+TCPTRANS=220.199.66.56,6800
ERROR
ERROR is returned after the
command is executed because a
transparent (TCP, UDP, TCP
server) link has been set up.
The UART does not display the data transmitted to the server after the
transparent TCP link is set up successfully.
Use +++ to switch the server to the command mode and ATO to switch it to
the data mode.
The module will exit from the transparent link if a call or message is incoming.
At most 4096-byte data can be sent or received per packet in transparent