View full-text article in PMC Sensors (Basel). 2019 Mar 17;19(6):1339. doi: 10.3390/s19061339 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 4 CoAP Response in cNAP ICN_ID←[ICN_message] coap_response←[ICN_message] token_list←lookup(ICN_ID) isObserveOption←[coap_response] ifisObserveOption = = true then observer_list←lookup_observer(token_list) sendresponsetoobserver_list else client_list←ICN_ID_to_clients_token_list sendresponsetoclient_list end if