## 4 Results
### Comparison of the Results Obtained for the Six Experiments  
The comparative analysis began by observing the behavior of the best and the worst setting in Experiment 1 (distance 7 m) compared to Experiment 2 (distance 20 m), that showed how the results varied when changing the distance a little. Similarly, the comparison was made between Experiment 2 and Experiment 3 (distance 550 m). Next, the results obtained from the best and worst settings of Experiment 3 were compared with their performance in the 7 m and 20 m distance experiments. Lastly, the results in the variable distance experiments were evaluated in the three best settings of the three initial experiments. In addition, the best settings were evaluated in Experiments 4, 5 and 6 with respect to the percentage of packets received and the greatest distance reached by a packet. In Experiment 1, the setting corresponding to SF = 7, BW = 250 kHz, CR = 4/6 yielded the best average RSSI value (\(-\)50.36 dBm). This setting, at 20 m, had an average RSSI value of \(-\)73.40 dBm, located approximately in the middle of the settings ordered under the same criteria. Therefore,  
Figure 15: RSSI values obtained for Experiment 5, in the setting SF = 9, BW = 250 kHz and CR = 4/5. by increasing the distance, this setting worsened its signal level received at the gateway much more than expected. The worst setting of Experiment 1 was SF = 7, BW = 125 kHz, CR = 4/8, its average RSSI value was \(-\)62.66 dBm, a performance that was maintained when the distance was scaled to 20 m, placing it between the ten worst settings. In Experiment 2, the best setting was SF = 7, BW = 500 kHz, CR = 4/7, with an average RSSI value of \(-\)64.20 dBm; this same setting in Experiment 3 was one of the 5 worst settings. Furthermore, the worst setting of Experiment 2, which corresponded to the parameters SF = 9, BW = 125 kHz, CR = 4/8, maintained its low average RSSI level in Experiment 3. In Experiment 3 the only setting where 100% of packets were received was SF = 7, BW = 125 kHz, CR = 4/6. For this same setting in Experiment 1, all packets were also received, despite the fact that some were corrupted, and it maintained a high average RSSI, \(-\)57.71 dBm. This same setting in Experiment 2 had an acceptable behavior, meaning that all the transmitted packets were received in good condition, although the average RSSI level was not very high. According to what has been evaluated so far, the best settings for the first three experiments were SF = 7, BW = 250 kHz, CR = 4/6; SF = 7, BW = 500 kHz, CR = 4/7; and SF = 7, BW = 125 kHz, CR = 4/6. These settings in Experiment 4 showed 62%, 50% and 62% of packets received respectively, being settings with low results, compared to others in this experiment. For that reason, these settings were among those that were not evaluated in Experiments 5 and 6. Table 4 presents the three best settings regarding RSSI signal level of the first three experiments. In addition, the three settings with the best percentages of packets received in Experiment 3 are presented. Taking into account Table 4, it can be stated that in experiments with fixed distances it is convenient to use a BW of 500 kHz, an SF of 7, 8 or 9 and a CR of 4/5, 4/6 or 4/7 to obtain an adequate level of RSSI. However, when considering the percentage of packets received in a setting with more than one node, a lower bandwidth is convenient and SF should be 7. Table 5 shows the best settings for Experiments 4, 5, and 6 (independently), with respect to the percentage of packets received. Additionally, for these settings, the data obtained from the average RSSI and the maximum distance reached by a packet received at the gateway are shown. According to the results presented in Table 5, the setting SF = 9, BW = 250 kHz, CR = 4/5 performed well in Experiments 4 and 5.