How it works...
The MQTTBox tool provides a simulator which helps us connect to the IoT Hub and publish messages at the same time as subscribing for cloud-to-device messages.
The client settings require the connectivity configuration. Once all settings are in place, it will automatically connect with the host, which we provide in the settings.
In the topic to publish, we need to mention the path 'devices/{device name}/messages/events/{Topic Name}'. Apart from this, we can set the QoS and provide the actual data in the payload.
Using the device explorer, we read the data from IoT Hub. Instead of this, we can even write our own console application and make use of it.
Using the device explorer only, we can send the command to the MQTT client ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access