
Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
59
Value
Example
AT+TCPSETUP=0,10.92.189.131,5500
OK
+TCPSETUP:0,OK
+TCPRECV:0,10,1234567890
The connection to 10.92.189.131,5500 is
successfully set up on socket 0.
The received data is displayed directly.
AT+TCPSETUP=1,neowayjsr.oicp.net,60002
OK
+TCPSETUP:1,OK
Set up a connection to neowayjsr.oicp.net
on socket 1.
AT+TCPSETUP=0,58.60.184.213,10405,1
OK
+TCPSETUP:0,OK
+IPURCREAD:0
AT+IPNETREAD=0,1024
+IPREAD:0,10
1234567890
OK
Set up a connection to
58.60.184.213,10405 on socket 0.
Socket 0 receives data.
Read data buffered in socket 0.
AT+TCPSETUP=2,192.168.20.6,7000
OK
+TCPSETUP:2,FAIL
Failed to set up the connection to
192.168.20.6,7000 on socket 2. The
server is probably not started, the IP
address is incorrect, or the SIM card is
out of credit.
AT+TCPSETUP=66,192.168.20.6,7000
+TCPSETUP: ERROR
The format or the AT command is
incorrect or the socket number is
incorrect.
AT+TCPSETUP=0,113.87.11.200,65536
+TCPSETUP:ERROR
The format or the AT command is
incorrect or the port number is incorrect.
AT+TCPSETUP=1,58.60.184.213,10405,2
+TCPSETUP:ERROR
The AT command format is incorrect.
AT+TCPSETUP=,113.87.11.200,4983
OK
+TCPSETUP:1,OK
Set up a TCP connection without
specifying a socket number.
The TE selects socket 1.
Remarks
Use the
AT+XIIC=1
command to set up a PPP connection before running this
command.
The TE has 6 sockets (TCP/UDP/Server).
Parameter
<recv_mode>
is supported by E9C33424 and later versions.