SlideShare a Scribd company logo
A Simulation Model of IEEE 802.15.4 in OMNeT++
Feng Chen Falko Dressler
Computer Networks and Communication Systems
University of Erlangen-Nuremberg
91058 Erlangen, Germany
{feng.chen,dressler}@informatik.uni-erlangen.de
ABSTRACT
IEEE 802.15.4 defines the physical and MAC layer specifica-
tions for low-rate wireless personal area networks (WPANs).
In order to evaluate its performance, we develop a simulation
model of IEEE 802.15.4 in OMNeT++, which is a popular
simulation platform especially suitable for the simulation of
communication networks. The model consists of two mod-
ules for PHY and MAC layers respectively and supports star
and cluster tree topologies. Our model is built conforming
to the latest version - IEEE Std 802.15.4-2006 and has the
extendibility to the ZigBee protocol stack.
Keywords
IEEE 802.15.4, simulation model, OMNeT++
1. INTRODUCTION
IEEE 802.15.4 [1] is a standard designed for low-rate wireless
personal area networks (LR-WPAN) and defines the spec-
ifications at the physical layer (PHY) and medium access
control (MAC) sublayer. In contrast to wireless local area
network (WLAN), which is standardized by IEEE 802.11
family, LR-WPAN stresses short-range operation, low-data-
rate, energy-efficiency and low-cost. Thus, LR-WPAN has
become one of the most foreseen technologies enabling WSNs.
An example is ZigBee [4], which is an open specification
built on the LR-WPAN standard and targeted at low-cost,
low-data-rate and low-power wireless networking.
OMNeT++ [2] is a public-source, component-based and dis-
crete event simulation environment and is becoming a very
popular simulation platform especially in communication
and networking community. Its primary application area
covers the simulation of communication networks, IT sys-
tems, queuing networks and business processes as well. [5]
has shown that OMNeT++ is very suitable for simulating
wireless sensor networks owing to its modular structure and
using NED language for ease of simulation configuration.
In this paper, we present a simulation model of IEEE 802.15.4
in OMNeT++. It consists of two modules for PHY and
MAC layers respectively and supports simulations of star
and cluster tree topologies. The PHY model implements the
complete functions defined in the specifications. The MAC
model implements three data transfer modes (direct, indi-
rect and GTS), beacon transmission and synchronization,
complete CSMA-CA mechanism and partial PAN manage-
ment functions, like association. To measure energy con-
sumption of nodes. we implement an energy model in the
MAC module. All parameters defined in the specification
except for those for security functions are implemented in
the model and adjustable in the OMNeT++ configuration
file omnetpp.ini or in a C++ source file where the default
values for the majority protocol parameters are stored.
The rest of the paper is organized as follows. In section
2, we give a brief description of 802.15.4. In section 3, the
model of IEEE 802.15.4 in OMNeT++ will be introduced
in detail. Section 4 concludes the paper and give a vision to
the future work.
2. A BRIEF OVERVIEW OF IEEE 802.15.4
In this section, we give a brief overview of IEEE 802.15.4.
Only those parts related to our model are introduced.
The IEEE 802.15.4 network can work in one of three ISM
frequency bands and choose from a total of 27 channels.
Two different types of devices are defined in an LR-WPAN,
a full function device (FFD) and a reduced function device
(RFD). An FFD can talk to any other device and serves as
a PAN coordinator, a coordinator or a device. An RFD can
only talk to an FFD node. The standard supports two net-
work topologies, star and peer-to-peer. In the star network,
the communication occurs only between devices and a single
central controller, called the PAN coordinator, which man-
ages the whole PAN. The peer-to-peer topology also has a
PAN coordinator, however is differs from the star topology
in that any devices can communicate with any other one as
long as they are in range of one another. A special case of
peer-to-peer topology is cluster tree, in which a node talks
only to its parent or children nodes.
To achieve better energy-efficiency, the IEEE 802.15.4 can
operate on beacon-enabled mode, for which a superframe
structure is utilized. A super frame is bounded by period-
ically transmitted beacon frames, which allow nodes to as-
sociate with and synchronize to their coordinators. It con-
MAC
PHY
Traffic
ü CSMA
-
CA
ü BeaconTx
/Rx
ü Direct, indirect and GTS
data transmission
ü Frame filtering and
duplication detection
ü Simplified association
process
ü IFS delay
ü Radio sleeping control
ü Energy model
ü Radio model
ü ED
ü CCA
ü Channel switch
ü PacketTx
/Rx
ü Collision detection
ü Ideal/
lossychannel
Packets generator with
a FIFO queue
Channel
Control
Figure 1: The structure and components of the 802.15.4 model
sists of two parts, active and inactive period. An active
portion is divided into 16 contiguous time slots that form
three parts: the beacon, contention access period (CAP)
and contention-free period (CFP). In CAP, all data trans-
mission should follow a successful execution of the slotted
CSMA-CA algorithm. There are two data transfer modes
defined in CAP, the indirect transmission for downlink data
and the direct transmission for uplink data. In CFP, a de-
vice can communicate with the PAN coordinator directly in
the called guaranteed time slots (GTS) without contending
for the channel using CSMA-CA mechanism. The GTS are
allocated by the PAN coordinator, therefor GTS transfer
mode is only applicable in the star network.
3. DESCRIPTION OF IEEE 802.15.4 MODEL
IN OMNET++
The IEEE 802.15.4 model is developed in the INET frame-
work, which is an open-source communication networks sim-
ulation package for the OMNeT++ simulation environment
and suited for simulations of wired, wireless and ad-hoc net-
works. The architecture of the 802.15.4 model is shown in
Fig. 1. There are three sub models, traffic, MAC and PHY,
each of which is a independent module and inherited from
the basic C++ class cSimpleModule in OMNeT++. The
modules are connected with each other via gates and com-
municate via messages. A snapshot of the model in the
graphical interface of OMNeT++ called Tkenv is shown in
Fig. 2. In the following sub sections, each of these modules
is introduced in detail.
3.1 PHY Module
In the INET framework, a general radio module called Ab-
stractRadio implements the common functionality of the ra-
dio, like packet transmission and reception with collision
detection, channel switch, etc.. We adapt this module to
create a proper radio model conforming to IEEE 802.15.4,
by changing or adding the following contents:
• Redefine radio states: according to the specification,
the radio is modeled with three states: transceiver dis-
abled (TRX OFF), transmitter enabled (TX ON ) and
receiver enabled (RX ON ). The MAC module com-
pletely controls radio operation and can set the radio
into different states via a request primitive. The PHY
module reports the setting result back to the MAC via
a confirm primitive.
• Clear channel access (CCA): the MAC module requires
the PHY to perform CCA via the PLME-CCA.request
primitive. The channel state (busy or idle) is deter-
mined in the model by checking two flags, isRxing and
isTxing, which indicate whether the radio is currently
receiving or transmitting packets. The PHY will set
the flag isRxing by either of the following two facts: a
packet (not a noise) is currently being received or the
current noise level is above the sensitivity value. For
a CCA request, checking flags will take place twice at
both the beginning and the end of a period of 8 sym-
bols. The CCA result will be reported back to the
MAC via a corresponding confirm primitive.
In addition, the PHY module can be configured to work in
any one of a total 27 channels and transmit packets at three
different data rates, as defined in the specification. Dynam-
ical channel switch during the simulation is also supported.
3.2 MAC Module
This is the main module in the whole model and contains
the following three main parts:
3.2.1 Channel access
Channel access is the core function for any MAC protocol.
We have implemented the majority functions and primi-
tives for channel access defined in the specifications, includ-
ing three data transfer modes (direct, indirect and GTS),
MAC frame filtering, detection for duplicate received pack-
ets and the most important part - CSMA-CA mechanism
Figure 2: The 802.15.4 model in TKenv, the graphical interface of OMNeT++
(slotted and unslotted). To make the model more accurate,
we also consider the IFS delay, which is defined as the re-
quired process time for a frame received from the PHY by
the MAC.
3.2.2 Beacon mechanism and PAN management
IEEE 802.15.4 achieves good energy-efficiency owing to its
beaconing mechanism. We implements in our model the
complete beacon transmission and reception for nodes form-
ing star and cluster tree network automatically. For exam-
ple, to simulate a cluster tree topology, user can specify in
the simulation setup phase which node to be the PAN co-
ordinator and when to broadcast its first beacon. During
the simulation running, when those nodes being placed one
hop away from the PAN coordinator receive their first bea-
con from the PAN coordinator, they initiate the association
process. After successful association, if those nodes are not
leaf nodes, they will act as a coordinator and start transmit-
ting beacons to those nodes placed at the next level in the
cluster tree. When all leaf nodes are associated, the network
forming phase is complete. With respect to PAN manage-
ment functions, a simplified association process is modeled,
that is, the node will associate with the coordinator, from
which it receives the first beacon. Furthermore, loss of syn-
chronization due to time drift (e.g. use of oscillator with
±20ppm) can be simulated with our model. Other PAN
management functions, like channel scan and dissociation,
are not considered in our model.
3.2.3 Energy model
Energy consumption is always a major interest in study-
ing MAC protocols like IEEE 802.15.4 designed for energy-
restricted wireless applications. In our model, we measure
only the energy consumed at the radio. To achieve this in
the MAC module, we let the MAC module keep tracking
the current radio state in the PHY module via a message
passing module defined in the INET framework called Noti-
ficationBoard. Therefor we only need to count the total time
that the radio has spent in each state during the simulation.
As long as the radio power for each state is known, the total
energy consumption can be easily calculated. Although in
our model we use a single state RX ON to represent two
possible working state in a real radio, idle listening and re-
ceiving, it is reasonable to assume that radios in these two
states consume approximately the same power.
3.3 Traffic Module
The traffic module is not a part of IEEE 802.15.4, however
we need a traffic generator to run the simulation. This mod-
ule is modeled as the upper layers above the IEEE 802.15.4
model and acts as both a traffic source generating packets
for the MAC module and a traffic sink collecting and ana-
lyzing received packets. The traffic module is inherited from
the existing traffic generator class, which is implemented by
Dietrich Isabel [3] and supports generating traffic with vari-
ous types, including CBR, Exponential, and On-off. It uses
a flexible XML-based parameter structure and supports dy-
namical change of traffic pattern during the simulation.
Table 1: Model Parameters
transmitterPower power for sending packets (mW)
sensitivity carrier sense threshold
thermalNoise base noise level (dBm)
snirThreshold signal/noise threshold
isPANCoor is a PAN coordinator or not
BO beacon order
SO superframe order
startTime when PAN starts beaconing
3.4 Model Parameters
Our model provides a vast amount of parameters adjustable
for conducting a comprehensive study of IEEE 802.15.4.
The default values for the majority protocol parameters are
stored in a single C++ header file. We also put some pa-
rameters, which are most likely to be modified during the
simulation, into the corresponding NED file for each simple
module, so that user can change them conveniently in the
simulation configuration file omnetpp.ini. Those parameters
are listed in Table 1.
4. CONCLUSIONS AND FUTURE WORK
In this paper, we present a simulation model for IEEE Std.
802.15.4 developed in the popular simulation environment
OMNeT++. Except for the PAN management and security
functions, the model implements the majority parameters
and functions defined in the specifications. Compared with
the existing IEEE 802.15.4 model in ns-2, our model is built
conforming to the latest IEEE Std. 802.15.4-2006 and im-
plements the GTS data transfer mode, as well as an energy
model. In the future work, more PAN management func-
tions will be added to support simulating more complicated
scenarios, e.g. mesh topology with ZigBee routing. A se-
ries of simulations for evaluating the performance of IEEE
802.15.4 in the QoS aspect are running. We also plan to
integrate the security functions into our model and inves-
tigate how the performances are affected by those security
mechanisms.
5. REFERENCES
[1] IEEE std. 802.15.4-2006, wireless medium access
control (MAC) and physical layer (PHY) specifications
for low-rate wireless personal area networks (WPANs).
[2] OMNeT++ homepage. [online]. available:
http://www.omnetpp.org.
[3] OMNeT++ page at Isabel Dietrich’s homepage.
[online]. available: http://www7.informatik.uni-
erlangen.de/ isabel/omnet/.
[4] ZigBee Alliance homepage. [online]. available:
http://www.zigbee.org.
[5] C. Mallanda, A. Suri, V. Kunchakarra, S. S. Iyengar,
R. Kannan, A. Durresi, and S. Sastry. Simulating
wireless sensor networks with omnet++.

