I'm using the paho.mqtt.c library to connect to an Azure IoT Hub. I want to test how my software handles disconnections from the IoT Hub.
How can I simulate the IoT Hub disconnecting the client?
There is no "Stop IoT Hub" button in the Azure Portal -> IoT Hub.
The following are some cases for disconnecting a mqtt device from Azure IoT Hub: