Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
35
3.12
Setting Up TCP Transparent Transmission
Connection: +TCPTRANS
Description
To set up TCP transparent transmission connection
Format
AT+TCPTRANS=<ip>,<port><CR>
Parameter
<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
Return Value
See the Example.
Example
AT+TCPTRANS=220.199.66.56,6800
OK
+ TCPTRANS:OK
A TCP transparent transmission
connection is set up successfully.
AT+TCPTRANS=neowayjsr.oicp.net,60010
OK
+TCPTRANS:OK
A TCP transparent transmission
connection 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 TCP transparent
transmission connection.
AT+TCPTRANS=220.199.66.56,6800
ERROR
ERROR
is returned after the command is
executed because a transparent
transmission (TCP, UDP, TCP server)
connection has been set up.
Remarks
The UART does not display the data transmitted to the server after the transparent
transmission TCP connection 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 transmission connection if a call or
message is incoming.
At most 4096-byte data can be sent or received in transparent transmission mode.
TCP data can be transparently transmitted after the TCP connection is set up
successfully and
+TCPTRANS:OK
is returned.
3.13
Setting Up UDP Transparent Transmission
Connection: +UDPTRANS
Description
To transparently transmit UDP data
Format
AT+UDPTRANS=<ip>,<port><CR>
Parameter
<ip>: Destination IP address, in xx.xx.xx.xx format or in domain name format