View full-text article in PMC Sensors (Basel). 2020 Oct 22;20(21):5970. doi: 10.3390/s20215970 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2020 by the author. 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 1 WEAR-IT API. Require:sp Ensure:s,wd,datas {wdi}=scan(sp),i∈[1…k] connect to a device wd suitable for the application connect(wd,sp) identify the sensors in the wearable environment {sj}=classify(sensors(sp)∪sensors(wd)),j∈[1…m] select the needed sensor of type T s=select({sj},T) play(s) measurement takes place datas=stop(s) return store(datas,wd)