Chengdu Ebyte Electronic Technology Co., Ltd.
E180-Z5812SP Product Manual
Copyright ©2012–2019,
Chengdu Ebyte Electronic Technology Co., Ltd.
22
Changing the configuration of the node type needs to be restarted to take effect. During normal operation, the device configured
with the node type will leave the current network and be in a state of no network. After restarting, it will switch to the changed
node type. The dormant terminal supports the wake-up function of the serial port receiving pin, and the length of the wake-up
frame byte is less than or equal to 5 bytes. It is recommended to use "FF" with 5 bytes of "FF FF FF FF FF" to wake up.
6.6.4 Network Status
Read instruction format:
command format
command example
send
:
FE 01 02 FF
return
:
FB 02 nwk_state
send
:
FE 01 02 FF
return
:
FB 02 02
nwk_state
:
0x00 No network
0x02 Already joined the network
0x03 Has a network but no parent
6.6.5 Network PAN_ID
Read instruction format:
command format
command example
send
:
FE 02 03 FF
return
:
FB 03 pan_id
send
:
FE 02 03 FF
return
:
FB 03 FE 5B
Configuration instruction format:
command format
command example
send
:
FD 02 03 pan_id FF
return
:
FA 03
send
:
FD 02 03 FE 5B FF
return
:
FA 03
pan_id
:
0x0000
~
0xFFFE Fixed network PAN_ID
0xFFFF Random network PAN_ID
Note: If the coordinator is configured as 0xFFFF, PANID will be randomly selected to build a network. Terminals and routers
configured with 0xFFFF can join any PANID network. PANID parameters need to be configured before joining the
network.
6.6.6 Network short address:
Read instruction format:
command format
command example
send
:
FE 02 05 FF
return
:
FB 05 Short_Addr
send
:
FE 02 05 FF
return
:
FB 05 F6 FA