Forum Discussion

Suresh_TN's avatar
Suresh_TN
Copper Contributor
May 11, 2023

MQTT Broker Bridging for Gatway networks

Hi ,

I am planning for the MQTT gateway bridging concept by using the Azure IOT.

 

End devices will acts a MQTT-client and communicate with the Gateway,

Gateway which acts as local mqtt broker (local server with bridge capabilities).

MQTT local broker tries to communicate with the Azure IOT MQTT broker (central server).

 

As a MQTT local broker with bridge capability will act as one resource to azure iot Hub (but internally it also have more connected clients let say 5 devices).

As per my understanding through azure IOT hub, only one resource can be accessed through one

device.

 

If I create all the End devices as resources in the azure IoT hub, Can I access all these resources using single MQTT local broker which is having the bridge capabilities?

is there anyway I can handle this kind of network?

 

 

Regards,

Suresh

1 Reply

  • Hello Suresh_TN 

    Check out this blog post regarding running a MQTT broker on azure IoT Edge.

    So message arrive at the edge broker and a separate module can listen to the topics.

    It depends on the logic you want to implement on how message arrive in the cloud.

    If you use the default routing capability of Azure IoT Edge, the message will arrive as sent by the edge device (module).

    If you implement identity translation, you can 'mimic' other devices registered in the IoT Hub and sent the incoming MQTT messages as if these are send by those devices. You only need some kind of mapping and the credentials needed to communicate.

    Check out identity translation docs.

    ---

    If this answer helps you, mark it as best response.