EasyManua.ls Logo

Ebyte E22-230T22S - 7 Register Read and Write Control; Command Format

Ebyte E22-230T22S
32 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chengdu Ebyte Electronic Technology Co., Ltd. E22-230T22S User manual
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.,Ltd.
17
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 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 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

Related product manuals