N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
63
7.7 Setting Data TX/RX Type: +DATAFORMAT
Description
To set the TCP/UDP data TX/RX type
Format
AT+DATAFORMAT=<n>,<m><CR>
AT+DATAFORMAT?<CR>
Parameter
<n>: Transmitted data type
0: Transmitted data is displayed in hexadecimal ASCII code.
1: Transmitted data is displayed in char type.
<m>: Received data type
0: Hexadecimal ASCII code
1: Char type
Return Value
See the Example.
Example
AT+DATAFORMAT=0,0
OK
AT+,TCPSEND=0,5
>
OK
+TCPSEND:0,5
+TCPRECV: 0,5,6162636465
Set the data transmitting and
receiving in hexadecimal ASCII
code format.
AT+DATAFORMAT=1,0
OK
AT+TCPSEND=0,10
>
OK
+TCPSEND:0,10
+TCPRECV: 0,10,31323334353637383930
Data is transmitted in char type
and received in hexadecimal
ASCII format.
AT+DATAFORMAT?
+DATAFORMAT: 0,0
OK
Query the current data type used
for data RX/TX.
Remarks
The data is transmitted/received in char type by default.
Содержание 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...