WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
84
OK
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 applicable to E9C33424 and later versions.
The buffer size is 10K for each socket when you set data receiving mode to
manual reading.
9.6 Sending TCP Data: +TCPSEND
Description
To send TCP data
The module will returns > after this command is sent. Send TCP data 50 ms to 100
ms later.
Format
AT+TCPSEND=<n>,<length> <CR>
Parameter
<n>: Socket number, ranging from 0 to 5. A TCP connection is established on the
socket.
<length>: The length of the data to be sent, ranging from
1
to
4096
, unit: byte.