Copyright©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
29
OK: received data packet without exception;
description
example
AT+DRX?
OK
Precautions
Receive data packets from the receive buffer, and clear the receive buffer;
command
character
command
type
command format
response
CPASSTHOUGH
MODE
(
transparent
mode
)
test
command
AT+CPASSTHOUGHMODE=?
+CPASSTHOUGHMODE:[mode],[confirm],
[nbtrials]
set
command
AT+CPASSTHOUGHMODE=[m
ode],[confirm],[nbtrials]
OK
Parameter
Description
When mode is 1, enter transparent transmission mode. Refer to the
corresponding AT command for confirm and nbtrials, which are only
valid for this transmission, and need to be reset after re-entering after
exiting.
Return value
description
OK means to enter the transparent transmission mode.
Return value description in transparent transmission mode:
frame
heade
r
status bit 1byte
1byte
1byte
nbyte
A1
A1
00 (not connected
to the network)
\
\
\
01 (send data)
send length
\
\
02 (data sending)
\
\
\
03 (send timeout,
unconfirm msg
does not return)
Send timeout
times
\
\
04 (send
successfully,
received the
server return
value, unconfirm
msg no such
return)
The port
number
Received
data length
(when it is 0,
no data is
sent)
Send data
(this bit is
invalid when
the data
length is 0)
05 (exit
transparent
transmission
mode)
\
\
\
FF (data too long)
\
\
\
example
In AT command mode:
AT+CPASSTHOUGHMODE=1,1,8
OK
In transparent transmission mode (hexadecimal):