N20AT Command ManualCopyright © Neoway Technology Co., Ltd 42+TCPSETUP: 0, ERROR1AT+TCPSETUP=5,192.168.20.6,7000+TCPSETUP: ERROR Parameters are set incorrectly.AT+TCPSETUP=0.58.60.184.213.10012+TCPSETUP: ERROR Parameters are set incorrectly.AT+TCPSET=0,58.60.184.213,10012ERROR The AT command is not complete.Remarks Use the AT+XIIC=1 command to set up a PPP link before running this command.3.5 Sending TCP Data: +TCPSENDDescriptionTo send TCP dataThe module will return > after this command is sent. Send TCP data 50 ms to 100ms later.Format AT+TCPSEND=,Parameter : Socket number, ranging from 0 to 5. A TCP link is established on the socket.: The length of the data to be sent, ranging from 1 to 4096, unit: byte.Return Value See the Example.ExampleAT+TCPSEND=0,1>OK+TCPSEND:0,11-byte data is successfully sentthrough socket 0.AT+TCPSEND=0,1024>+TCPSEND:ERRORNetwork congestion occurs when1024-byte data is sent. Only somedata is sent successfully.AT+TCPSEND=0,10>+TCPSEND: 0,OPERATION EXPIREDAfter the data sending command isinput and > is returned, no more datais entered in 30 seconds. Then theexpiration information is displayed.AT+TCPSEND=0,1+TCPSEND:SOCKET ID OPEN FAILEDOne-byte data fails to be sent onsocket 0 because the link is notestablished.