Chengdu Ebyte Electronic Technology Co.,Ltd.
E22-400T22DC User
Manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
4-15
Send: C2 00 04 12 34 00 61
Return: C1 00 04 12 34 00 61
5
Wireless
configuration
Command: CF CF + normal command
Respond
:
CF CF + normal respond
E.g 1: Channel is 0x09
Command head command starting address length parameter
Send:
CF CF
C0
05
01
09
Return: CF CF
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: CF CF C2 00 04 12 34 00 61
Return: CF CF C1 00 04 12 34 00 61
6
Wrong format
Wrong format respond: FF FF FF
7.2 Register description
Address
Read
or
write
Name
Description
Remark
00H
Read/
Write
ADDH
ADDH
(
default 0
)
The module address is high byte and low byte.
Note: When the module address is FFFF, it can be
used as the broadcast and monitor address, that is
the module will not perform address filtering.
01H
Read/
Write
ADDL
ADDL
(
default 0
)
02H
Read/
Write
NETID
NETID
(
default 0
)
Network address, used to distinguish the network.
When communicating with each other, they
should be set to the same.
03H
Read/
Write
REG0
7
6
5
UART Serial port rate
(
bps
)
For the two modules that communicate with each
other, the serial port baud rate can be different,
and the parity method can also be different.
When transmitting large packets continuously,
users need to consider the data blocking caused by
the same baud rate, and data may even be lost.
It is generally recommended that both parties
have the same baud rate.
0
0
0
Serial port baud rate is1200
0
0
1
Serial port baud rate is 2400
0
1
0
Serial port baud rate is 4800
0
1
1
Serial port baud rate is 9600
(
default
)
1
0
0
Serial port baud rate is 19200
1
0
1
Serial port baud rate is 38400
1
1
0
Serial port baud rate is 57600
1
1
1
Serial port baud rate is 115200
4
3
Serial parity bit
The serial port modes of the two communication
parties can be different;
0
0
8N1
(
default
)
0
1
8O1
1
0
8E1
1
1
8N1
(
equal to 00
)
2
1
0
Wireless air data rate
(
bps
)
The air rate of both communication parties must
be the same;
0
0
0
Air data rate 0.3k
0
0
1
Air data rate 1.2k