Chengdu Ebyte Electronic Technology Co., Ltd.
Example
Precautions
command
Command
characters
type
test
command
query
command
Parameter
DRX
Description
( receive data )
Return value
description
Example
Precautions
command
Command
characters
type
test
command
query
command
CCONFIRM
( Set Upstream
set command
Transmission
Parameter
Type )
Description
Return value
description
Example
Copyright © 2012–20 2 1 , Chengdu Ebyte Electronic Technology Co., Ltd.
Bit1: 0-Not ACK, 1-ACK
Bit2: 0-not carried, 1-carried, indicating whether the downlink data carries the LINK
command response
Bit3: 0-not carried, 1-carried, indicating whether the downlink data carries the TIME
command response, only when the bit is 1, it means the time synchronization is
successful
Bit4~Bit7: Default 0, reserved
PORT: 1Byte, downstream transmission port
LEN: 1Byte, downlink data length
DATA: nByte, downstream data, when LEN=0, this field does not exist.
AT+DTRX=1,2,10,0123456789
OK+SEND:03
OK+SENT:01
OK+RECV:02,01,00
means that the confirm data is sent successfully, the valid data received by the server
should be " 0123456789 " , and Downstream acknowledgment received.
Access the network first, then send data
command format
AT+DRX=?
AT+DRX?
Return value:
Length: 0 means empty data packet;
Payload: hexadecimal string data;
OK: no abnormality in the received data packet;
AT+DRX?
OK
Receive data packets from the receive buffer, and clear the receive buffer;
command format
AT+CCONFIRM=?
AT+CCONFIRM?
AT+CCONFIRM =<value>
<value>: as follows.
0: UnConfirmed up message
1: Confirmed up message
AT+CCONFIRM=1
E78-915LN22S(6601) User Manual
response
+DRX:<Length>,<Payload>
OK
+DRX:<Length>,<Payload>
OK
response
+CCONFIRM: " value "
OK
+DRX:<Length>,<Payload>
OK
OK
23