AUTHOR=Namugenyi Ephrance Eunice , Sansa Otim Julianne , Zennaro Marco , Wolthusen Stephen , Nsabagwa Mary TITLE=Adaptive network switching algorithm for sensor data transfer: a simulation framework integrating GSM, Wi-Fi, and LoRa networks JOURNAL=Frontiers in the Internet of Things VOLUME=Volume 4 - 2025 YEAR=2025 URL=https://www.frontiersin.org/journals/the-internet-of-things/articles/10.3389/friot.2025.1520653 DOI=10.3389/friot.2025.1520653 ISSN=2813-3110 ABSTRACT=The growing deployment of IoT devices necessitates reliable sensor data transfer under diverse network conditions. This study introduces an adaptive network switching framework to enhance data dependability across GSM, Wi-Fi, and LoRa networks. By leveraging delay tolerant networking (DTN) principles and real-time performance metrics, the algorithm dynamically selects the optimal channel for transmitting sensor data—text, audio, image, and video—across urban, suburban, and rural settings. Simulations demonstrate an average 33% improvement in throughput, 24% reduction in latency, and 45% decrease in packet loss when using the adaptive framework compared to standalone networks. The adaptability score averaged 0.7 in rural scenarios, with peak performance scores reaching 1,000 for video data at night. A beehive monitoring case study validates these results in real-world conditions. This work contributes a robust, adaptable solution for sensor data optimization in IoT applications.