{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,25]],"date-time":"2025-10-25T14:15:33Z","timestamp":1761401733902,"version":"build-2065373602"},"reference-count":26,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2015,1,9]],"date-time":"2015-01-09T00:00:00Z","timestamp":1420761600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100004837","name":"MICINN","doi-asserted-by":"publisher","award":["TEC2012-32531"],"award-info":[{"award-number":["TEC2012-32531"]}],"id":[{"id":"10.13039\/501100004837","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100002924","name":"FEDER","doi-asserted-by":"publisher","award":["TEC2012-32531"],"award-info":[{"award-number":["TEC2012-32531"]}],"id":[{"id":"10.13039\/501100002924","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Commissionat per a Universitat I Recerca del DIUE"},{"name":"European Social Budget"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>In this paper, we present the design of a Constrained Application Protocol (CoAP) proxy able to interconnect Web applications based on Hypertext Transfer Protocol (HTTP) and WebSocket with CoAP based Wireless Sensor Networks. Sensor networks are commonly used to monitor and control physical objects or environments. Smart Cities represent applications of such a nature. Wireless Sensor Networks gather data from their surroundings and send them to a remote application. This data flow may be short or long lived. The traditional HTTP long-polling used by Web applications may not be adequate in long-term communications. To overcome this problem, we include the WebSocket protocol in the design of the CoAP proxy. We evaluate the performance of the CoAP proxy in terms of latency and memory consumption. The tests consider long and short-lived communications. In both cases, we evaluate the performance obtained by the CoAP proxy according to the use of WebSocket and HTTP long-polling.<\/jats:p>","DOI":"10.3390\/s150101217","type":"journal-article","created":{"date-parts":[[2015,1,9]],"date-time":"2015-01-09T09:49:04Z","timestamp":1420796944000},"page":"1217-1244","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":27,"title":["A Proxy Design to Leverage the Interconnection of CoAP Wireless Sensor Networks with Web Applications"],"prefix":"10.3390","volume":"15","author":[{"given":"Alessandro","family":"Ludovici","sequence":"first","affiliation":[{"name":"Wireless Network Group (WNG), Department of Telematics Engineering,  Universitat Polit\u00e8cnica de Catalunya, C\/Jordi Girona 1-3, M\u00f2dul C3, Barcelona 08034, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6371-8595","authenticated-orcid":false,"given":"Anna","family":"Calveras","sequence":"additional","affiliation":[{"name":"Wireless Network Group (WNG), Department of Telematics Engineering,  Universitat Polit\u00e8cnica de Catalunya, C\/Jordi Girona 1-3, M\u00f2dul C3, Barcelona 08034, Spain"},{"name":"CAT Foundation, Gran Capit\u00e0 2-4 (Nexus Building), Barcelona 08034, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2015,1,9]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"76","DOI":"10.1038\/scientificamerican1004-76","article-title":"The Internet of Things","volume":"291","author":"Gershenfeld","year":"2004","journal-title":"Sci. Am."},{"key":"ref_2","unstructured":"IP for Smart Objects Alliance (IPSO). Available online: http:\/\/www.ipso-alliance.org\/."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Hui, J., and Thubert, P. (2011). Compression Format for IPv6 Datagrams over IEEE 802.15.4-Based Networks, RFC 6282.","DOI":"10.17487\/rfc6282"},{"key":"ref_4","unstructured":"(2006). IEEE Standard 802.15.4-2006, IEEE Computer Society. Part 15.4."},{"key":"ref_5","unstructured":"Fielding, R.T. (2000). Architectural Styles and the Design of Network-based Software Architectures. [Ph.D. Thesis, University of California]."},{"key":"ref_6","unstructured":"CoRE IETF Working Group. Available online: http:\/\/datatracker.ietf.org\/wg\/core\/charter\/."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Shelby, Z., Hartke, K., and Bormann, C. (2014). The Constrained Application Protocol (CoAP), The Internet Engineering Task Force. RFC 7252.","DOI":"10.17487\/rfc7252"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Duquennoy, S., Grimaud, G., and Vandewalle, J.H. (2009, January 25\u201326). Consistency and scalability in event notification for embedded Web applications. Edmonton, AB, Canada.","DOI":"10.1109\/WSE.2009.5631249"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Fette, I., and Melnikov, A. (2011). The WebSocket Protocol, RFC 6455.","DOI":"10.17487\/rfc6455"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Colitti, W., Steenhaut, K., de Caro, N., Buta, B., and Dobrota, V. (2011, January 17\u201322). REST enabled wireless sensor networks for seamless integration with web applications. Valencia, Spain.","DOI":"10.1109\/MASS.2011.102"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"YoungKi, P., Ngoc-Thanh, D., and Younghan, K. (2012, January 1\u20133). A network monitoring system in 6LoWPAN networks. Hue Royal City, Vietnam.","DOI":"10.1109\/CCE.2012.6315873"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Berners-Lee, T., Fielding, R., and Masinter, L. (2005). Uniform Resource Identifier (URI): Generic Syntax, RFC 3986.","DOI":"10.17487\/rfc3986"},{"key":"ref_13","unstructured":"Hartke, K. (2014). Observing Resources in CoAP, Draft-Ietf-Core-Observe-16."},{"key":"ref_14","unstructured":"Gamma, E., Helm, R., Johnson, R., and Vissides, J. (1994). Design Patterns: Elements of Reusable Object-Oriented Software, Addison-Wesley."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Leach, P., Mealling, M., and Salz, R. (2005). A Universally Unique IDentifier (UUID) URN Namespace, RFC 4122.","DOI":"10.17487\/rfc4122"},{"key":"ref_16","unstructured":"Castellani, A., Loreto, S., Rahman, A., Fossati, T., and Dijk, E. (2014). Guidelines for HTTP-CoAP Mapping Implementations, draft-ietf-core-http-mapping-05."},{"key":"ref_17","unstructured":"Shelby, Z., Krco, S., and Bormann, C. (2014). CoRE Resource Directory, draft-ietf-core-resource-directory-02."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Shelby, Z., Chakrabarti, S., Nordmark, E., and Bormann, C. (2012). Neighbor Discovery Optimization for IPv6 over Low-Power Wireless Personal Area Networks (6LoWPANs), RFC 6775.","DOI":"10.17487\/rfc6775"},{"key":"ref_19","unstructured":"Blip. Available online: http:\/\/docs.tinyos.net\/tinywiki\/index.php\/BLIP_2.0."},{"key":"ref_20","unstructured":"Lighttpd. Available online: http:\/\/www.lighttpd.net\/."},{"key":"ref_21","unstructured":"FastCGI. Available online: http:\/\/www.fastcgi.com\/."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Shelby, Z. (2012). Constrained RESTful Environments (CoRE) Link Format, RFC 6690.","DOI":"10.17487\/rfc6690"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Nottingham, M. (2010). Web Linking, RFC 5988.","DOI":"10.17487\/rfc5988"},{"key":"ref_24","unstructured":"Crossbow Technology Inc. TelosB Datasheet. Available online: http:\/\/www.willow.co.uk\/TelosB_Datasheet.pdf."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"288","DOI":"10.3390\/jsan2020288","article-title":"TinyCoAP: A novel CoAP implementation for embedding RESTful Web Services in Wireless Sensor Networks based on TinyOS","volume":"2","author":"Ludovici","year":"2013","journal-title":"J. Sens. Actuator Netw."},{"key":"ref_26","unstructured":"Coapxy. Proxy for CoAP Networks. Available online: http:\/\/sourceforge.net\/projects\/coapxy\/."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/15\/1\/1217\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T20:41:27Z","timestamp":1760215287000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/15\/1\/1217"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,1,9]]},"references-count":26,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2015,1]]}},"alternative-id":["s150101217"],"URL":"https:\/\/doi.org\/10.3390\/s150101217","relation":{},"ISSN":["1424-8220"],"issn-type":[{"type":"electronic","value":"1424-8220"}],"subject":[],"published":{"date-parts":[[2015,1,9]]}}}