Skip to main content
. 2019 Dec 15;19(24):5546. doi: 10.3390/s19245546
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