IotMqttSampleAzureIotHubDeviceTwin
Sample for MQTT communication with the Device Twin of the Azure IoT Hub
This sample illustrates the communication with the Device Twin. The Device Twin is accessible via the Azure IoT Hub, which is part of the Microsoft Azure Cloud. The message broker can be reached via MQTT and requires authentication via an SAS token, which can be generated via the Azure IoT Hub platform, e.g. using the Azure IoT Explorer.
The following sample connects to the Azure IoT Hub, just like the sample IotMqttSampleAzureIotHub. All relevant information for establishing the connection and further configuration options can be found in this article.
The official MQTT documentation from Microsoft can be downloaded from here:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support