Chengdu Ebyte Electronic Technology Co.,Ltd.
E180-Z5812SX User Manual
Copyright ©2012–2021, Chengdu Ebyte Electronic Technology Co., Ltd.
24
6.6.13 Serial Port Baud Rate
Command format for Read:
Command Format
Command Example
Send: FE 01 0C FF
Reply: FB 0C baud
Send: FE 01 0C FF
Reply: FB 0C 09
Command format for Configuration:
Command Format
Command Example
Send: FD 01 0C baud FF
Reply: FA 0C
Send: FD 01 0C 09 FF
Reply: FA 0C
Table of baud rate code and baud value:
Note: To change the baud rate configuration of serial communication, you need to restart the device for the changed baud
rate to take effect.
6.6.14 Sleeping Time
Command format for Read:
Command Format
Command Example
Send: FE 01 0D FF
Reply: FB 0D sleep_time
Send: FE 01 0D FF
Reply: FB 0D 54
Command format for Configuration(only for terminal):
Command Format
Command Example
Send: FD 01 0D sleep_time FF
Reply: FA 0D
Send: FD 01 0D 54 FF
Reply: FA 0D
When the node is a sleeping terminal, the functions are as follows:
sleep_time: (1
~
60) Sleep wake-up period means 1
~
60 unit (seconds)
(61
~
255) Sleep wake-up period representation 60+(sleep_time-60)*10 unit (seconds)
The default value of the parameter is 10, which means 10 seconds. It means the sleep period, it also represents the data request period,
and also represents the heartbeat period. Less than 30 seconds can receive the data sent by the parent node. The shorter the period, the
less the delay in receiving data. The shorter the period, the faster the optimal parent node switching speed. The faster the detection of
missing parent nodes is.
Code
Target baud rate
Code
Target baud rate
01
4800
08
76800
02
9600
09
115200
(
default
)
03
14400
0A
128000
04
19200
0B
230400
05
38400
0C
256000
06
50000
0D
460800
07
57600