Testing if messages from my Device is reaching the Azure IoT Hub?

0 votes
I have two event generators connected to the Azure IoT Hub. Now, if I publish a message from my Raspberry Pi to either the Azure IoT Hub or my other connected device, how do I know if my message was received and what message exactly arrived?
Aug 10, 2018 in IoT (Internet of Things) by Bharani
• 4,560 points
729 views

1 answer to this question.

0 votes

Download the Device Explorer open source tool and configure your connection string with it to monitor their messages. Go to "Message to Device" to select your device in the Device ID Tab and click the "Monitor Feedback Endpoint" checkbox for checking if your device is reachable by the IoT Hub. You'll always be shown the status of messages whenever a message is published in the callback/feedback message. And, the messages get deleted only after the specified retention period for the Hub.

And, if you want to check via the outputs of code, check the DeviceExplorer source code https://github.com/Azure/azure-iot-sdks/tree/master/tools/DeviceExplorer/DeviceExplorer and, also the monitor code MainForm.cs, from line 726.

answered Aug 10, 2018 by DataKing99
• 8,130 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer
0 votes
1 answer

Azure IoT: Message from cloud to device using Rest API

Firstly, If you get No content response(error ...READ MORE

answered Dec 31, 2018 in IoT (Internet of Things) by Upasana
• 8,570 points
369 views
0 votes
1 answer
0 votes
1 answer

Sending Web requests from my Web server to my IoT device

You need to start an HTTP server ...READ MORE

answered Jan 8 in IoT (Internet of Things) by nirvana
• 3,060 points
104 views
0 votes
2 answers

Azure IoT Hub Operations Monitoring

Hi, Can you tell which device you ...READ MORE

answered Jan 4 in IoT (Internet of Things) by Varul
• 140 points
214 views
0 votes
1 answer

Error when connecting Azure IoT Suite with Raspberry Pi

down vote I've verified the tutorial works on ...READ MORE

answered Sep 18, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
113 views
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,060 points
114 views
0 votes
1 answer

How to use the data I receive from Azure IoT Hub?

The payload you receive will be a ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by DataKing99
• 8,130 points
654 views
0 votes
1 answer