Chengdu Ebyte Electronic Technology Co.,Ltd.
E180-Z8910SP User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
26
6.5.4 Network status
Read command 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 has joined the network
0x03 There is a network but no parent node
No network: It means that the module has not joined any network in the factory state, or has joined the network before
but performed the action of leaving the network, and the network information saved in the flash is cleared.
Already joined the network: it means that the module has joined the network normally, and data can be sent and received
normally.
There is a network but no parent node: It means that the module has joined the network, but the parent node is offline,
and the data cannot be sent and received normally.
6.5.5 Network PAN_ID
Read command 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, then PANID is randomly selected to establish a network.
Terminals, routing, etc. can be configured with 0xFFFF to join any PANID network. PANID parameters need to be
configured before joining the network.
6.5.6 Network short address:
Read command format: