ZigBee network address allocation

1. ZigBee has two types of addresses: one is a 64-bit IEEE address, which is a MAC address, and the other is a 16-bit network address.

(1) The 64-bit IEEE address is a globally unique address that will follow the device once it is allocated. It is usually set by the manufacturer or when it is installed. These addresses are maintained and assigned by the IEEE organization.

Question: Programming with the Z-stack protocol stack, is the 64-bit IEEE address included with the chip, or does it need to be assigned during programming? This point needs to continue to study and find out the answer.

(2) The 16-bit network address is assigned when the device joins the network. It is unique in the network and is used to authenticate devices and send data in the network.

ZigBee network address allocation

Second, the allocation of network addresses

(1) ZigBee uses a distributed addressing scheme to allocate network addresses. This scheme ensures that all assigned addresses in the entire network are unique. At the same time, the distributed nature of the addressing algorithm itself ensures that the device can only communicate with its parent device to receive a unique network address.

(2) Before each route is added, the addressing scheme needs to know and configure some parameters: MAX_DEPTH, MAX_ROUTERS, MAX_CHILDREN. These parameters are part of the protocol stack. In ZigBee2006 MAX_DEPTH = 5, MAX_ROUTERS = 6, MAX_CHILDREN = 20.

(a) MAX_DEPTH determines the maximum depth of the network, the coordinator is at depth 0, its child device is at depth 1, and its child devices are at depth 2...

(b) MAX_CHILDREN determines the maximum number of child nodes a route or a coordinator node can handle

(c) MAX_ROUTERS determines the maximum number of child nodes with routing capabilities that a route or coordinator node can handle. This parameter is a subset of MAX_CHILDREN.

(3) If you want to change these values ​​during development, you need to complete the following steps:

(a) First of all, to ensure that the new planting of these parameters is legal, the entire address space can not exceed 2^16, which limits the maximum value that can be set. You can use the CSkip.xls file in the project\ZStackools folder to verify that these values ​​are valid. When the data set in the form is not valid, an error message will appear.

(b) Second, make sure that the standard stack configuration is no longer used. Instead, use a network-defined stack configuration (for example, change STACK_PROFILE_ID to NETWORK_SPECIFIC in nwk_globals.h), and then set MAX_DEPTH in the nwk_globals.h file. The parameter is an appropriate value.

(c) Finally, set the Cskipchldrn and CskipRtrs arrays in the nwk_golbals.c file. The values ​​of these arrays consist of MAX_ROUTERS, MAX_CHILDREN.

HMI Touch Screen Repair

Vicpas for Panasonic Repair, Vicps for Panasonic touch screen Repair, Vicpas for Panasonic touch panel Repair, Vicpas for Panasonic HMI panel Repair, Vicpas for Panasonic interface panel Repair, Vicpas for Panasonic simatic panel Repair, Vicpas for Panasonic multi panel Repair, Vicpas for Panasonic GT01 HMI panel Repair, Vicpas for Panasonic smart line Repair, Vicpas for Panasonic GT01R Repair, Vicpas for Panasonic GT02M Repair, Vicpas for Panasonic GT02G Repair, Vicpas for Panasonic Operator panel Repair, Vicpas for Panasonic Sinumeric Repair, Vicpas for Panasonic GT03T-E Repair, Vicpas for Panasonic GT05 Repair, Vicpas for Panasonic GT11 panel Repair, Vicpas for Panasonic KP3C Repair. Vicpas for Panasonic membrane keyboard Repair, Vicpas for Panasonic membrane keypad Repair, Vicpas for Panasonic membrane switch Repair, Vicpas for Panasonic front cover Repair, Vicpas for Panasonic plastic shell cover Repair, Vicpas for Panasonic interface cover Repair,

Panasonic Touch Screen,Panasonic Touch Panel,Panasonic Touch Membrane,Panasonic Touch Glass

GUANGZHOU VICPAS TOUCH TECHNOLOGY CO.,LTD , https://www.touchsuppliers.com