Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
24
Open network
Send:
F5 01 40 01 FF
Return:
FC 40 00
Send:
F5 01 40 01 FF
Return:
FC 40 00
Leave the network
Send:
F5 01 40 02 FF
Return:
FC 40 00
Send:
F5 01 40 02 FF
Return:
FC 40 00
New network
Send:
F5 01 40 03 FF
Return:
FC 40 00
Send:
F5 01 40 03 FF
Return:
FC 40 00
Open the network: The main coordinator node is effective, which means that the open network allows the terminal to join
for a period of time. The command configures the "centralized network open time" parameter. This command is invalid
for the terminal and the dormant terminal, and only the coordinator node is effective.
Leaving the network: The coordinator executes this command to clear the original network and rebuild a new network at
the same time. The terminal node executes this command to clear the saved network, and then executes the restart or new
network command to join the new network.
New network: mainly for the terminal, execute this command to join a new network, you need to leave the network and
then execute the new network to join the new network.
6.5 HEX parameter description
6.5.1 System sending mode
Read command format:
Command format
Command example
Send: FE 01 26 FF
Return: FB 26 send_mode
Send: FE 01 26 FF
Return: FB 26 02
Configuration instruction format:
Command format
Command example
Send: FD 01 26 mode FF
Return: FA 26
Send: FD 01 26 02 FF
Return: FA 26
mode:
0x00 broadcast (default);
0x01 Multicast (you need to configure the target group number in the configuration mode first);
0x02 Transparent transmission on short address (need to configure the target short address in configuration
mode);
0x03 transparent transmission on long address (need to configure the target long address in configuration
mode);
0x04 protocol on short address (the first two bytes in the transmission mode are the short address of the target
device network);
0x05 protocol multicast (the first byte in the transmission mode is the target network group number);