Chengdu Ebyte Electronic Technology Co.,Ltd.
E180-ZG120A User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
1
The touch link of the ZLL protocol defines an initiator and a target. The primary responsibility of the initiator is to
initiate the touch link process, which is usually defined as the initiator. The target's role is to wait for a nearby touch link
request. If the initiator does not have a network, the target needs to establish a new network. If the initiator has a network,
the target joins the initiator's network. The lower router will be defined as the target. In a typical light control application,
the remote is the end-device initiator and the light is the router target.
6.3.2 Steps of creating a touch link network
(1) First, before the initiator (end-device) initiates a touch link network,
if the initiator (end-device) has joined other
networks before
,
the information of the previous network must be removed to make the network state in the state of no network.
(2)
Secondly, the initiator (end-device) initiates a touch link scan request to discover the target person (router)
existing around, and the scanned person is as close as possible to the initiator in scanning process, and the other devices
are far away from the scanning area as much as possible (the threshold of the scanning signal is -40 dBm) , that is,
devices with signal strength greater than -40dBm will be scanned), if scanning more than two target devices will affect
the success rate of touch link
(3) Secondly, after the initiator scans the target device, if it initiates the touch link for the first time, it initiates a
request to create a new network to the target; if the touch link has succeeded before, it initiates the touch link to the target.
Network request.
(4)
Finally, the target responds to the initiator's request to create a new network or join the touch link network.
After the above steps, a new ZLL touch link network has been completed. There may only be one initiator in
network, and other nodes are all targets. Before the touch link, the initiator must first clear the previously added network.
During the touch link process, only one device is close to one device at a time. The touch link network can be used
without coordinator and only requires end-device and router, so that the network is simpler and more convenient, and is
widely used in the field of lighting control.
6.4 Functional parameter description
The module provides a wide range of configurable parameters that can be flexibly adapted to the actual application
needs to build different forms of network.
Configuration
information
Property
Parameter
range
Function Description
PANID
Read/write
0x0000
~
0xFFFF
The PANID is the network identifier of ZIGBEE and is used to
determine the identity of the network to which it belongs. All
devices in the same network must have the same PANID. When
the end-device or router is configured as 0xFFFF, it can join any
network that already exists on the same channel
;
Local network
address
Read
0x0000
~
0xFFFF
It is used to distinguish each node in network. Each device is in
the same network. The local network address must be unique.
When the network is not added, the network address of the device
is 0xFFFF. After joining, the short address of the device is
allocated by the coordinator. The coordinator is fixed at: 0x0000;
Network status
Read
0
、
1
、
2
、
3
、
4
Indicates the network status of the current device, including no
network, currently joining the network, successfully joining the
network, having the network but losing the parent node, leaving
the current network, and so on;