Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
62
0: Indicates that the data is output directly after the link receives it.
1: Indicates that the data received is saved in the buffer and you can run
+IPNETREAD
to
read it when necessary.
Return
Value
After you input correct AT command, the module will return OK immediately.
If the input command is not correct or the socket is occupied, the module will return
+UDPSETUP: ERROR.
If the AT command is input correctly (the module returns OK), the module returns
+UDPSETUP:<n>,OK
after UDP connection is set up successfully. <n> indicates the
socket number.
Example
AT+UDPSETUP=1,220.199.66.56,7000
OK
+UDPSETUP:1,OK
The connection to 220.199.66.560.7000 is
successfully set up on socket 1.
AT+UDPSETUP=0,58.60.184.213,10405,1
OK
+UDPSETUP: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+UDPSETUP=1,220.199.66.56,6000
+UDPSETUP:ERROR
Socket 1 is in use.
AT+UDPSETUP=55,192.168.20.6,6800
+UDPSETUP:ERROR
The format or the AT command is
incorrect or the socket number is
incorrect.
Remarks
Parameter
<recv_mode>
is supported by E9C33424 and later versions.
The buffer size is 10K for each socket when you set data receiving mode to manual
reading.
9.9 Sending UDP Data: +UDPSEND
Description
To send UDP data
The module will returns > after this command is sent. Send UDP data 50 ms to 100 ms
later.
Format
AT+UDPSEND=<n>,<length><CR>
Parameter
<n>: Socket number, ranging from
0
to
5
. A UDP connection is established on the socket.
<length>: The length of the data to be sent, ranging from 1 to 1024, unit: byte.
Return
If the AT command is input in correct format, the module returns >.