ZigBee Is A IEEE 802
ZigBee Is A IEEE 802
he ZigBee Network Protocol follows IEEE 802.15.4 standards for Physical and MAC layers,
along with its own Network and Application layers.
In a Star Topology, the Coordinator is the central device which initiates and manages
devices within the network. Each coordinator selects a unique identifier, which is not
used by any other network within its region of influence. Each End Device
communicates with the Coordinator. The end devices are generally RFDs which can
only communicate with the Coordinator or the FFD.
In Peer to Peer Topology, each end device can communicate with one another
placed in its vicinity. The devices are FFDs which can communicate directly with
each other. However, this type of topology can contain a RFD which communicates
with only one device in the network. A Peer to Peer Topology can be a Mesh
topology or a Tree Topology.
1. ysical Layer: This is the lowest protocol layer, and is responsible for
controlling and activating the radio transceiver, and also for selecting the channel
frequency and monitoring the channel. It is also responsible for communication
with the radio devices. Communication of data or commands is done using
Packets. Each PHY Packet consists of a Synchronization Header (SHR)
(responsible for receiver synchronization), Physical Header (PHR)(contains
information about Frame length) and PHY payload (provided by upper layers as a
frame and includes data or command).
2. Medium Access Control or MAC Layer: It acts as an interface between the
Physical layer and the Network layers. It is responsible for generation of Beacons
and synchronization of devices in the Beacon enabled network. A MAC frame can
be a Beacon Frame (used by Coordinator to transmit Beacons), Data Frame,
Acknowledge Frame or a Command Frame. It consists of a MAC Header
(contains information about security and addressing), Variable length size MAC
Payload (contains data or command) and a MAC Footer (contains 16 bit Frame
check sequence for data verification).
3. Network Layer: This layer connects the Application layer with the MAC layer.
It manages the network formation and routing. It establishes a new network and
selects the network topology. The NWK frame consists of the NWK Header and
NWK Payload. The Header contains information regarding network level
addressing and control. The NWK Payload contains the Application sublayer
frame.
4. Application Support Sub Layer: It provides a set of services through two
entities – Application SupportData Entity and Application Support Management
Entity, to the application and network layers. These entities are accessed through
their respective Service Access Points (SAP)
5. Application Layer: This is the highest layer in the network and is responsible
for hosting the application objects which holds user applications and ZigBee
Device Objects (ZDOs). A single ZigBee device can contain up to 240 application
objects which control and manage the protocol layers. Each application object