Search code examples
azure-iot-hub

Disconnect (or Close) device connection if no message receive for a duration


In my application, we have devices which connects with Azure IoTHub. Is there a way in IoTHub which enforce device disconnection if no message received from a device for a duration of 15 minutes ? Is there any such functionality present in Azure IotHub out of the box ?


Solution

  • Unfortunately there is no such feature available in Azure IoTHub.

    You can manage it programmatically. You can keep the device in sleep mode when there is no action on device side.

    You can post a feature request here.