User's Manual

D2106-THGN01_User Manual
31
9.User instruction
9.1 ZigBee networking role and notice
No.
Description
1
Module uses Zigbee ad hoc networking, consisting of one coordinator and random other devices(routers and
end-devices)
2
It has self-organization, self-routing and network multi-hopping function (By default the network depth is 5,
there are 20 son nodes and 6 son router nodes in total).
3
The father node device (coordinator and router) can save data for the end-devices in sleep. The save time can be
set by the user (by default it is 30 seconds, ranging from 0 to 120 seconds).
4
Only the end device has the sleep function, sleeping within 120S, the user can set by themselves, the default 0
(with sleep mode off).
Note: The recommended sleep time must be less than the data storage time of father node , otherwise it will
affect the data reception.
5
In network communication Short Address communication is used.
Note: The short address is randomly distributed when the device joins the network, the long address of
MacAddress is the only fixed one, if the short address is unknown, the network Short Address can be found via
corresponding commands according to the MacAddress , and point to point communication is conducted.
6
Coordinator is unique in the network, the short address is 0000.
7
If unicast address is FFFFFFFDFFFCthen it corresponds to three broadcast mode.
8
When PANID is FFFF, it means automatic distribution. Networking cannot be realized if PANID is different.
9
When network keys are not the same the network cannot be joined. The module network key of the module
remains open, the user cannot get the correct air data via software packet capture .
10
All devices in the network have opened broadcast function. Multiple devices broadcasting at the same time or a
single device broadcasting at a higher frequency will lead to a serious network congestion. Please try to avoid
this situation.
11
When multicasting module does not need to join the group,but be directly multicasted to any group according
to communication usage guidance. After the multicast, the local group number will not change due to different
multicast number.
12
PWM function and sleep mode cannot be used at the same time in network, please turn off the sleep mode before
turn on PWM function .
13
After sleep mode, it can be waked up via the serial port(UART).
Note: In the sleep state, the first frame of data waked up via UART is invalid.
14
In ZigBee network communication, the transmission cycle of single packet data should not be too fast (generally
recommended in more than 1 second), too fast may cause data loss. (Pay special attention to the fact that there
are too many nodes in the network and the broadcast cycle is too fast, which may cause network instability.)
9.2 Network structure
The network structure of module is MESH network