AMQP Communication Multiplexing

0 votes

In some of the Microsoft documentation for working with Azure IoT hubs, it mentions that it is possible to multiplex the communication of multiple devices under a single TLS connection (using the AMQP protocol) for scenarios where multiple simple devices talk to a local hub device that is powerful enough to communicate with the IoT Hub. Are there any examples of how one would implement this multiplexing? The DeviceClient library does not appear to support this (although I could be wrong). There have also been mentions of the IoT Gateway SDK for this scenario, but I haven't found a clear example of how to set multiplexing up using that either. Any advice or references to other material would be appreciated.

Nov 14, 2018 in IoT (Internet of Things) by Shubham
• 13,490 points
1,105 views

1 answer to this question.

0 votes

I've recently built such an architecture, maybe it will help you as a reference. Our players - Field Gateway - A local hub that is strong enough to handle communication to the Iot Hub and receive data from edge sensors. Edge Sensors - devices that are unable to connect directly to the Iot Hub but implement some communication protocol that enable them to connect to the field gateway(Zwave, Zigbee...). Iot Hub - Handles the D2C and C2D between the Field Gateway and the Hub. Back end server - Receives the data from the Iot Hub.

The Edge Sensor sends their telemetry to the Field Gateway. The Field Gateway maintains a connection to the Iot Hub and the only device that the Iot Hub knows is the Field Gateway. Each telemetry that is being received in the Field Gateway from the Edge Sensors contains a unique id in the message payload. When the message is being received in the Iot Hub, The Iot Hub knows only about the Field Gateway. But When the message is being process by the Back End it takes the unique id from the payload and therefore knows which is the correct device that sent the telemetry. So we have multiple devices that all "riding" on one connection.

Hope it helps.

answered Nov 14, 2018 by Upasana
• 8,620 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Faster communication between two ESP8266 in client-server setup

Try following. Server loop void loop() { // ...READ MORE

answered Jul 13, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
6,831 views
0 votes
1 answer

OMA LWM2M communication with Arduino

You'll have to understand that an Arduino ...READ MORE

answered Aug 28, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,836 views
0 votes
1 answer

Internet Communication with End-to-End Feature

Even if it's not a programming question ...READ MORE

answered Sep 4, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
656 views
0 votes
1 answer

Using Post and Get for Embedded System Communication

Twitter would be a great place to ...READ MORE

answered Sep 4, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
726 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,310 views
0 votes
1 answer

serial communication

You can try downloading the npm and node.js through ...READ MORE

answered Nov 22, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
731 views
0 votes
1 answer

How safe is it to expose rabbitmq amqp port over the internet?

Talking about whether it is a good ...READ MORE

answered Nov 29, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
3,020 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP