<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">
    jcc
   </journal-id>
   <journal-title-group>
    <journal-title>
     Journal of Computer and Communications
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2327-5219
   </issn>
   <issn publication-format="print">
    2327-5227
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/jcc.2025.136007
   </article-id>
   <article-id pub-id-type="publisher-id">
    jcc-143382
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Computer Science 
     </subject>
     <subject>
       Communications
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Solution to the Technical Problems Associated with Integrating LoRA Technology into the Adaptive Radio and Transmission Power Selection System (ARTPoS) Algorithm Using the Raspberry Pi
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Saidou
      </surname>
      <given-names>
       Haman
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Djorwe
      </surname>
      <given-names>
       Temoa
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Kolyang
      </surname>
      <given-names></given-names>
     </name> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
   </contrib-group> 
   <aff id="aff1">
    <addr-line>
     aDivision of Information and Communications Technology, National Advanced School of Posts, Telecommunications and Information and Communication Technologies (SUP’PTIC) of Yaoundé, Yaoundé, Cameroon
    </addr-line> 
   </aff> 
   <aff id="aff2">
    <addr-line>
     aDepartment of Computer Science and Telecommunications Engineering, National Advanced School of Engineering of Maroua, The University of Maroua, Maroua, Cameroon
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     11
    </day> 
    <month>
     06
    </month>
    <year>
     2025
    </year>
   </pub-date> 
   <volume>
    13
   </volume> 
   <issue>
    06
   </issue>
   <fpage>
    103
   </fpage>
   <lpage>
    114
   </lpage>
   <history>
    <date date-type="received">
     <day>
      29,
     </day>
     <month>
      April
     </month>
     <year>
      2025
     </year>
    </date>
    <date date-type="published">
     <day>
      16,
     </day>
     <month>
      April
     </month>
     <year>
      2025
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      16,
     </day>
     <month>
      June
     </month>
     <year>
      2025
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    The Internet of Things (IoT) refers to the interconnection via the Internet of physical objects, places or environments equipped with sensors and devices for collecting, transmitting and receiving data without direct human intervention. Unlike the Internet, the IoT has its own constraints, notably those linked to heterogeneity. This divergence is linked to the different protocols, technologies and algorithms implemented in these connected objects to interconnect them. It should be noted that IoT devices can communicate with each other using different protocols and dedicated M2M (Machine-to-Machine) communication technologies. The use of IoT gateways is also a common solution for interconnecting IoT devices from different networks. IoT gateways are elements of a network that enable communication between networks using various protocols. Long-range technologies such as LoRA are not integrated into the ARTPoS algorithm, mainly due to technical issues. The ARTPoS algorithm is based on specific communication and optimisation protocols that are not necessarily suited to the capabilities of LoRA, which is designed for low-energy, long-range IoT applications. Furthermore, the integration of LoRA would require significant adaptations within the structure of the algorithm, which could impact its performance and usability. In this article, we will examine the integration of LoRa technology into a Raspberry Pi, in particular in relation to the ARTPoS (Adaptive Radio and Transmission Power Selection system) algorithm for solving range problems. In this article, we noted the limitations of the ARTPoS algorithm. Although it supports several technologies (WiFi, ZigBee, BLE), ARTPoS does not yet cover all the emerging technologies, such as 5G or LoRaWAN, which limits its applicability in certain specific use cases. However, it is easier to integrate all the ARTPoS and LoRA algorithm functionalities into the Raspberry microcontroller than to work on the algorithm itself. In this article, we facilitate the improvement of the ARTPoS algorithm by integrating all its functionalities, including the integration of LoRA technology into a Raspberry in order to solve the algorithm’s range problem and we will also highlight the different protocols of the ARTPoS algorithm and LoRA to get an idea of the need to integrate a long-range protocol as mentioned above.
   </abstract>
   <kwd-group> 
    <kwd>
     IoT
    </kwd> 
    <kwd>
      ARTPoS
    </kwd> 
    <kwd>
      LoRA
    </kwd> 
    <kwd>
      Heterogeneity
    </kwd> 
    <kwd>
      Algorithm
    </kwd> 
    <kwd>
      Gateway
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>According to the International Telecommunication Union <xref ref-type="bibr" rid="scirp.143382-1">
     [1]
    </xref>, the Internet of Things (IoT) is a “global infrastructure for the information society, enabling advanced services by interconnecting objects (physical or virtual) using existing or evolving interoperable information and communication technologies”. The interconnection of IoT devices in a heterogeneous network is an important issue for the development of IoT. IoT devices can communicate with each other using different protocols and dedicated M2M (Machine-to-Machine) communication technologies <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref> <xref ref-type="bibr" rid="scirp.143382-3">
     [3]
    </xref>. Cellular networks, WiFi, Bluetooth, ZigBee, LoRaWAN, MQTT, etc. are common solutions for interconnecting IoT devices <xref ref-type="bibr" rid="scirp.143382-3">
     [3]
    </xref> <xref ref-type="bibr" rid="scirp.143382-4">
     [4]
    </xref>. The ease of interconnection, mainly via the Internet, facilitates the development of industrial, medical and entertainment projects <xref ref-type="bibr" rid="scirp.143382-4">
     [4]
    </xref>. IoT capabilities are increasingly being integrated into new devices, significantly reducing costs and improving functionality <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref>. However, the heterogeneity of connected objects poses problems for the interoperability of devices and also for development tools <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref>. The various IoT networks refer to a set of interconnected devices that communicate with other devices without human intervention <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref>.</p>
   <p>To interconnect IoT devices from different networks, the use of gateways is a common solution <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref> <xref ref-type="bibr" rid="scirp.143382-3">
     [3]
    </xref>. IoT gateways are elements of a network that enable communication between networks using various protocols <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref>. They are capable of connecting to a large number of IoT devices and smart sensors to extend and streamline their functionality in a physical space <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref>. IoT gateways can be used to connect IoT devices to the Internet, local area networks or cellular networks <xref ref-type="bibr" rid="scirp.143382-4">
     [4]
    </xref>. They can also be used to aggregate data from different IoT devices and send it to a server for processing <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref>. IoT gateways add an extra layer of security between IoT devices and the Internet, improving the security of IoT devices <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref>. IoT gateways are an example of a smart IoT device installed at the edge of the network <xref ref-type="bibr" rid="scirp.143382-2">
     [2]
    </xref>.</p>
   <p>We can say that IoT devices are varied in nature and have specific constraints in terms of computing power, storage capacity, communication protocols, networking capacity, autonomy, etc. Indeed, there are a variety of IoT devices with multiple interfaces. There are a variety of IoT devices with multiple interfaces <xref ref-type="bibr" rid="scirp.143382-5">
     [5]
    </xref>. Long-range technology such as LoRA is not integrated into the ARTPoS algorithm mainly due to technical and objective differences. ARTPoS focuses on specific communication and optimisation protocols that do not necessarily align with the capabilities of LoRA, which is designed for low-energy, long-range IoT applications <xref ref-type="bibr" rid="scirp.143382-6">
     [6]
    </xref> <xref ref-type="bibr" rid="scirp.143382-7">
     [7]
    </xref>. In addition, integrating LoRA would require significant adaptations to the structure of the algorithm, which could compromise its performance and ease of use <xref ref-type="bibr" rid="scirp.143382-8">
     [8]
    </xref> <xref ref-type="bibr" rid="scirp.143382-9">
     [9]
    </xref>. In this article, we will take a look at the integration of LoRa technology into a Raspberry Pi, particularly in relation to the ARTPoS (Adaptive Radio and Transmission Power Selection system) algorithm for solving range problems, including using LoRa with Raspberry PLC <xref ref-type="bibr" rid="scirp.143382-10">
     [10]
    </xref>, Raspberry Pi Node to Node using LoRa <xref ref-type="bibr" rid="scirp.143382-11">
     [11]
    </xref>, creating a LoRaWAN sensor based on Raspberry Pi <xref ref-type="bibr" rid="scirp.143382-6">
     [6]
    </xref>, P2P connectivity with Raspberry Pi and LoRa-E5 <xref ref-type="bibr" rid="scirp.143382-8">
     [8]
    </xref>. In this article, we noticed the limitations of the ARTPoS algorithm although it supports several technologies (WiFi, ZigBee, BLE), ARTPoS does not yet cover all emerging technologies such as 5G or LoRaWAN, which limits its applicability in certain specific use cases <xref ref-type="bibr" rid="scirp.143382-11">
     [11]
    </xref> but it’s easier to integrate all the features of the ARTPoS algorithm and LoRA into the Raspberry microcontroller than to work on the algorithm itself.</p>
   <p>It should be noted that connected objects also use algorithms to connect. Among these different algorithms, ARTPoS is of interest to us in our work. This problem will be solved in this article by integrating all the functionality of the said algorithm and even LoRA technology, which will solve the problem.</p>
  </sec><sec id="s2">
   <title>2. Problems Associated with Device Heterogeneity and Solutions</title>
   <p>We list below the problems associated with the heterogeneity of IoT devices on the one hand and the solutions on the other.</p>
   <sec id="s2_1">
    <title>2.1. Problems Associated with Device Heterogeneity</title>
    <p>In a system where several IoT devices are connected to each other to exchange data with each other and with the remote server, different communication, application and security protocols are used. In this exchange between objects, the connected devices do not necessarily have the same characteristics in terms of communication capacity, memory, energy, etc. This is known as heterogeneity. This is known as IoT device heterogeneity.</p>
    <p>
     <xref ref-type="fig" rid="fig1">
      Figure 1
     </xref> illustrates a solution to heterogeneity and the use of the gateway that enables interconnection between IoT sensors and the Internet.</p>
    <p>The algorithm, as defined in <xref ref-type="bibr" rid="scirp.143382-12">
      [12]
     </xref>, plays a key role in the gateway. It is thanks to the algorithm that the gateway becomes intelligent in order to resolve problems of heterogeneity and even range.</p>
    <fig id="fig1" position="float">
     <label>Figure 1</label>
     <caption>
      <title>Figure 1. Architecture of an IoT network using a gateway.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1733170-rId16.jpeg?20250619013801" />
    </fig>
   </sec>
   <sec id="s2_2">
    <title>2.2. Solutions to Device Heterogeneity Problems</title>
    <p>The solutions for interconnecting connected objects are based on the algorithms implemented in the gateways <xref ref-type="bibr" rid="scirp.143382-13">
      [13]
     </xref>.</p>
    <p>An IoT gateway establishes a bridge between IoT devices (sensors) and the cloud to enable data to be exchanged. It systematically connects “the field”, made up mainly of sensors, with the remote server or the cloud. However, the heterogeneous nature of sensors and networks means that gateways have to support different types of interfaces (e.g. Power Line Communication (PLC), Bluetooth, cellular network or WiFi) and network protocols <xref ref-type="bibr" rid="scirp.143382-1">
      [1]
     </xref>. Depending on the nature of the sensors or networks, the configuration of an IoT gateway and its functions must also change to ensure interconnection.</p>
    <p>The algorithms used have several functions: optimum management of congestion in the network, optimum management of data and communication security, optimum management of application memory resources, etc. So, IoT gateways perform well if and only if they use appropriate algorithms. We present some of the algorithms implemented in gateways.</p>
    <p>1) Network selection algorithm for heterogeneous wireless networks</p>
    <p>In <xref ref-type="bibr" rid="scirp.143382-14">
      [14]
     </xref>, an efficient mechanism for network selection over heterogeneous wireless networks is proposed. In this work, the authors put special emphasis on user preferences towards the use of heterogeneous wireless networks in order to improve system performance and support reliable connectivity. User preferences are summarised in three parameters: latency, cost and energy consumption. In this system, the user is at the centre of the gateway’s decision-making processes.</p>
    <p>2) SIA (Service-to-Interface Assignment) algorithm</p>
    <p>In <xref ref-type="bibr" rid="scirp.143382-15">
      [15]
     </xref>, Abdellatif et al. presented a mechanism called SIA (Service-to-Interface Assignment). As its name suggests, this is a mechanism for assigning one or more services to a given interface. In this work, they considered an IoT device with multiple interfaces <xref ref-type="bibr" rid="scirp.143382-16">
      [16]
     </xref> to highlight the problem of efficiently allocating resources in a network. Since an IoT device is called upon to provide a wide variety of services with different requirements, the mechanism proposed by Vangelis Angelakis et al. uses two different algorithms to solve the interface assignment problem in an optimal way. The first algorithm takes into account the most demanding services, and then immediately allocates interfaces to them. The second algorithm first calculates the shares of existing resources and then allocates them to services by random selection.</p>
    <p>3) ARTPoS algorithm (Adaptive Radio and Transmission Power Selection system)</p>
    <p>In <xref ref-type="bibr" rid="scirp.143382-17">
      [17]
     </xref>, Mu et al. proposed an adaptive radio and transmission power selection algorithm that makes several wireless technologies available. This system supports several wireless protocols, such as WiFi, Zigbee and Bluetooth. The mechanism consists of selecting the appropriate network for the traffic and network conditions while minimising energy consumption. It is known as ARTPoS (Adaptive Radio and Transmission Power Selection system). In its architecture, ARTPoS incorporates a selection module that chooses the most optimal radio interface. This choice is made on the basis of bit rate and residual network capacity. ARTPoS also includes a second module whose role is to monitor the radio interfaces selected by the first module. In this module, energy consumption is calculated for the selected interfaces. The results of these calculations are analysed by the first module to make a final decision. At the end of their work, the authors obtained an algorithm enabling a considerable reduction in energy consumption, while maintaining the desired link reliability.</p>
    <p>4) Real-time low-power M2M control algorithm</p>
    <p>In <xref ref-type="bibr" rid="scirp.143382-18">
      [18]
     </xref>, Elghoul et al. developed a control mechanism for real-time, low-energy M2M communication. In a monitoring application, for example, sensors transmit sensed data to an IoT gateway. This transmission must take place in real time. To maintain this exchange for a long time, the IoT nodes and gateways must, above all, have sufficient autonomy.</p>
    <p>In <xref ref-type="table" rid="table1">
      Table 1
     </xref>, the algorithm of Di Mu, Yunpeng Ge, M. Sha, S. Paul, N. Ravichandra &amp; S. Chowdhury is our concern considering our objective, which is to extend its functionalities. Initially, this algorithm includes only three wireless protocols: WiFi, Zigbee and Bluetooth.</p>
    <table-wrap id="table1">
     <label>
      <xref ref-type="table" rid="table1">
       Table 1
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.143382-"></xref>Table 1. Comparison between some algorithms used in the IoT gateway.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="30.59%"><p style="text-align:center">Author(s)</p></td> 
       <td class="custom-bottom-td acenter" width="12.16%"><p style="text-align:center">User preferences</p></td> 
       <td class="custom-bottom-td acenter" width="12.16%"><p style="text-align:center">HandOver</p></td> 
       <td class="custom-bottom-td acenter" width="12.16%"><p style="text-align:center">Low power consumption</p></td> 
       <td class="custom-bottom-td acenter" width="12.16%"><p style="text-align:center">High memory resource</p></td> 
       <td class="custom-bottom-td acenter" width="12.17%"><p style="text-align:center">Multiple wireless technologies</p></td> 
       <td class="custom-bottom-td acenter" width="8.60%"><p style="text-align:center">Long range</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="30.59%"><p style="text-align:center">Alaa Awad Abdellatif, Carla-Fabiana Chiasserini &amp; Amr Mohamed</p></td> 
       <td class="custom-top-td acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="custom-top-td acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="custom-top-td acenter" width="12.16%"><p style="text-align:center">No</p></td> 
       <td class="custom-top-td acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="custom-top-td acenter" width="12.17%"><p style="text-align:center">Yes</p></td> 
       <td class="custom-top-td acenter" width="8.60%"><p style="text-align:center">No</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="30.59%"><p style="text-align:center">Liu, Sun L. &amp; Ifeachor. E</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">No</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="12.17%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="8.60%"><p style="text-align:center">No</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="30.59%"><p style="text-align:center">V. Angelakis, I. Avgouleas, N. Pappas, E. Fitzgerald &amp; D. Yuan</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">No</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">No</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="12.17%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="8.60%"><p style="text-align:center">No</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="30.59%"><p style="text-align:center">Di Mu, Yunpeng Ge, M. Sha, S. Paul, N. Ravichandra &amp; S. Chowdhury</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="12.16%"><p style="text-align:center">No</p></td> 
       <td class="acenter" width="12.17%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="8.60%"><p style="text-align:center">No</p></td> 
      </tr> 
     </table>
    </table-wrap>
   </sec>
  </sec><sec id="s3">
   <title>3. Presentation of the Problem</title>
   <p>Several solutions were proposed, such as algorithms, architectures, protocols, etc. Each of these solutions aimed to ensure better connectivity between heterogeneous IoT devices. Each of these solutions aimed to ensure better connectivity between heterogeneous IoT devices. However, connectivity between heterogeneous devices is not the only factor to consider in an IoT system. Certainly, connectivity between devices from heterogeneous sources ensures better communication between connected objects. But it does not necessarily take into account the geographical aspect of these objects. Connected objects are not limited in space. As a result, communication between them must be possible regardless of the distance separating them. So, there is a real problem of communication between IoT devices that are far enough apart. The algorithm plays a central and transversal role in the connected object ecosystem. In our case, we will focus on the ARTPoS algorithm. This ARTPoS algorithm is widely used in connected objects, but has scope problems that are technically difficult to resolve. We are therefore going to propose a solution using the microcontroller on the Raspberry to solve this problem.</p>
  </sec><sec id="s4">
   <title>4. Methodology</title>
   <p>Our approach is based on the following points:</p>
   <fig id="fig2" position="float">
    <label>Figure 2</label>
    <caption>
     <title>Figure 2. Proposed network diagram.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1733170-rId17.jpeg?20250619013803" />
   </fig>
   <p>Here, we are proposing an architecture that already integrates LoRA.</p>
  </sec><sec id="s5">
   <title>5. Proposed Solutions and Descriptions</title>
   <sec id="s5_1">
    <title>5.1. Proposed Solutions</title>
    <p>Our proposed solution described above is represented by the diagram in <xref ref-type="fig" rid="fig3">
      Figure 3
     </xref>.</p>
    <fig id="fig3" position="float">
     <label>Figure 3</label>
     <caption>
      <title>Figure 3. Interconnection of different networks via an IoT gateway.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1733170-rId18.jpeg?20250619013805" />
    </fig>
    <p>In <xref ref-type="fig" rid="fig3">
      Figure 3
     </xref>, we have an IoT gateway with multiple interfaces at the centre of the system. This gateway enables the interconnection of four different networks such as the cellular network, WiFi, Bluetooth and the LoRa network. It also facilitates the interconnection of several heterogeneous IoT devices. What’s more, these devices are more or less distant from each other. On the LoRa network, we have a sensor that not only collects and sends data over a long distance, but also has long-lasting autonomy. This figure highlights the following elements:</p>
   </sec>
   <sec id="s5_2">
    <title>5.2. Description</title>
    <p>We will be interconnecting four different networks: Zigbee, LoRa, WiFi and Bluetooth. To do this, we will use an IoT gateway, in particular the Raspberry Pi. Interconnecting these four networks involves connecting each of them to the gateway.</p>
    <p>In order to ensure communication between the LoRa network and the IoT gateway, we rely on the solution presented in section 1.2 (connection between the LoRa gateway and the application server). A LoRa gateway whose role is to send all the data collected to an application server. The application server is responsible for processing, analyzing and displaying the data. In the same way, the application server is connected to an IoT gateway, as shown in <xref ref-type="fig" rid="fig4">
      Figure 4
     </xref>.</p>
    <p>This architecture makes it possible to connect the LoRa network to the IoT gateway. The gateway now acts as a bridge between the LoRa network and the application server. When data is received by the gateway, it will redirect it to the application server for analysis. At the same time, the gateway can decide to perform an action (start the fan, start the air conditioner, start the heating or send a notification to a user in our previous example). The complete architecture of this system is shown in <xref ref-type="fig" rid="fig5">
      Figure 5
     </xref>.</p>
    <fig id="fig4" position="float">
     <label>Figure 4</label>
     <caption>
      <title>Figure 4. LoRa network diagram with a Raspberry Pi as server.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1733170-rId19.jpeg?20250619013805" />
    </fig>
    <fig id="fig5" position="float">
     <label>Figure 5</label>
     <caption>
      <title>Figure 5. Diagram of communication between networks of different types.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1733170-rId20.jpeg?20250619013805" />
    </fig>
    <p>At the same time, the gateway is responsible for interconnecting the different networks with heterogeneous devices at their ends and deciding what action to take when data is received. To perform all these tasks efficiently, the gateway must be equipped with an algorithm. When a task requires significantly more resources, it calls on the application server for intelligent processing and then receives the response. The GitHub link below contains the code written in Python that can be run in the gateway for these four points (<xref ref-type="bibr" rid="scirp.143382-https://github.com/saidou-supptic/haman">
      https://github.com/saidou-supptic/haman
     </xref>):</p>
   </sec>
   <sec id="s5_3">
    <title>5.3. Comparison between LoRA and the Three Other Existing Protocols of the ARTPoS Protocol (<xref ref-type="table" rid="table2">
      Table 2
     </xref>)</title>
    <p>In addition to this, LoRa offers the following advantages:</p>
    <table-wrap id="table2">
     <label>
      <xref ref-type="table" rid="table2">
       Table 2
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.143382-"></xref>Table 2. Comparative study on the performance of different ARTPoS protocols.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="22.11%"><p style="text-align:center">Titles</p></td> 
       <td class="custom-bottom-td acenter" width="22.12%"><p style="text-align:center">LoRA</p></td> 
       <td class="custom-bottom-td acenter" width="22.11%"><p style="text-align:center">ZegBee</p></td> 
       <td class="custom-bottom-td acenter" width="22.12%"><p style="text-align:center">WiFi</p></td> 
       <td class="custom-bottom-td acenter" width="11.55%"><p style="text-align:center">Bluetooth</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="22.11%"><p style="text-align:center">Frequency band</p></td> 
       <td class="custom-top-td acenter" width="22.12%"><p style="text-align:center">868 MHz or 915 MHz (for better signal penetration in buildings and over long distances)</p></td> 
       <td class="custom-top-td acenter" width="22.11%"><p style="text-align:center">2.4 GHz</p></td> 
       <td class="custom-top-td acenter" width="22.12%"><p style="text-align:center">2.4 GHz or 5 GHz</p></td> 
       <td class="custom-top-td acenter" width="11.55%"><p style="text-align:center">2.4 GHz</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Max distance From</p><p style="text-align:center">Transmission</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">20 km</p></td> 
       <td class="acenter" width="22.11%"><p style="text-align:center">300 m</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">100 m</p></td> 
       <td class="acenter" width="11.55%"><p style="text-align:center">10 m</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Bandwidths</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">300 bps to 5.5 kbps</p></td> 
       <td class="acenter" width="22.11%"><p style="text-align:center">250 kbps</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">10 Mbps to 1 Gbps</p></td> 
       <td class="acenter" width="11.55%"><p style="text-align:center">1 Mbps</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Network topology</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Star or Mixed</p></td> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Mesh</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Infrastructure or P2P</p></td> 
       <td class="acenter" width="11.55%"><p style="text-align:center">P2P</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Energy consumption</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Low (sensors have batteries with a life of 10 to 15 years, depending on use)</p></td> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Low</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">High (constantly powered equipment and permanent link)</p></td> 
       <td class="acenter" width="11.55%"><p style="text-align:center">High</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Latency</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Dependent on sensor class</p></td> 
       <td class="acenter" width="22.11%"><p style="text-align:center">30 ms to 1 s</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">20 ms to 50 ms</p></td> 
       <td class="acenter" width="11.55%"><p style="text-align:center">10 s</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Interference immunity</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">High</p></td> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Low</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Very low</p></td> 
       <td class="acenter" width="11.55%"><p style="text-align:center">Very low</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Cost</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Low (with a transceiver and sensors your private wireless network is established)</p></td> 
       <td class="acenter" width="22.11%"><p style="text-align:center">High (equipment purchase, installation and interconnection)</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Low</p></td> 
       <td class="acenter" width="11.55%"><p style="text-align:center">Medium</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Extensible</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Yes</p></td> 
       <td class="acenter" width="11.55%"><p style="text-align:center">No</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Energy profile</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Year</p></td> 
       <td class="acenter" width="22.11%"><p style="text-align:center">Year</p></td> 
       <td class="acenter" width="22.12%"><p style="text-align:center">Day</p></td> 
       <td class="acenter" width="11.55%"><p style="text-align:center">Day</p></td> 
      </tr> 
     </table>
    </table-wrap>
   </sec>
  </sec><sec id="s6">
   <title>6. Conclusions</title>
   <p>In our work, we have highlighted the problems associated with connected objects due to their heterogeneity and then described the solutions already provided to facilitate their interconnection.</p>
   <p>The interconnection of IoT devices from different networks is an important issue for the development of the IoT. IoT devices can communicate with each other using different protocols and dedicated M2M (Machine-to-Machine) communication technologies. Cellular networks, WiFi, Bluetooth, ZigBee, LoRaWAN, MQTT, etc. are common solutions for interconnecting IoT devices. The use of IoT gateways is also a common solution for interconnecting IoT devices from different networks. IoT gateways are elements of a network that enable communication between networks using various protocols. They are able to connect to a large number of IoT devices and smart sensors to extend and streamline their functionality in a physical space. IoT gateways add an extra layer of security between IoT devices and the Internet, improving the security of IoT devices.</p>
   <p>In conclusion, despite the difficulties associated with inserting the long-range protocol into the ARTPoS algorithm, we were able to use the Raspberry microcontroller to integrate not only the entire algorithm, but also the LoRA.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.143382-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Benistan, L. (2017) Comment se positionne l’internet des objets dans les entreprises? &gt;https://www.axess.fr/blog/transformation-digitale/internet-objets-entreprises
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Dusun (2022) Qu’est-ce qu’une passerelle IoT (Guide complet 2023): Définition, exemples, fonctions. &gt;https://dusuniot.com/fr/blog/what-is-an-iot-gateway/ 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Karyabwite, D. (2020) Les Fondamentaux de l’IoT. &gt;https://www.itu.int/en/ITU-D/Regional-Presence/Africa/Documents/PRIDA%202020%20-%20ONLINE%20Capacity%20building%20&amp;%20digital%20services/FR_Workshop_Slides.pdf 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Usmani, U.A., Happonen, A. and Watada, J. (2023) Secure Integration of IoT-Enabled Sensors and Technologies: Engineering Applications for Humanitarian Impact. 2023 5th International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), Istanbul, 8-10 June 2023, 1-10. &gt;https://www.researchgate.net/publication/371891581_Secure_Integration_of_ioT-Enabled_Sensors_and_Technologies_Engineering_Applications_for_Humanitarian_Impact &gt;https://doi.org/10.1109/HORA58378.2023.10156740 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Faludi, R. (2021) Comment les appareils IoT communiquent-ils? &gt;https://fr.digi.com/blog/post/how-do-iot-devices-communicate
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Allan, A. (2021) How to Add LoRaWAN to Raspberry Pi Pico.&gt;https://www.raspberrypi.com/news/how-to-add-lorawan-to-raspberry-pi-pico/ 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Yazid, Y., Guerrero-González, A., Ez-Zazi, I., El Oualkadi, A. and Arioua, M. (2022) A Reinforcement Learning Based Transmission Parameter Selection and Energy Management for Long Range Internet of Things. Sensors, 22, Article 5662. &gt;https://doi.org/10.3390/s22155662
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Raj, A. (2019) LoRa with Raspberry Pi—Peer to Peer Communication with Arduino. &gt;https://circuitdigest.com/microcontroller-projects/raspberry-pi-with-lora-peer-to-peer-communication-with-arduino 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Logicbus (2025) How to Use LoRa with Raspberry PLC. &gt;https://blog.logicbus.com/how-to-use-lora-with-raspberry-plc/ 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Boot, Work Corp. S.L. and Schnabel, M. (2024) How to Use LoRa with Raspberry PLC. &gt;https://www.industrialshields.com/blog/raspberry-pi-for-industry-26/lora-with-raspberry-plc-606 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rahman, M.M. (2024) Emerging Technology: Key Challenges and Opportunities. &gt;https://www.isaca.org/resources/news-and-trends/newsletters/atisaca/2024/volume-17/emerging-technology-key-challenges-and-opportunities 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Pawar, N. (2021) Conception d’une architecture complète pour l’interopérabilité des objets connectés hétérogènes et des services de l’Internet des Objets. Doctoral Dissertation, Institut Polytechnique de Paris. &gt;https://www.researchgate.net/publication/354857433_Conception_d’une_architecture_complete_pour_l’interoperabilite_des_objets_connectes_heterogenes_et_des_services_de_l’Internet_des_Objets
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Boot&amp;Work Corp. S.L., Martí Schnabel (2024) How to Use LoRa with Raspberry PLC. &gt;https://www.industrialshields.com/blog/raspberry-pi-for-industry-26/lora-with-raspberry-plc-606 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Académie de Bordeaux (2022) Notions d’algorithme et de programme. &gt;https://ent2d.ac-bordeaux.fr/disciplines/sti-college/wp-content/uploads/sites/63/2019/05/IP-2-3-C1-F-Notions-dalgorithme-et-de-programme.pdf 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Abdellatif, A.A., Chiasserini, C.F. and Mohamed, A. (2022) User-Centric Network Selection in Multi-RAT Systems. &gt;https://www.researchgate.net/publication/332013270_User-centric_network_selection_in_multi-RAT_systems 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref16">
    <label>16</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Angelakis, V., Avgouleas, I., Pappas, N., Fitzgerald, E. and Yuan, D. (2016) Allocation of Heterogeneous Resources of an IoT Device to Flexible Services. IEEE Internet of Things Journal, 3, 691-700. &gt;https://doi.org/10.1109/jiot.2016.2535163 
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref17">
    <label>17</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mu, D., Ge, Y., Sha, M., Paul, S., Ravichandra, N. and Chowdhury, S. (2017) Adaptive Radio and Transmission Power Selection for Internet of Things. 2017 IEEE/ACM 25th International Symposium on Quality of Service (IWQoS), Vilanova i la Geltrú, 14-16 June 2017, 1-10. &gt;https://doi.org/10.1109/iwqos.2017.7969111
    </mixed-citation>
   </ref>
   <ref id="scirp.143382-ref18">
    <label>18</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Elghoul, R. and Jelassi, K. (2019) Le compteur intelligent: Vecteur de transformation pour la maitrise d’énergie. Internet des Objets, 3, 1-13. &gt;https://doi.org/10.21494/iste.op.2019.0325
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>