Issue link: https://read.uberflip.com/i/1446534
LoRaWAN Roaming Hub TR10-1.0.0 ©2022 LoRa Alliance® Page 6 of 14 The authors reserve the right to change recommendations without notice. 3 Functionality 125 126 There are two primary functionalities of a roaming hub: 127 128 1. Forward messages among peers based on the roaming agreements – The RH 129 forwards an incoming message to its ultimate destination only if there is an 130 associated agreement that allows it to do so. Otherwise, the RH rejects the 131 incoming message, just like the intended destination would do. 132 2. Keep track of and report the usage, in the form of UDRs – The amount of traffic 133 passed among the nodes served by the RH is recorded in a peer-to-peer fashion 134 and is reported to each node at the end of a configured period. 135 136 One or more roaming hubs gets inserted between NSs and JSs, acting as a transparent 137 stateless proxy for the nodes it is serving, as depicted in Figure 2. This example illustrates a 138 single roaming hub. 139 140 141 142 Figure 2: Single roaming hub insertion 143 144 When a node needs to deliver a message to its peer, it sends the message to the RH instead 145 of directly sending to the peer. For example, the Forwarding Network Server (fNS) sends a 146 HomeNSReq message (to query the home network server of a particular device) that is 147 ultimately destined to the JS towards the RH, so the RH can deliver that message to the JS. 148 Similarly, the Home Network Server (hNS) sends a XmitDataReq message that is ultimately 149 destined to the fNS towards the RH, so the RH can deliver that message to the fNS. 150 151 The RH appears as a JS when receiving messages from the fNS for the JS. And, the JS treats 152 the RH as an fNS when sending messages to the RH, to be ultimately delivered to the fNS. 153 Therefore, the interface between the JS and the RH, and the interface between the RH and 154 the fNS, is the JS-vNS interface defined in the the [LWBE]. 155 156 Similarly, the interface between the Serving Network Server (sNS) and the RH, and between 157 the RH and the fNS, is the sNS-fNS interface defined in the [LWBE]. 158 159 Consequently, the [LWBE] specification is sufficient to implement an RH that is interoperable 160 with the NSs and JSs that are compliant with that specification. 161 162 Figure 3 depicts two roaming hubs between the nodes: 163 164
