When learning the zigbee protocol stack, I often see zigbee terms such as applications, zigbee device objects (ZDOs), nodes, devices, endpoints, clusters, attributes, bindings, addressing, etc. I don't know what these zigbee terms mean. How to define, how to distinguish, how to divide and what is the connection between them, everything is not known. There are also many explanations of the zigbee terminology on the Internet. I don't know if there is a problem with my understanding ability, or is it difficult to understand and too abstract?

First, the attribute

The attribute Attribute is a data value reflecting the physical quantity or state, such as the switch value (On/Off), the state value of the lamp (On/Off), the temperature value, the percentage, etc.

Second, cluster, or cluster

A cluster cluster is a cluster that contains one or more attributes. Simply put, a cluster is a collection of attributes. Each cluster is assigned a unique cluster ID and each cluster has a maximum of 65536 attributes. For example, a cluster contains switches in different situations, lamps in different situations, temperature values ​​in different situations, percentages in different situations, etc.

Third, the device description

Device Description Device DescripTIon is part of a large target application, including one or more clusters

Fourth, the endpoint

The endpoint EndPoint is the entry point of the protocol stack application layer, that is, the entry address. It can also understand where the application object (ApplicaTIon Object) exists. It is a group of clusters defined to implement a device description. Each Zigbee device can support up to 240 such endpoints. Port 0 is used for configuration and management of the entire Zigbee device. Applications can communicate with other layers of the Zigbee stack through Endpoint 0 to enable initialization and configuration of these layers. The object attached to endpoint 0 is called the Zigbee Device Object (ZDO). Endpoint 255 is used for broadcast to all endpoints, and endpoints 241-254 are reserved endpoints.

Fifth, the configuration file

A profile profile can be understood as a collection of multiple device description items that collectively facilitate an interactive application. The attribute ID and the cluster (cluster) ID are defined to make it look like a certain feature of the device. Taking the home intelligent control system as an example, the cluster configuration file The OnOffDRC of the remote control device has an attribute OnOff, and This attribute is an unsigned 8-bit value, the value 0xFF means "on", 0x00 is "off", and 0xF0 is invalid. Typically, configuration files are also defined for devices, which clusters are mandatory and which are optional. In addition, the configuration file also defines some optional zigbee protocol hosting services. Each application corresponds to a profile, which includes: Device ID, Cluster ID, Attribute ID, and the type of service used by the AF (Application Framework). information. In the zigbee protocol, up to 2^16 devices, 2^8 clusters are allowed in one configuration file, and each cluster supports up to 2^16 attributes.

Six, node

A Node Node can also be understood as a container containing a set of zigbee devices sharing a wireless channel. Each node has one and only one wireless channel. In addition to a 64-bit IEEE address and a 16-bit network address, each node also provides an 8-bit application layer entry address (endpoint: EndPoint) corresponding to the user application object.

Node one Z1: switch control device

Node two Z2: lamp device

Event: Switch 2 controls the lighting of the lamp 4, and the switch 1 controls the lighting of the lamp group 1~3.

Cluster: The status of the switch and the status of the lamp under different conditions

EndPoint: switches and lights

Attribute: Both switches and lights have two properties: on and off.

Seven, Binding (Bindling)

Zigbee defines a special process called endpoint binding. Binding creates a logical link between an endpoint of the source node (EndPoint) and an endpoint of the target node. Binding can occur between two or more devices. The coordinator node maintains a binding table that basically includes logical links between two or more endpoints.

In the binding table, the following information is included, the IEEE address, the endpoint number, and the cluster number of the source node and the target node. For two nodes that can establish a binding relationship, the attributes of their cluster must have one choice "input" and the other select "output", and the cluster numbers must be equal, so that they can establish bindings with each other. If the target device's extended address is known, the zb_BindDeviceRequest() function can be called to create a binding entry.

Eight, addressing (Addressing)

In the Zigbee network, two types of addresses are used: one is a 64-bit IEEE address, also called a physical address, and the 64-bit address is unique among all zigbee devices, including one IEEE-assigned, globally unique 24-bit. Manufacturer-specific organization identifier OUI (OrganizaTIonally Uqique IdenTIfier). The other is a 16-bit network address (NWK Address). When a device joins a zigbee network, it obtains a 16-bit network address from the parent device that it is allowed to join. This address is unique in the zigbee network for data transmission and packet routing. In zigbee, packets can be unicast, multicast, or broadcast, so there must be address mode parameters. A unicast packet is sent to only one device, a multicast packet is transmitted to a group of devices, and broadcast data is sent to all nodes of the entire network. Group Addrsing can also be used when an application needs to send a packet to a group of devices on the network.

The Emergency Exit Lights Led for business, suitable for residential and commercial illumination, churches, auditoriums, restaurants, supermarkets, warehouse- etc. And the Commercial Exit Sign is a built-in lithium-ion rechargeable battery, more than 90 minutes continuous lighting with the power failure. Also, the li-ion battery pack which can be rechargeable more than 500 times. The exit LED emergency exit lamp meets all requirements for different states and building code for the various installation, you can pass the fire department inspection easily with it.

Lithium Ion Battery Emergency Exit Sign


Lithium Ion Battery Emergency Exit Sign

Emergency Exit Sign With Rechargeable Battery,Customized Arrow Exit Sign,Exit Sign With Running Man

Jiangmen City Pengjiang District Qihui Lighting Electrical Appliances Co., Ltd , https://www.qihuilights.com