Figure 1:

Figure 2:

Figure 3:

Figure 4:

Figure 5:

Figure 6:

Figure 7:

Figure 8:

Figure 9:

Figure 10:

Figure 11:

Figure 12:

Figure 13:

| Algorithm PRIORLoRa |
| 1. Input: |
| 2. |
| SENS: denotes sensitivity of the devices, |
| RSSI – nodes power levels. |
| PRSSI – priority nodes power levels. |
| 3. Output: |
| 4. function PRIORLoRa-SF |
| 5. |
| 6. for l = 1 to length (SFs) |
| 7. |
| 8. |
| 9. |
| 10. else |
| 11. r = c |
| 12. End if |
| 13. for k = 0 to r |
| 14. |
| 15. |
| 16. |
| 17. End for |
| 18. End for |
| 19. return |
Notations_
| Notation | Definition |
|---|---|
| Rc | Chip rate |
| Tc | Chip duration |
| Rs | Symbol rate |
| Ts | Symbol duration |
| Rb | Data rate |
| SF | Spreading factor |
| CR | Coding rate |
| tai | Time on air of ith node |