Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
+UDPSEND:Data length error
2800-byte data fails to be sent on socket 0
because data length exceeds the limit.
Ensure that the UDP connection has been set up before sending UDP data.
Before > is 0x0d, 0x0a.
3.8 Receiving UDP Data: +UDPRECV
<CR><LF>+UDPRECV:<n>,<length>,<data><CR><LF>
<n>: Socket number, ranging from
0
to
5
<length>: The length of the data received
<data>: The data received
Add
0x0d 0x0a
to the end of the data. You can identify the end based on <
length
>.
+UDPRECV: 0,10,1234567890
10-byte data is successfully received on
socket 0. The data is 1234567890.
3.9 Closing UDP Connection: +UDPCLOSE
To close the UDP connection
<n>: Socket number, ranging from 0 to 5
If the value of
<n>
is illegal, the module returns:
+UDPCLOSE: ERROR
.
Otherwise, the module returns
+UDPCLOSE:<n>,OK
.
The TCP connection on socket 1 is closed
successfully.
The TCP connection is closed.
The server sends UDP connection closing
command or the network encounters
abnormality or weak signals.