ZigBee Device Node

Source: Internet
Author: User
Tags join reserved


ZigBee defines 3 types of devices, each of which has its own functional requirements:

1. ZigBee Coordinator (Co-ordinator), is a device to start and configure the network, is the central node of the network, a ZigBee network is only allowed to have a ZigBee coordinator;

2. ZigBee Router (Router), is a device supporting the association, the ability to forward messages to other devices, ZigBee network or tree network can have multiple ZigBee routers, ZigBee Star Network does not support ZigBee routers;

3. ZigBee Terminal device (End device), which performs a specific function.

The above 3 devices can be divided into full-function equipment (FFD) and semi-functional equipment (RFD) according to functional integrity. Among them, the full-featured equipment can be used as a coordinator, router or terminal equipment, and semi-functional devices can only be used as terminal. An FFD can communicate with multiple RFD or multiple other ffd, while a RFD can communicate with only one FFD.

When the coordination node starts, the network is established based on the defined search channel (ddefault_chanlist) and PID (dzdapp_config_pan_id), and if the PID is defined as 0xFFFF, the PID is generated randomly.

After the routing node and the endpoint are started, search for the specified PID (dzdapp_config_pan_id) network and join the network. If the PID is defined as 0xFFFF, you can join another network.

Each device node includes the following 2 types of addresses:

1. IEEE MAC Address:

This is a 64-bit address that is assigned by the IEEE Organization for a unique identity device, and no two devices worldwide have the same MAC address. In the ZigBee network, it is sometimes called the MAC address as an extended address.

2. 16-bit short address:

A 16-bit short address is used to identify devices on the local network and to send data on the network, so it is possible to have the same short address if it is in a different network. When a node joins the network, it assigns a short address to it by its parent node.

The short address of the coordinator is 0.

Each device node can define 240 different application objects, each of which corresponds to a port, from 1 to 240. Also defined are 2 additional ports, port 0 and Port 255, Port 0 reserved for ZdO (device object layer) data interface, and port 255 is used to broadcast data to all application objects. Ports 241 through 254 are reserved.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.