如果使用系统主题来管理客户端设备在线离线状态时,当connected时标记设备为在线,disconnected时,标记为离线。。当设备意外断电时,会调用disconnected吗
应该会,要你设置了keepalive,不要不发mqtt心跳,等keepalibe timeout,就会有事件