Skip to content

Commit 7c581bc

Browse files
Energy app: Enable ConnectMaxTimeSeconds and ScanMaxTimeSeconds attributes for wifi commissioning. (#37881)
1 parent 7dfd606 commit 7c581bc

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

examples/energy-management-app/energy-management-common/energy-management-app.matter

+2
Original file line numberDiff line numberDiff line change
@@ -2696,6 +2696,8 @@ endpoint 0 {
26962696
server cluster NetworkCommissioning {
26972697
ram attribute maxNetworks;
26982698
callback attribute networks;
2699+
ram attribute scanMaxTimeSeconds;
2700+
ram attribute connectMaxTimeSeconds;
26992701
ram attribute interfaceEnabled;
27002702
ram attribute lastNetworkingStatus;
27012703
ram attribute lastNetworkID;

examples/energy-management-app/energy-management-common/energy-management-app.zap

+33-1
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,38 @@
15411541
"maxInterval": 65534,
15421542
"reportableChange": 0
15431543
},
1544+
{
1545+
"name": "ScanMaxTimeSeconds",
1546+
"code": 2,
1547+
"mfgCode": null,
1548+
"side": "server",
1549+
"type": "int8u",
1550+
"included": 1,
1551+
"storageOption": "RAM",
1552+
"singleton": 0,
1553+
"bounded": 0,
1554+
"defaultValue": "",
1555+
"reportable": 1,
1556+
"minInterval": 1,
1557+
"maxInterval": 65534,
1558+
"reportableChange": 0
1559+
},
1560+
{
1561+
"name": "ConnectMaxTimeSeconds",
1562+
"code": 3,
1563+
"mfgCode": null,
1564+
"side": "server",
1565+
"type": "int8u",
1566+
"included": 1,
1567+
"storageOption": "RAM",
1568+
"singleton": 0,
1569+
"bounded": 0,
1570+
"defaultValue": "",
1571+
"reportable": 1,
1572+
"minInterval": 1,
1573+
"maxInterval": 65534,
1574+
"reportableChange": 0
1575+
},
15441576
{
15451577
"name": "InterfaceEnabled",
15461578
"code": 4,
@@ -1615,7 +1647,7 @@
16151647
"storageOption": "External",
16161648
"singleton": 0,
16171649
"bounded": 0,
1618-
"defaultValue": "",
1650+
"defaultValue": null,
16191651
"reportable": 1,
16201652
"minInterval": 1,
16211653
"maxInterval": 65534,

0 commit comments

Comments
 (0)