Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
24
When the node is powered on, it will join the network (if there is no network) or recover the network (if there is
network but no parent node) in the cycle of rejoin period. When the node detects the loss of the parent node, it will
reconnect in the cycle of rejoin period.
When this parameter is 254, it means that it doesn’t reconnect or join network periodically.
6.5.17 The maximum number of attempts to reconnect
Read command format:
Command format
Command example
Send: FE 01 30 FF
Return: FB 30 net_rejoincount
Send: FE 01 30 FF
Return: FB 30 05
Configuration command format:
Command format
Command example
Send:FD 01 30 time FF
Return:FA 30
Send:FD 01 30 05 FF
Return:FA 30
Rejoin maxcount: (1
~
254) range of the maximum number of reconnections, 1
~
254, default 10.
When the parent node is lost or there is network but no parent node, the maximum number of rejoin attempts will be
made after the node is powered on. If the previous network has not been restored, the previous network information
will be cleared, the node will periodically scan the new network in the cycle of rejoin period . The power
consumption of scanning the new network is higher than restoring the previous network.
When the parameter is 254, it means that it always reconnects without clearing the network information when there
is network but no parent node.
6.5.18 Remote configuration ID
Read command format:
Command format
Command example
Send: FE 02 31 FF
Return: FB 31 header
Send: FE 02 31 FF
Return: FB 31 A8 8A
Configuration command format:
Command format
Command example
Send:FD 02 31 header FF
Return:FA 31
Send:FD 02 31 A8 8A FF
Return:FA 31
Remote Header: 0x0000 indicates that remote configuration is turned off, 0x0001
~
0xFFFF indicates that remote
configuration is turned off, default 0xA88A(0xA8 0x8A)
.
6.5.19 User GPIO parameter
Read command format:
Command format
Command example
Send: FE 03 20 GpioId FF
Return: FB 20 GpioId In/Out level
Send: FE 03 20 00 FF
Return: FB 20 00 01 01