ZigBee Protocol

Motivation

I wrote this article because I need to know ZigBee protocol for the part time job. If I have to do it, I will write the article so that everyone can see it.

What is ZigBee

ZigBee is a low-power consumption, two-way wire-less communication.

About radiation

ZigBee uses IEEE 802.15. ZigBee deals with Network layer, and IEEE deals with Mac layer and physical layer.

About Device

ZigBee has three device types, coordinator, router, and end device.

Coordinator starts PAN, a computer network for interconnecting devices centered on an individual person’s workspace. It plays a management role including authentication and channel management. It is often used as a gateway that enables connection with Internet.

End devices could sleep. These data are sent to router or coordinator. It can synchronize with sensor, deciding what to do.

Router has the ability to act as a mesh network.

Addressing

Every ZigBee devices has own 64 bit address. When the device try to participate PAN, 16 bit address is given, which is identical in the network.

ZigBee communicate using 16 bit address.

PAN

Every device in the PAN has same PAN ID and radio frequency.

Coordinator creates PAN ID and decide the channel PAN will use.

End devices start scanning, sending beacon request. The devices which received beacon request answer beacon response. Doing this end devices can know Node Descriptor, which includes the information of devices around it. After that, device decides what PAN ID to participate in from Node Descriptor. These are called “Active Scan”.

After deciding PAN ID, device sends association request. If it is ok, the connected device responds association response, adding it to the list (neighbor table).

Data Send And Receive 

When device receives data, first check whether end point number is correct. Second, view the profile number and decide which profile should be processed. Third, application analyzes the data.

Reference

http://www.zigbee.org/wp-content/uploads/2014/11/docs-05-3474-20-0csg-zigbee-specification.pdf

http://www.skyley.com/wiki/index.php?ZigBee%E5%85%A5%E9%96%80

03/13/2019

シェアする

  • このエントリーをはてなブックマークに追加

フォローする