More Related Content

What's hot

Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
IDES Editor
 
Simulating the triba noc architecture
Simulating the triba noc architectureSimulating the triba noc architecture
Simulating the triba noc architecture
ijmnct
 
A040101001006
A040101001006A040101001006
A040101001006
ijceronline
 
PSO-based Training, Pruning, and Ensembling of Extreme Learning Machine RBF N...
PSO-based Training, Pruning, and Ensembling of Extreme Learning Machine RBF N...PSO-based Training, Pruning, and Ensembling of Extreme Learning Machine RBF N...
PSO-based Training, Pruning, and Ensembling of Extreme Learning Machine RBF N...
ijceronline
 
Architecture neural network deep optimizing based on self organizing feature ...
Architecture neural network deep optimizing based on self organizing feature ...Architecture neural network deep optimizing based on self organizing feature ...
Architecture neural network deep optimizing based on self organizing feature ...
journalBEEI
 
Distributed vertex cover
Distributed vertex coverDistributed vertex cover
Distributed vertex cover
IJCNCJournal
 
Iv3515241527
Iv3515241527Iv3515241527
Iv3515241527
IJERA Editor
 
2-DOF BLOCK POLE PLACEMENT CONTROL APPLICATION TO:HAVE-DASH-IIBTT MISSILE
2-DOF BLOCK POLE PLACEMENT CONTROL APPLICATION TO:HAVE-DASH-IIBTT MISSILE2-DOF BLOCK POLE PLACEMENT CONTROL APPLICATION TO:HAVE-DASH-IIBTT MISSILE
2-DOF BLOCK POLE PLACEMENT CONTROL APPLICATION TO:HAVE-DASH-IIBTT MISSILE
Zac Darcy
 
PROTECTOR CONTROL PC-AODV-BH IN THE AD HOC NETWORKS
PROTECTOR CONTROL PC-AODV-BH IN THE AD HOC NETWORKSPROTECTOR CONTROL PC-AODV-BH IN THE AD HOC NETWORKS
PROTECTOR CONTROL PC-AODV-BH IN THE AD HOC NETWORKS
Zac Darcy
 
Image transmission in wireless sensor networks
Image transmission in wireless sensor networksImage transmission in wireless sensor networks
Image transmission in wireless sensor networks
eSAT Publishing House
 
Hidden Layer Leraning Vector Quantizatio
Hidden Layer Leraning Vector Quantizatio Hidden Layer Leraning Vector Quantizatio
Hidden Layer Leraning Vector Quantizatio
Armando Vieira
 
Review of crosstalk free Network
Review of crosstalk free NetworkReview of crosstalk free Network
Review of crosstalk free Network
IJMER
 
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
ijassn
 
Designing Run-Time Environments to have Predefined Global Dynamics
Designing  Run-Time  Environments to have Predefined Global DynamicsDesigning  Run-Time  Environments to have Predefined Global Dynamics
Designing Run-Time Environments to have Predefined Global Dynamics
IJCNCJournal
 
A survey research summary on neural networks
A survey research summary on neural networksA survey research summary on neural networks
A survey research summary on neural networks
eSAT Publishing House
 
