View full-text article in PMC Sensors (Basel). 2019 Dec 15;19(24):5546. doi: 10.3390/s19245546 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 2: RSSI adaptation Input:Initial RSSI,People Location, APs Location, Initial Position Output: Adapted RSSI 1: Get Initial RSSI (Ri)and People Location 2: Get Initial Location and APs Location 3: For each Ri do 4: If (there are no people) then 5: Ra=Ri 6: End If 7: If (there are people in the LOS position) then 8: Ra=Ri+5 9: End If 10: If (there are people in the NLOS position) then 11: Ra=Ri+0.5 12: End If 13: End For