Users Manual

Chengdu Ebyte Electronic Technology Co., Ltd. E22-900T30S User manual
Copyright ©20122018Chengdu Ebyte Electronic Technology Co.,Ltd.
18
7 Register read and write control
7.1 Command format
In configuration mode (mode 2: M1 = 1, M0 = 0), the list of supported commands are as follows (only 9600, 8N1 format is
supported when)
No.
Command format
Description
1
Set register
Command: C0+starting address+length+parameters
Response: C1+starting address+length+parameters
E.g 1: Channel is 0x09
command starting address length parameter
Send: C0 05 01 09
Returen: C1 05 01 09
E.g 2: Configure module address (0x1234), network address (0x00), serial port (9600 8N1) and air
data rate (1.2K).
Send: C0 00 04 12 34 00 61
Return: C1 00 04 12 34 00 61
2
Read register
Command: C1+starting address+parameters
Response: C1+starting address+length+parameters
E.g 1Read channel
command starting address length parameter
Send: C1 05 01
Returen: C1 05 01 09
E.g 2: Read module address, network address, serial port and air data rate.
Send: C1 00 04
Return: C1 00 04 12 34 00 61
3
Set temporary
registers
Command: C2+starting address+parameters
Response: C1+starting address+length+parameters
E.g 1: Channel is 0x09
command starting address length parameter