Image Segmentation Using Two Weighted Variable Fuzzy K Means
Image Segmentation Using Two Weighted Variable Fuzzy K MeansImage Segmentation Using Two Weighted Variable Fuzzy K Means
Image Segmentation Using Two Weighted Variable Fuzzy K Means
Editor IJCATR
 
Simulator for Energy Efficient Clustering in Mobile Ad Hoc Networks
Simulator for Energy Efficient Clustering in Mobile Ad Hoc NetworksSimulator for Energy Efficient Clustering in Mobile Ad Hoc Networks
Simulator for Energy Efficient Clustering in Mobile Ad Hoc Networks
cscpconf
 
Pretzel: optimized Machine Learning framework for low-latency and high throu...
Pretzel: optimized Machine Learning framework for  low-latency and high throu...Pretzel: optimized Machine Learning framework for  low-latency and high throu...
Pretzel: optimized Machine Learning framework for low-latency and high throu...
NECST Lab @ Politecnico di Milano
 
Multistage interconnection networks a transition to optical
Multistage interconnection networks a transition to opticalMultistage interconnection networks a transition to optical
Multistage interconnection networks a transition to optical
eSAT Publishing House
 
From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions
Gabriele D'Angelo
 

What's hot (20)

Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
Multilevel Hybrid Cognitive Load Balancing Algorithm for Private/Public Cloud...
 
Simulating the triba noc architecture
Simulating the triba noc architectureSimulating the triba noc architecture
Simulating the triba noc architecture
 
A040101001006
A040101001006A040101001006
A040101001006
 
PSO-based Training, Pruning, and Ensembling of Extreme Learning Machine RBF N...
PSO-based Training, Pruning, and Ensembling of Extreme Learning Machine RBF N...PSO-based Training, Pruning, and Ensembling of Extreme Learning Machine RBF N...
PSO-based Training, Pruning, and Ensembling of Extreme Learning Machine RBF N...
 
Architecture neural network deep optimizing based on self organizing feature ...
Architecture neural network deep optimizing based on self organizing feature ...Architecture neural network deep optimizing based on self organizing feature ...
Architecture neural network deep optimizing based on self organizing feature ...
 
Distributed vertex cover
Distributed vertex coverDistributed vertex cover
Distributed vertex cover
 
Iv3515241527
Iv3515241527Iv3515241527
Iv3515241527
 
2-DOF BLOCK POLE PLACEMENT CONTROL APPLICATION TO:HAVE-DASH-IIBTT MISSILE
2-DOF BLOCK POLE PLACEMENT CONTROL APPLICATION TO:HAVE-DASH-IIBTT MISSILE2-DOF BLOCK POLE PLACEMENT CONTROL APPLICATION TO:HAVE-DASH-IIBTT MISSILE
2-DOF BLOCK POLE PLACEMENT CONTROL APPLICATION TO:HAVE-DASH-IIBTT MISSILE
 
PROTECTOR CONTROL PC-AODV-BH IN THE AD HOC NETWORKS
PROTECTOR CONTROL PC-AODV-BH IN THE AD HOC NETWORKSPROTECTOR CONTROL PC-AODV-BH IN THE AD HOC NETWORKS
PROTECTOR CONTROL PC-AODV-BH IN THE AD HOC NETWORKS
 
Image transmission in wireless sensor networks
Image transmission in wireless sensor networksImage transmission in wireless sensor networks
Image transmission in wireless sensor networks
 
Hidden Layer Leraning Vector Quantizatio
Hidden Layer Leraning Vector Quantizatio Hidden Layer Leraning Vector Quantizatio
Hidden Layer Leraning Vector Quantizatio
 
Review of crosstalk free Network
Review of crosstalk free NetworkReview of crosstalk free Network
Review of crosstalk free Network
 
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
 
Designing Run-Time Environments to have Predefined Global Dynamics
Designing  Run-Time  Environments to have Predefined Global DynamicsDesigning  Run-Time  Environments to have Predefined Global Dynamics
Designing Run-Time Environments to have Predefined Global Dynamics
 
A survey research summary on neural networks
A survey research summary on neural networksA survey research summary on neural networks
A survey research summary on neural networks
 
Image Segmentation Using Two Weighted Variable Fuzzy K Means
Image Segmentation Using Two Weighted Variable Fuzzy K MeansImage Segmentation Using Two Weighted Variable Fuzzy K Means
Image Segmentation Using Two Weighted Variable Fuzzy K Means
 
Simulator for Energy Efficient Clustering in Mobile Ad Hoc Networks
Simulator for Energy Efficient Clustering in Mobile Ad Hoc NetworksSimulator for Energy Efficient Clustering in Mobile Ad Hoc Networks
Simulator for Energy Efficient Clustering in Mobile Ad Hoc Networks
 
Pretzel: optimized Machine Learning framework for low-latency and high throu...
Pretzel: optimized Machine Learning framework for  low-latency and high throu...Pretzel: optimized Machine Learning framework for  low-latency and high throu...
Pretzel: optimized Machine Learning framework for low-latency and high throu...
 
Multistage interconnection networks a transition to optical
Multistage interconnection networks a transition to opticalMultistage interconnection networks a transition to optical
Multistage interconnection networks a transition to optical
 
From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions
 

Similar to A simulation model of ieee 802.15.4 in om ne t++

R,aouami wccs
R,aouami wccsR,aouami wccs
R,aouami wccs
Rachid Aouami
 
Simulation and Performance Analysis of Long Term Evolution (LTE) Cellular Net...
Simulation and Performance Analysis of Long Term Evolution (LTE) Cellular Net...Simulation and Performance Analysis of Long Term Evolution (LTE) Cellular Net...
Simulation and Performance Analysis of Long Term Evolution (LTE) Cellular Net...
ijsrd.com
 
Hb3512341239
Hb3512341239Hb3512341239
Hb3512341239
IJERA Editor
 
Towards the Performance Analysis of IEEE 802.11 in Multi-hop Ad-Hoc Networks
Towards the Performance Analysis of IEEE 802.11 in Multi-hop Ad-Hoc NetworksTowards the Performance Analysis of IEEE 802.11 in Multi-hop Ad-Hoc Networks
Towards the Performance Analysis of IEEE 802.11 in Multi-hop Ad-Hoc Networks
ambitlick
 
Efectos de nodos ieee 802.15.4 zig bee
Efectos de nodos ieee 802.15.4 zig beeEfectos de nodos ieee 802.15.4 zig bee
Efectos de nodos ieee 802.15.4 zig bee
Gregorio Toro Rivera
 
mn paper
mn papermn paper
Ccna day1
Ccna day1Ccna day1
Ccna day1
kkhan745
 
Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01
Sabiulla Barkathullah
 
Ccna day 1
Ccna day 1Ccna day 1
Ccna day 1
Sachin Morya
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
Ccna day1Ccna day1
Ccna day1
danishrafiq
 
Ccna PPT
Ccna PPTCcna PPT
Ccna PPT
AIRTEL
 
Traffic Engineering in Metro Ethernet
Traffic Engineering in Metro EthernetTraffic Engineering in Metro Ethernet
Traffic Engineering in Metro Ethernet
CSCJournals
 
7 satishkumar final_paper--75-84
7 satishkumar final_paper--75-847 satishkumar final_paper--75-84
7 satishkumar final_paper--75-84
Alexander Decker
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
Chaynika Verma
 
Optical networks
Optical networks Optical networks
Optical networks
ashok mane
 
Ccna day1
Ccna day1Ccna day1
C C N A Day1
C C N A  Day1C C N A  Day1
C C N A Day1
darulquthni
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
Sanjeev Jain
 
A New Approach to Improve the Efficiency of Distributed Scheduling in IEEE 80...
A New Approach to Improve the Efficiency of Distributed Scheduling in IEEE 80...A New Approach to Improve the Efficiency of Distributed Scheduling in IEEE 80...
A New Approach to Improve the Efficiency of Distributed Scheduling in IEEE 80...
IDES Editor
 

Similar to A simulation model of ieee 802.15.4 in om ne t++ (20)

