Chengdu Ebyte Electronic Technology Co., Ltd. E22-xxxT30x series product user manual
Copyright©2012–2024, Chengdu Ebyte Electronic Technology Co., Ltd.
7. Register Read and Write Control
7.1 Command format
In configuration mode (mode 2: M0 = 0, M1 = 1), the list of supported commands are as follows (when setting, only 9600, 8N1
format is supported)
:
Command: C0+starting address+length+parameters
Response: C1+starting address+length+parameters
E.g 1: Configure Channel to be 0x09
command starting address length parameter
Send: C0 05 01 09
Return: C1 05 01 09
E.g 2: Configure module address (0x1234), network address (0x00), serial port (9600 8N1) and air
data rate (2.4K).
Send: C0 00 04 12 34 00 62
Return: C1 00 04 12 34 00 62
Command: C1+starting address+ length
Response: C1+starting address+length+parameters
E.g 1:Read 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 62
Command: C2+starting address+length+parameters
Response: C1+starting address+length+parameters
E.g 1: Configure Channel to be 0x09
command starting address length parameter
Send: C2 05 01 09
Return: C1 05 01 09
E.g 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 62
Return: C1 00 04 12 34 00 62
Command: CF CF + normal command
Respond:CF CF + normal respond
E.g 1: Configure Channel to be 0x09 by wireless configuration
Command head command starting address length parameter
Send: CF CF C0 05 01 09
Returen: CF CF C1 05 01 09
E.g 2: Configure module address (0x1234), network address (0x00), serial port (9600 8N1) and air
data rate (2.4K) by wireless configuration.
Send: CF CF C0 00 04 12 34 00 62
Return: CF CF C1 00 04 12 34 00 62