N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
67
+UDPSEND:0,21
4096 bytes.
AT+UDPSEND=0,10
>
+UDPSEND:0,OPERATION EXPIRED
After the data sending command is
input and > is returned, no more data
is entered in one minute. Then the
expiration information is displayed.
Remarks
Ensure that the UDP link is set up before sending UDP data.
The
AT+IPSTATUS
command is recommended to check the buffer size
before sending data.
The command supports only char type data if the
AT+DATAFORMAT
command is not used to set the sending format.
8.3 Receiving UDP Data: +UDPRECV
Description
To receive UDP data
Format
+UDPRECV:<n>,<length>,<data><CR>
Parameter
<n>: Socket number, ranging from 0 to 4
<length>: The length of the data received
<data>: The data received
Add 0x0d 0x0a to the end of the data. Identify the end based on <length>.
Return Value
See the Example.
Example
+UDPRECV: 0,10,1234567890
10-byte data is successfully received
on socket 0. The data is 1234567890.
+UDPRECV:
0,10,31323334353637383930
10-byte of data is received on socket
0.
The
data
is
31323334353637383930 in ASCII
format.
Remarks
N/A
8.4 Reading UDP Data: +UDPREAD
Description
To read UDP data
Format
+UDPREAD: <n>,<length><CR>
Содержание 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...