Chengdu Ebyte Electronic Technology Co., Ltd.
E220P-400T22S User Manual
Copyright ©2012–2020,
Chengdu Ebyte Electronic Technology Co., Ltd.
12
7. Register Read and Write Control
7.1 Command Format
In configuration mode (mode 3: M1=1, M0=1), the supported command list is as follows (when setting, only 9600, 8N1 format is
supported):
No
Command Format
Description
1
Set Register
Command: C0+starting parameters
Response: C1+starting parameters
Example 1: Channel is 0x09
command
starting address length parameter
Send
:
C0
05
01
09
Return
:
C1
05
01
09
Example 2
:
Configure module address (0x1234), serial port (9600 8N1), air speed (2.4K)
Send
:
C0 00 04 12 34 00 61
Return
:
C1 00 04 12 34 00 61
2
Read Register
Command: C1+starting parameters
Response: C1+starting parameters
Example
:
Read channel
command starting address length parameter
Send
:
C1
05
01
Return
:
C1
05
01
09
Example 2: Read module address, serial port, and airspeed at the same time
Send
:
C1 00 04
Return
:
C1 00 04 12 34 00 61
3
Set Temporary
Register
Command: C2+starting parameters
Response: C1+starting parameters
Example 1: Channel is 0x09
command starting address length parameter
Send
:
C2
05
01
09
Return
:
C1
05
01
09
Example 2: Configure module address (0x1234), network address (0x00), serial port (9600 8N1)
and air data rate (2.4K)
Send
:
C2 00 04 12 34 00 61
Return
:
C1 00 04 12 34 00 61
4
Wrong Format
Wrong format responds
FF FF FF
7.2 Register Description
Address
Read
or
Write
Name
Description
Remark
00H
Read/
Write
ADDH
ADDH
(
default 0
)
High byte and low byte of module address;
Note: When the module address is equal to FFFF,