Once again, I represent at the top of the LoRaWAN server and at the bottom the IoT platform. 1
We want to connect them with the MQTT protocol, but this time the broker is not on the LoRaWAN 2
server, as we've seen before, it's a complete independent entity between the LoRaWAN server and 3
the IoT platform. 4
In that case, we need to install and configure it. 5
Of course, we could use a public MQTT broker and try this configuration, but keep in mind that 6
if you do so, all datas are public, so please try that only for testing purposes. 7
Great. 8
So now same question as before. 9
Who is the subscriber and who is the publisher? 10
Let's separate the uplink stream and the downlink stream. For the uplink stream, 11
there is one publisher on the LoRaWAN server. 12
It will publish on the Broker all uplink messages on a specific topic that you can often choose yourself 13
or at least customize. 14
And there is one subscriber on the IoT platform. 15
It's going to receive data of its favorite topic on the broker. 16
For the downlink stream, there is one publisher on the IoT platform. 17
It will publish on the broker all downlink messages on a specific topic. 18
And there is one subscriber on the LoRaWAN server. 19
It will receive all messages sent by the IoT platform and depending on the topic, the messages will 20
have a different meaning.