N20AT Command ManualCopyright © Neoway Technology Co., Ltd 45ExampleAT+UDPSETUP=1,220.199.66.56,7000OK+UDPSETUP: 1,OKThe link to 220.199.66.560.7000 issuccessfully set up on socket 1.AT+UDPSETUP=0,neowayjsr.oicp.net,60010OK+UDPSETUP: 0,OKThe connection toneowayjsr.oicp.net,60010 is set upon socket 0 successfully.AT+UDPSETUP=0,58.60.184.213,11008+UDPSETUP: 0,ERROR1A TCP/UDP link has been set up onsocket 0.AT+UDPSETUP=1,192.168.20.6,7000OK+UDPSETUP: 0,FAILFails to set up the connection to192.168.20.6,7000 on socket 1because socket 0 is unavailable.AT+UDPSETUP=6,192.168.20.6,6800+UDPSETUP:ERROR Parameters are set incorrectly.AT+UDPSETUP=0.58.60.184.213.10012+UDPSETUP: ERROR Parameters are set incorrectly.AT+UDPSET=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.10 Sending UDP Data: +UDPSENDDescriptionTo send UDP dataThe module will return > after this command is sent. Send UDP data 50 ms to 100ms later.Format AT+UDPSEND=,Parameter : Socket number, ranging from 0 to 5. A UDP link is established on the socket.: The length of the data to be sent, ranging from 1 to 4096, unit: byte.Return Value If the AT command is input in correct format, the module returns >.