Looking for more information about how data flows through the IoT Bridge? This is the right place for you. This page explains in detail how data from LORA devices is processed and sent to an Azure IoT Hub.
This document describes the recommended architecture that has several key features:
LORA Network Servers.The diagram below shows the flow of communication between a LORAWAN Device and the Azure IoT Hub. This example is a representative example of a recommended architecture, but is by no means the only architecture that will work.
LORAWAN Devices communicate with the LORA Network Servers.LORA Network Server sends join and uplink events to the IoT Bridge by using the HTTP Connector webhooks. The specific configuration of each network server is different.HTTP Webhook generates events that are received by HTTP Decode Triggers which decode the JSON messages from the LORA Network Server and normalize the data formats.HTTP Decode Triggers forward the normalized data to a Message Router Trigger that can use metadata like the port number or inspecting the raw packet data to decide what message decoder needs to be used.Message Router Trigger will then forward the normalized data to the appropriate Message Decoder Trigger, typically you will have one decoder for each device type depening on how the payload will be handled.Message Decoder Triggers decode the payload, and send the decoded event data to the Azzure IoT Send Trigger which will do the actual transmission to Azure.Azure IoT Send Trigger calls functions like azure_iot.send() and azure_iot.update_twin() to communicate with the Azure IoT Service.Azure IoT Service manages a service connection and the individual device connections to the Azure IoT Hub. Multiple Azure IoT Services can be defined to enable communication to more than one Azure IoT Hub.Azure IoT Hub is the Microsoft service that is being linked to the LORAWAN Devices.