断开连接(或关闭)设备连接如果持续时间没有收到消息
在我的应用程序中,我们有与Azure Iothub连接的设备。 IOTHUB中是否有办法执行设备断开连接,如果从设备收到15分钟的时间? Azure iothub中是否有任何此类功能?
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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不幸的是,Azure Iothub中没有此类功能。
您可以通过编程方式管理它。当设备侧没有操作时,您可以将设备保持在睡眠模式。
您可以发布功能请求
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.
如果您使用的是Python,则可以使用get_invoke_cli软件包来调用CLI
以禁用您的IotDevice以连接到Iothub
if you're using python, you can use get_invoke_cli package to call cli
to disable your iotdevice to connect to iothub