Chengdu Ebyte Electronic Technology Co.,Ltd.
E78-470LN22S User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
22
Precautions
Enter the network first, then send data
Command
character
Command
Type
Command Format
response
DRX
(
Receive data
)
Test
command
AT+DRX=?
+DRX:<Length>,<Payload>
OK
Query
command
AT+DRX?
+DRX:<Length>,<Payload>
OK
Parameter
Description
Return value:
Length: 0 means empty packet;
Payload: Hexadecimal string data;
Ono exception in receiving data packet
;
Return value
description
Example
AT+DRX?
OK
Precautions
Receive packets from the receive buffer and clear the receive buffer;
Command
character
Command
Type
Command Format
response
CPASSTHOUGH
MODE
(Transparent
transmission
mode)
Test
command
AT+CPASSTHOUGHMODE
=?
+CPASSTHOUGHMODE:[mode],[confi
rm],[nbtrials]
Set
command
AT+CPASSTHOUGHMODE
=[mode],[confirm],[nbtrials]
OK
Parameter
Description
When mode is 1, it will enter the transparent transmission mode. Confirm
and nbtrials refer to the corresponding AT instructions. They are only valid
for this sending, and need to be reset after exiting.
Return value
description
OK indicates that the transparent transmission mode is on.
Description of return value in transparent transmission mode:
Frame
header
Status bit
1byte
1byte
1byte
nbyte
A1 A1
00 (not
connected)
\
\
\
01 (send
data)
Sending
length
\
\
02 (sending
timeout,
unconfirm
MSG does
not return)
Sending
timeout
times
\
\
04 (send
successfully
, receive the
server
return
value,
Port number
Length of
data
received (no
data sent
when 0)
Distribute
data (this
bit is
invalid
when the
data length