Neo_M660 AT Command Set
Copyright © Neoway Technology Co., Ltd
55
OK
Remarks
The received data is displayed in char type by default.
9.14 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+DATAFORMAT=1,0
OK
AT+DATAFORMAT?
+DATAFORMAT: 0,0
OK
Remarks
The transmitted/received data is displayed in char type by default.
9.15 Setting Data Receiving Mode: +TRANMODE
Description
To set the TCP/UDP data receiving type
Format
AT+TRANMODE=<mode><CR>
Parameter
<mode>:
0: Original data without header, that is, transparent receiving mode
1: Data with header, that is, non-transparent receiving mode
Return
Value
See the Example.
Example
AT+TRANMODE=1
Set the receiving mode with data header