J. Sens. Actuator Netw. 2013, 2(2), 288-315; doi:10.3390/jsan2020288
Article

TinyCoAP: A Novel Constrained Application Protocol (CoAP) Implementation for Embedding RESTful Web Services in Wireless Sensor Networks Based on TinyOS

Received: 12 March 2013; in revised form: 16 April 2013 / Accepted: 26 April 2013 / Published: 14 May 2013
This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Abstract: In this paper we present the design and implementation of the Constrained Application Protocol (CoAP) for TinyOS, which we refer to as TinyCoAP. CoAP seeks to apply the same application transfer paradigm and basic features of HTTP to constrained networks, while maintaining a simple design and low overhead. The design constraints of Wireless Sensor Networks (WSNs) require special attention in the design process of the CoAP implementation. We argue that better performance and minimal resource consumption can be achieved developing a native library for the operating system embedded in the network. TinyOS already includes in its distribution an implementation of CoAP called CoapBlip. However, this is based on a library not originally designed to meet the requirements of TinyOS. We demonstrate the effectiveness of our approach by a comprehensive performance evaluation. In particular, we test and evaluate TinyCoAP and CoapBlip in a real scenario, as well as solutions based on HTTP. The evaluation is performed in terms of latency, memory occupation, and energy consumption. Furthermore, we evaluate the reliability of each solution by measuring the goodput obtained in a channel affected by Rayleigh fading. We also include a study on the effects that high workloads have on a server.
Keywords: CoAP; REST; WSNs; 6LoWPAN; HTTP; TinyOS
PDF Full-text Download PDF Full-Text [1045 KB, uploaded 14 May 2013 14:10 CEST]

Export to BibTeX |
EndNote


MDPI and ACS Style

Ludovici, A.; Moreno, P.; Calveras, A. TinyCoAP: A Novel Constrained Application Protocol (CoAP) Implementation for Embedding RESTful Web Services in Wireless Sensor Networks Based on TinyOS. J. Sens. Actuator Netw. 2013, 2, 288-315.

AMA Style

Ludovici A, Moreno P, Calveras A. TinyCoAP: A Novel Constrained Application Protocol (CoAP) Implementation for Embedding RESTful Web Services in Wireless Sensor Networks Based on TinyOS. Journal of Sensor and Actuator Networks. 2013; 2(2):288-315.

Chicago/Turabian Style

Ludovici, Alessandro; Moreno, Pol; Calveras, Anna. 2013. "TinyCoAP: A Novel Constrained Application Protocol (CoAP) Implementation for Embedding RESTful Web Services in Wireless Sensor Networks Based on TinyOS." J. Sens. Actuator Netw. 2, no. 2: 288-315.

J. Sens. Actuator Netw. EISSN 2224-2708 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert