Back to Search Start Over

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

Authors :
Alessandro Ludovici
Pol Moreno
Anna Calveras
Universitat Politècnica de Catalunya. Departament d'Enginyeria Telemàtica
Universitat Politècnica de Catalunya. WNG - Grup de xarxes sense fils
Source :
UPCommons. Portal del coneixement obert de la UPC, Universitat Politècnica de Catalunya (UPC), Journal of Sensor and Actuator Networks, Vol 2, Iss 2, Pp 288-315 (2013), Recercat. Dipósit de la Recerca de Catalunya, instname, Journal of Sensor and Actuator Networks; Volume 2; Issue 2; Pages: 288-315
Publication Year :
2013
Publisher :
MDPI AG, 2013.

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.

Details

ISSN :
22242708
Volume :
2
Database :
OpenAIRE
Journal :
Journal of Sensor and Actuator Networks
Accession number :
edsair.doi.dedup.....78396fe897fadec3d2e3784312e97c9d
Full Text :
https://doi.org/10.3390/jsan2020288