Long Range WPAN Extensions in ns-3

Dr. Tatjana Predojev, formed PhD Candidate at CTTC, has released today part of her work carried out over the last 4 years while conducting her PhD Thesis on Long Range Low Power Wireless Technologies.

She extended the lr-wpan code of ns-3 to introduce duty-cycling based on Time Division Multiplex Access (TDMA) which resembles the Time Synchronized Channel Hopping (TSCH) protocol proposed in:

IEEE Standard, “Low rate wireless personal area networks (LR-WPANs) amendment 1: MAC sublayer,” IEEE Standard 802.15.4e, 2012.

The implementation includes all Medium Access Control (MAC) features except for the the channel hopping.

The repository of the code is now public and you are welcome to use it:


In concrete, the most significant changes introduced are in the following modules:

=> implemented packet acknowledgements (ACKs), duty-cycling, link scheduler
refactored code to introduce MAC state

=> implemented log-normally distributed, time-correlated shadowing

Aris Gkoutzos , an undergraduate student supervised by Dr. Predojev, implemented


A detailed description of the implemented algorithm can be found in the open access journal:

T. Predojev, J. Alonso-Zarate, M. Dohler, and L. Alonso, Energy Consumption Optimisation for Duty-Cycled Schemes in Shadowed Environments, International Journal of Distributed Sensor Networks, Hindawi, http://dx.doi.org/10.1155/2014/709135, 2014.

There are no guarantees for any functionality, nor was the standard implemented in detail.
Nevertheless, we hope someone will find it useful.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s