Bug #3977
【4.2.3.13】订阅设备上线消息后设备上线无上线消息上报
Start date:
02/12/2026
Due date:
% Done:
0%
测试版本:
SMP Fri Feb 6 10:17:44 CST 2026
复现概率:
100%
Description
【操作路径】:
平台下发如下消息订阅设备上线上报后使用一台手机做连接断开wifi操作 {"type":"cfg","sequence":0,"mac":"081074000001","set":{"mode":"set","eventsub":{"add":[{"event":"online"}],"del":[],"set":[]}}}
【实际结果】:设备上下线时平台未收到有上报消息
【预期结果】:订阅对应的消息后有正常上报消息
<- {"type":"cfg","sequence":0,"mac":"081074000001","set":{"eventsub":{"add":[{"event":"online"}],"del":[],"set":[]}}} (128)
2026-02-12 14:31:54.011 [INFO] handle_set_eventsub event: 0x0001
2026-02-12 14:31:54.012 [INFO] (elink) > {"type":"ack","sequence":0,"mac":"081074000001","errcode":0,"errmsg":""} (72)
2026-02-12 14:32:23.488 [DEBUG] dev_event_cb: method newdevice, json: {"mac":"52:15:f7:22:e4:ad","vmac":"","connecttype":1,"port":0,"hostname":""}
2026-02-12 14:32:41.715 [DEBUG] dev_event_cb: method devicestatus, json: {"mac":"52:15:f7:22:e4:ad","active":0}
2026-02-12 14:32:41.722 [INFO] (elink) -> {"type":"dev_report","sequence":2582,"mac":"081074000001","dev":[]} (67)
2026-02-12 14:32:41.724 [INFO] (elink) < {"type":"ack","sequence":2582,"mac":"11223344ABCD"} (64)
2026-02-12 14:32:45.733 [DEBUG] dev_event_cb: method newdevice, json: {"mac":"52:15:f7:22:e4:ad","vmac":"","connecttype":1,"port":0,"hostname":""}
2026-02-12 14:33:23.648 [INFO] (elink) <- {"type":"cfg","sequence":0,"mac":"081074000001","set":{"eventsub":{"add":[{"event":"online"}],"del":[],"set":[]}}} (128)
2026-02-12 14:33:23.648 [INFO] handle_set_eventsub event: 0x0001
2026-02-12 14:33:23.648 [INFO] (elink) > {"type":"ack","sequence":0,"mac":"081074000001","errcode":0,"errmsg":""} (72)
2026-02-12 14:46:11.333 [INFO] (elink) < {"type":"cfg","sequence":0,"mac":"081074000001","set":{"eventsub":{"add":[{"event":"online"}],"del":[],"set":[]}}} (128)
2026-02-12 14:46:11.333 [INFO] handle_set_eventsub event: 0x0001
2026-02-12 14:46:11.333 [INFO] (elink) -> {"type":"ack","sequence":0,"mac":"081074000001","errcode":0,"errmsg":""} (72)
History
#2 Updated by 邹 迎春 14 days ago
- Status changed from Resolved to Closed
2026-03-19 16:15:59.737 [INFO] (elink) <- {"type":"event","sequence":374,"mac":"D83DCC4CA867","data":[{"event":"online","band":"2.4G","mac":"2E49FFF969FD","ssid":"ChinaNet-A867","bssid":"","vmac":"","firstOnline":0}]} (176)
#2 SMP Wed Mar 18 18:49:44 CST 2026验证ok