tocol. Therefore, AM protocol is not appropriate to
monitor environments with restriction of energy and
large amount of data.
6 CONCLUSIONS
This paper presented a performance evaluation of two
protocols developed for TinyOS for communication
in WSNs. AM protocol is simpler than TKN15.4 and
allows multiple services using the same radio to com-
municate. TKN15.4 protocol uses the IEEE 802.15.4
standard and uses CSMA/CA to reduce collisions. It
has several applications, and in the case of this pa-
per, the application with beacon-enabled mode was
used and compared to AM protocol regarding net-
work throughput, network delay, success rate, and en-
ergy consumption.
Although simpler and allowing multiple services,
AM has several drawbacks. The only congestion con-
trol method used is a variable that indicates if the sink
node is busy. It also consumes much more energy, al-
though in this work the duty-cycle used in TKN15.4
was 100%. TKN15.4 is better in energy consump-
tion and success rate, since it uses CSMA/CA to con-
trol the access. These are two decisive parameters for
choosing TKN15.4. Maybe with more nodes and dur-
ing more time, the results would become even more
differentiated. The positive point of AM is that it
allows multiple services using the same radio, but
causes an excessive energy consumption.
However, when considering stringent require-
ments on reliability and predictable real-time perfor-
mance, TKN15.4 (IEEE 802.15.4) is not considered
a good choice because of its several limitations, al-
ready highlighted by many studies, such as in (Anas-
tasi et al., 2011). As main limitations of IEEE
802.15.4 (De Guglielmo et al., 2016), are inefficiency
of slotted CSMA/CA in beacon-enabled mode, and
in nonbeacon-enabled mode for a large number of
nodes transmitting at the same time, and no protec-
tion against interference/fading.
Ongoing work extends this one to address the de-
velopment of IEEE 802.15.4e standard in TinyOS,
specifically the DSME (Deterministic and Syn-
chronous Multi-Channel Extension) behavior mode.
The choice for this mode is because there is al-
ready a small public project of IEEE 802.15.4e TSCH
(Time-Slotted Channel Hopping) behavior mode in
development called TKN-TSCH
4
. The implementa-
tion of DSME in TinyOS will improve the old stan-
dard of TKN15.4 by introducing mechanisms such
4
https://github.com/tinyos/tinyos-main/pull/361 - Access
13/12/2016.
as time slotted access, multichannel communications
and channel hopping. Differently from the other be-
havior modes, DSME remains using the CAP and
CFP methods of channel access derived from IEEE
802.15.4, which eases its implementation. There are
other implementations of IEEE 802.15.4e (TSCH be-
havior mode) in OpenWSN
5
and Contiki
6
.
ACKNOWLEDGEMENTS
The authors would like to thank the support of the
Institute for Advanced Studies in Communications
(Iecom), the Brazilian Council for Research and De-
velopment (CNPq), the Coordination for the Improve-
ment of Higher Education Personnel (CAPES), and
the SMART 2 Project of the Erasmus Mundus Pro-
gramme.
REFERENCES
Agrawal, P., Ahlen, A., Olofsson, T., and Gidlund, M.
(2014). Characterization of long term channel vari-
ations in industrial wireless sensor networks. In IEEE
International Conference on Communications, pages
1–6.
Amjad, M., Sharif, M., Afzal, M. K., and Kim, S. W.
(2016). TinyOS - New Trends, Comparative Views,
and Supported Sensing Applications: A Review. IEEE
Sensors Journal, 16(9):2865–2889.
Anastasi, G., Conti, M., and Di Francesco, M. (2011).
A Comprehensive Analysis of the MAC Unreliabil-
ity Problem in IEEE 802.15.4 Wireless Sensor Net-
works. IEEE Transactions on Industrial Informatics,
7(1):52–65.
Carballido Villaverde, B., Rea, S., and Pesch, D. (2012).
InRout A QoS aware route selection algorithm for in-
dustrial wireless sensor networks. Ad Hoc Networks,
10(3):458–478.
Dalton, A. R., Wahba, S. K., Dandamudi, S., and Hallstrom,
J. O. (2009). Visualizing the runtime behavior of em-
bedded network systems: A toolkit for TinyOS. Sci-
ence of Computer Programming, 74(7):446–469.
De Guglielmo, D., Brienza, S., and Anastasi, G. (2016).
{IEEE} 802.15.4e: A survey. Computer Communica-
tions, 88:1–24.
Despaux, F., Song, Y.-Q., and Lahmadi, A. (2013).
Measurement-based Analysis of the Effect of Duty
Cycle in IEEE 802.15.4 MAC Performance. In 2013
IEEE 10th International Conference on Mobile Ad-
Hoc and Sensor Systems, pages 620–626. IEEE.
Developers, T. (2013). Official tinyos documentation wiki.
http://tinyos.stanford.edu/tinyos-wiki.
5
http://openwsn.atlassian.net/wiki - Access 09/12/2016.
6
https://github.com/contiki-os - Access 09/12/2016.
SENSORNETS 2017 - 6th International Conference on Sensor Networks
78