R,aouami wccs
R,aouami wccsR,aouami wccs
R,aouami wccs
 
Simulation and Performance Analysis of Long Term Evolution (LTE) Cellular Net...
Simulation and Performance Analysis of Long Term Evolution (LTE) Cellular Net...Simulation and Performance Analysis of Long Term Evolution (LTE) Cellular Net...
Simulation and Performance Analysis of Long Term Evolution (LTE) Cellular Net...
 
Hb3512341239
Hb3512341239Hb3512341239
Hb3512341239
 
Towards the Performance Analysis of IEEE 802.11 in Multi-hop Ad-Hoc Networks
Towards the Performance Analysis of IEEE 802.11 in Multi-hop Ad-Hoc NetworksTowards the Performance Analysis of IEEE 802.11 in Multi-hop Ad-Hoc Networks
Towards the Performance Analysis of IEEE 802.11 in Multi-hop Ad-Hoc Networks
 
Efectos de nodos ieee 802.15.4 zig bee
Efectos de nodos ieee 802.15.4 zig beeEfectos de nodos ieee 802.15.4 zig bee
Efectos de nodos ieee 802.15.4 zig bee
 
mn paper
mn papermn paper
mn paper
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01
 
Ccna day 1
Ccna day 1Ccna day 1
Ccna day 1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna PPT
Ccna PPTCcna PPT
Ccna PPT
 
Traffic Engineering in Metro Ethernet
Traffic Engineering in Metro EthernetTraffic Engineering in Metro Ethernet
Traffic Engineering in Metro Ethernet
 
7 satishkumar final_paper--75-84
7 satishkumar final_paper--75-847 satishkumar final_paper--75-84
7 satishkumar final_paper--75-84
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Optical networks
Optical networks Optical networks
Optical networks
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
C C N A Day1
C C N A  Day1C C N A  Day1
C C N A Day1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
A New Approach to Improve the Efficiency of Distributed Scheduling in IEEE 80...
A New Approach to Improve the Efficiency of Distributed Scheduling in IEEE 80...A New Approach to Improve the Efficiency of Distributed Scheduling in IEEE 80...
A New Approach to Improve the Efficiency of Distributed Scheduling in IEEE 80...
 

Recently uploaded

Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
ArianaBusciglio
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 

Recently uploaded (20)

Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 

