Project

General

Profile

Bug #3961

【4.2.3.1】wifitimer添加多个时未添加成功

Added by 邹 迎春 about 2 months ago. Updated 13 days ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
02/11/2026
Due date:
% Done:

0%

测试版本:
SMP Fri Feb 6 10:17:44 CST 2026
复现概率:
100%

Description

【测试步骤】
1、先后下发以下两条命令添加wifitimer {"type":"cfg","sequence":0,"mac":"081074000001","set":{"mode":"sync","wifitimer":[{"weekday":"1","time":"18:00","enable":"0"},{"weekday":"5","time":"18:00","enable":"1"}]}} {"type":"cfg","sequence":0,"mac":"081074000001","set":{"mode":"sync","wifitimer":[{"weekday":"6","time":"14:35","enable":"0"},{"weekday":"6","time":"14:45","enable":"1"}]}}
2、执行以下命令查询timer list
ubus call ctcapd.wifi.timer list
【实际结果】
1、只查询到第一次下发的配置

{
"ctcapd.wifi.timer": [ {
"idx": 1,
"weekday": "1",
"time": "18:00",
"enable": "no",
"SSIDMask": 3855
}, {
"idx": 2,
"weekday": "5",
"time": "18:00",
"enable": "yes",
"SSIDMask": 3855
}
]
}

【预期结果】
多次配置能正常配置

2026-02-11 14:33:21.168: [elinkclt] ubus_invoke_debug: o: ctcapd.wifi.timer.1, m: set
2026-02-11 14:33:21.168: [elinkclt] {"weekday":"3","time":"14:35","enable":"no"}
2026-02-11 14:33:21.168: [elinkclt] {"result":"1","fail_reason":"Parameter SSIDMask is NULL. Please try again.\n"}
2026-02-11 14:33:21.168: [elinkclt] ubus_invoke_debug: o: ctcapd.wifi.timer.2, m: set
2026-02-11 14:33:21.169: [elinkclt] {"weekday":"3","time":"14:45","enable":"yes"}
2026-02-11 14:33:21.169: [elinkclt] {"result":"1","fail_reason":"Parameter SSIDMask is NULL. Please try again.\n"}
2026-02-11 14:35:09.705: [elinkclt] ubus_invoke_debug: o: ctcapd.wifi.timer, m: list
2026-02-11 14:35:09.706: [elinkclt] {"ctcapd.wifi.timer":[{"idx":1,"weekday":"1","time":"18:00","enable":"no","SSIDMask":3855},{"idx":2,"weekday":"5","time":"18:00","enable":"yes","SSIDMask":3855}]}
2026-02-11 14:35:09.706: [elinkclt] ubus_invoke_debug: o: ctcapd.wifi.timer.1, m: set
2026-02-11 14:35:09.706: [elinkclt] {"weekday":"6","time":"14:35","enable":"no"}
2026-02-11 14:35:09.707: [elinkclt] {"result":"1","fail_reason":"Parameter SSIDMask is NULL. Please try again.\n"}
2026-02-11 14:35:09.707: [elinkclt] ubus_invoke_debug: o: ctcapd.wifi.timer.2, m: set
2026-02-11 14:35:09.707: [elinkclt] {"weekday":"6","time":"14:45","enable":"yes"}
2026-02-11 14:35:09.707: [elinkclt] {"result":"1","fail_reason":"Parameter SSIDMask is NULL. Please try again.\n"}

History

#1 Updated by 洋 刘 16 days ago

  • Status changed from New to Resolved
  • Assignee changed from 洋 刘 to 邹 迎春

新版本已解决

#2 Updated by 邹 迎春 13 days ago

  • Status changed from Resolved to New

#2 SMP Wed Mar 18 18:49:44 CST 2026验证问题仍存在

Also available in: Atom PDF