N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
68
Parameter
<n>: socket number, ranging from 0 to 4
<length>: maximum length of data allowed to read
Return Value
See the Example
Example
+UDPRECV: 0
AT+UDPREAD=0,100
+
UDPREAD: 0,10,1234567890
OK
Socket 0 receives data.
Read data.
The data read is 1234567890.
Remark
N/A
8.5 Closing UDP Link: +UDPCLOSE
Description
To close the UDP link
Format
AT+UDPCLOSE=<n><CR>
Parameter
<n>: Socket number, ranging from 0 to 4
Return Value
If the value of <n> is illegal, the module returns: +UDPCLOSE: ERROR.
Otherwise, the module rUDPCLOSE:<n>,OK.
Example
AT+UDPCLOSE=1
+UDPCLOSE: 1,OK
The TCP link on socket 1 is closed
successfully.
AT+UDPCLOSE=5
+UDPCLOSE: ERROR
Socket number error
Remarks
N/A
Содержание N11 V2
Страница 1: ...N11 V2 AT Command Manual Issue 1 0 Date 2018 10 19 Neoway Product Document...
Страница 15: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 7 OK Remarks The default status setting is 7...
Страница 129: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 121 not support proactive time issuing...
Страница 134: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 126...