A simulation model of ieee 802.15.4 in om ne t++

  • 1. A Simulation Model of IEEE 802.15.4 in OMNeT++ Feng Chen Falko Dressler Computer Networks and Communication Systems University of Erlangen-Nuremberg 91058 Erlangen, Germany {feng.chen,dressler}@informatik.uni-erlangen.de ABSTRACT IEEE 802.15.4 defines the physical and MAC layer specifica- tions for low-rate wireless personal area networks (WPANs). In order to evaluate its performance, we develop a simulation model of IEEE 802.15.4 in OMNeT++, which is a popular simulation platform especially suitable for the simulation of communication networks. The model consists of two mod- ules for PHY and MAC layers respectively and supports star and cluster tree topologies. Our model is built conforming to the latest version - IEEE Std 802.15.4-2006 and has the extendibility to the ZigBee protocol stack. Keywords IEEE 802.15.4, simulation model, OMNeT++ 1. INTRODUCTION IEEE 802.15.4 [1] is a standard designed for low-rate wireless personal area networks (LR-WPAN) and defines the spec- ifications at the physical layer (PHY) and medium access control (MAC) sublayer. In contrast to wireless local area network (WLAN), which is standardized by IEEE 802.11 family, LR-WPAN stresses short-range operation, low-data- rate, energy-efficiency and low-cost. Thus, LR-WPAN has become one of the most foreseen technologies enabling WSNs. An example is ZigBee [4], which is an open specification built on the LR-WPAN standard and targeted at low-cost, low-data-rate and low-power wireless networking. OMNeT++ [2] is a public-source, component-based and dis- crete event simulation environment and is becoming a very popular simulation platform especially in communication and networking community. Its primary application area covers the simulation of communication networks, IT sys- tems, queuing networks and business processes as well. [5] has shown that OMNeT++ is very suitable for simulating wireless sensor networks owing to its modular structure and using NED language for ease of simulation configuration. In this paper, we present a simulation model of IEEE 802.15.4 in OMNeT++. It consists of two modules for PHY and MAC layers respectively and supports simulations of star and cluster tree topologies. The PHY model implements the complete functions defined in the specifications. The MAC model implements three data transfer modes (direct, indi- rect and GTS), beacon transmission and synchronization, complete CSMA-CA mechanism and partial PAN manage- ment functions, like association. To measure energy con- sumption of nodes. we implement an energy model in the MAC module. All parameters defined in the specification except for those for security functions are implemented in the model and adjustable in the OMNeT++ configuration file omnetpp.ini or in a C++ source file where the default values for the majority protocol parameters are stored. The rest of the paper is organized as follows. In section 2, we give a brief description of 802.15.4. In section 3, the model of IEEE 802.15.4 in OMNeT++ will be introduced in detail. Section 4 concludes the paper and give a vision to the future work. 2. A BRIEF OVERVIEW OF IEEE 802.15.4 In this section, we give a brief overview of IEEE 802.15.4. Only those parts related to our model are introduced. The IEEE 802.15.4 network can work in one of three ISM frequency bands and choose from a total of 27 channels. Two different types of devices are defined in an LR-WPAN, a full function device (FFD) and a reduced function device (RFD). An FFD can talk to any other device and serves as a PAN coordinator, a coordinator or a device. An RFD can only talk to an FFD node. The standard supports two net- work topologies, star and peer-to-peer. In the star network, the communication occurs only between devices and a single central controller, called the PAN coordinator, which man- ages the whole PAN. The peer-to-peer topology also has a PAN coordinator, however is differs from the star topology in that any devices can communicate with any other one as long as they are in range of one another. A special case of peer-to-peer topology is cluster tree, in which a node talks only to its parent or children nodes. To achieve better energy-efficiency, the IEEE 802.15.4 can operate on beacon-enabled mode, for which a superframe structure is utilized. A super frame is bounded by period- ically transmitted beacon frames, which allow nodes to as- sociate with and synchronize to their coordinators. It con-
  • 2. MAC PHY Traffic ü CSMA - CA ü BeaconTx /Rx ü Direct, indirect and GTS data transmission ü Frame filtering and duplication detection ü Simplified association process ü IFS delay ü Radio sleeping control ü Energy model ü Radio model ü ED ü CCA ü Channel switch ü PacketTx /Rx ü Collision detection ü Ideal/ lossychannel Packets generator with a FIFO queue Channel Control Figure 1: The structure and components of the 802.15.4 model sists of two parts, active and inactive period. An active portion is divided into 16 contiguous time slots that form three parts: the beacon, contention access period (CAP) and contention-free period (CFP). In CAP, all data trans- mission should follow a successful execution of the slotted CSMA-CA algorithm. There are two data transfer modes defined in CAP, the indirect transmission for downlink data and the direct transmission for uplink data. In CFP, a de- vice can communicate with the PAN coordinator directly in the called guaranteed time slots (GTS) without contending for the channel using CSMA-CA mechanism. The GTS are allocated by the PAN coordinator, therefor GTS transfer mode is only applicable in the star network. 3. DESCRIPTION OF IEEE 802.15.4 MODEL IN OMNET++ The IEEE 802.15.4 model is developed in the INET frame- work, which is an open-source communication networks sim- ulation package for the OMNeT++ simulation environment and suited for simulations of wired, wireless and ad-hoc net- works. The architecture of the 802.15.4 model is shown in Fig. 1. There are three sub models, traffic, MAC and PHY, each of which is a independent module and inherited from the basic C++ class cSimpleModule in OMNeT++. The modules are connected with each other via gates and com- municate via messages. A snapshot of the model in the graphical interface of OMNeT++ called Tkenv is shown in Fig. 2. In the following sub sections, each of these modules is introduced in detail. 3.1 PHY Module In the INET framework, a general radio module called Ab- stractRadio implements the common functionality of the ra- dio, like packet transmission and reception with collision detection, channel switch, etc.. We adapt this module to create a proper radio model conforming to IEEE 802.15.4, by changing or adding the following contents: • Redefine radio states: according to the specification, the radio is modeled with three states: transceiver dis- abled (TRX OFF), transmitter enabled (TX ON ) and receiver enabled (RX ON ). The MAC module com- pletely controls radio operation and can set the radio into different states via a request primitive. The PHY module reports the setting result back to the MAC via a confirm primitive. • Clear channel access (CCA): the MAC module requires the PHY to perform CCA via the PLME-CCA.request primitive. The channel state (busy or idle) is deter- mined in the model by checking two flags, isRxing and isTxing, which indicate whether the radio is currently receiving or transmitting packets. The PHY will set the flag isRxing by either of the following two facts: a packet (not a noise) is currently being received or the current noise level is above the sensitivity value. For a CCA request, checking flags will take place twice at both the beginning and the end of a period of 8 sym- bols. The CCA result will be reported back to the MAC via a corresponding confirm primitive. In addition, the PHY module can be configured to work in any one of a total 27 channels and transmit packets at three different data rates, as defined in the specification. Dynam- ical channel switch during the simulation is also supported. 3.2 MAC Module This is the main module in the whole model and contains the following three main parts: 3.2.1 Channel access Channel access is the core function for any MAC protocol. We have implemented the majority functions and primi- tives for channel access defined in the specifications, includ- ing three data transfer modes (direct, indirect and GTS), MAC frame filtering, detection for duplicate received pack- ets and the most important part - CSMA-CA mechanism
  • 3. Figure 2: The 802.15.4 model in TKenv, the graphical interface of OMNeT++ (slotted and unslotted). To make the model more accurate, we also consider the IFS delay, which is defined as the re- quired process time for a frame received from the PHY by the MAC. 3.2.2 Beacon mechanism and PAN management IEEE 802.15.4 achieves good energy-efficiency owing to its beaconing mechanism. We implements in our model the complete beacon transmission and reception for nodes form- ing star and cluster tree network automatically. For exam- ple, to simulate a cluster tree topology, user can specify in the simulation setup phase which node to be the PAN co- ordinator and when to broadcast its first beacon. During the simulation running, when those nodes being placed one hop away from the PAN coordinator receive their first bea- con from the PAN coordinator, they initiate the association process. After successful association, if those nodes are not leaf nodes, they will act as a coordinator and start transmit- ting beacons to those nodes placed at the next level in the cluster tree. When all leaf nodes are associated, the network forming phase is complete. With respect to PAN manage- ment functions, a simplified association process is modeled, that is, the node will associate with the coordinator, from which it receives the first beacon. Furthermore, loss of syn- chronization due to time drift (e.g. use of oscillator with ±20ppm) can be simulated with our model. Other PAN management functions, like channel scan and dissociation, are not considered in our model. 3.2.3 Energy model Energy consumption is always a major interest in study- ing MAC protocols like IEEE 802.15.4 designed for energy- restricted wireless applications. In our model, we measure only the energy consumed at the radio. To achieve this in the MAC module, we let the MAC module keep tracking the current radio state in the PHY module via a message passing module defined in the INET framework called Noti- ficationBoard. Therefor we only need to count the total time that the radio has spent in each state during the simulation. As long as the radio power for each state is known, the total energy consumption can be easily calculated. Although in our model we use a single state RX ON to represent two possible working state in a real radio, idle listening and re- ceiving, it is reasonable to assume that radios in these two states consume approximately the same power. 3.3 Traffic Module The traffic module is not a part of IEEE 802.15.4, however we need a traffic generator to run the simulation. This mod- ule is modeled as the upper layers above the IEEE 802.15.4 model and acts as both a traffic source generating packets for the MAC module and a traffic sink collecting and ana- lyzing received packets. The traffic module is inherited from the existing traffic generator class, which is implemented by Dietrich Isabel [3] and supports generating traffic with vari- ous types, including CBR, Exponential, and On-off. It uses a flexible XML-based parameter structure and supports dy- namical change of traffic pattern during the simulation.
  • 4. Table 1: Model Parameters transmitterPower power for sending packets (mW) sensitivity carrier sense threshold thermalNoise base noise level (dBm) snirThreshold signal/noise threshold isPANCoor is a PAN coordinator or not BO beacon order SO superframe order startTime when PAN starts beaconing 3.4 Model Parameters Our model provides a vast amount of parameters adjustable for conducting a comprehensive study of IEEE 802.15.4. The default values for the majority protocol parameters are stored in a single C++ header file. We also put some pa- rameters, which are most likely to be modified during the simulation, into the corresponding NED file for each simple module, so that user can change them conveniently in the simulation configuration file omnetpp.ini. Those parameters are listed in Table 1. 4. CONCLUSIONS AND FUTURE WORK In this paper, we present a simulation model for IEEE Std. 802.15.4 developed in the popular simulation environment OMNeT++. Except for the PAN management and security functions, the model implements the majority parameters and functions defined in the specifications. Compared with the existing IEEE 802.15.4 model in ns-2, our model is built conforming to the latest IEEE Std. 802.15.4-2006 and im- plements the GTS data transfer mode, as well as an energy model. In the future work, more PAN management func- tions will be added to support simulating more complicated scenarios, e.g. mesh topology with ZigBee routing. A se- ries of simulations for evaluating the performance of IEEE 802.15.4 in the QoS aspect are running. We also plan to integrate the security functions into our model and inves- tigate how the performances are affected by those security mechanisms. 5. REFERENCES [1] IEEE std. 802.15.4-2006, wireless medium access control (MAC) and physical layer (PHY) specifications for low-rate wireless personal area networks (WPANs). [2] OMNeT++ homepage. [online]. available: http://www.omnetpp.org. [3] OMNeT++ page at Isabel Dietrich’s homepage. [online]. available: http://www7.informatik.uni- erlangen.de/ isabel/omnet/. [4] ZigBee Alliance homepage. [online]. available: http://www.zigbee.org. [5] C. Mallanda, A. Suri, V. Kunchakarra, S. S. Iyengar, R. Kannan, A. Durresi, and S. Sastry. Simulating wireless sensor networks with omnet++.