diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
index 30046fceb70363..bbe345cecb2bff 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
@@ -102,9 +102,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster ApplicationBasic = 1293 {
@@ -1250,14 +1250,14 @@ server cluster DoorLock = 257 {
nullable INT16U nextCredentialIndex = 2;
}
- command ClearCredential(ClearCredentialRequest): DefaultSuccess = 38;
- command ClearUser(ClearUserRequest): DefaultSuccess = 29;
+ timed command ClearCredential(ClearCredentialRequest): DefaultSuccess = 38;
+ timed command ClearUser(ClearUserRequest): DefaultSuccess = 29;
command GetCredentialStatus(GetCredentialStatusRequest): GetCredentialStatusResponse = 36;
command GetUser(GetUserRequest): GetUserResponse = 27;
- command LockDoor(LockDoorRequest): DefaultSuccess = 0;
- command SetCredential(SetCredentialRequest): SetCredentialResponse = 34;
- command SetUser(SetUserRequest): DefaultSuccess = 26;
- command UnlockDoor(UnlockDoorRequest): DefaultSuccess = 1;
+ timed command LockDoor(LockDoorRequest): DefaultSuccess = 0;
+ timed command SetCredential(SetCredentialRequest): SetCredentialResponse = 34;
+ timed command SetUser(SetUserRequest): DefaultSuccess = 26;
+ timed command UnlockDoor(UnlockDoorRequest): DefaultSuccess = 1;
}
server cluster ElectricalMeasurement = 2820 {
diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter
index 57814e6e50cf7d..e03efe9003a07d 100644
--- a/examples/bridge-app/bridge-common/bridge-app.matter
+++ b/examples/bridge-app/bridge-common/bridge-app.matter
@@ -37,9 +37,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
diff --git a/examples/door-lock-app/door-lock-common/door-lock-app.matter b/examples/door-lock-app/door-lock-common/door-lock-app.matter
index cede0726f4569d..4eaf55c0247de6 100644
--- a/examples/door-lock-app/door-lock-common/door-lock-app.matter
+++ b/examples/door-lock-app/door-lock-common/door-lock-app.matter
@@ -37,9 +37,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
@@ -645,20 +645,20 @@ server cluster DoorLock = 257 {
nullable INT16U nextCredentialIndex = 2;
}
- command ClearCredential(ClearCredentialRequest): DefaultSuccess = 38;
- command ClearUser(ClearUserRequest): DefaultSuccess = 29;
+ timed command ClearCredential(ClearCredentialRequest): DefaultSuccess = 38;
+ timed command ClearUser(ClearUserRequest): DefaultSuccess = 29;
command ClearWeekDaySchedule(ClearWeekDayScheduleRequest): DefaultSuccess = 13;
command ClearYearDaySchedule(ClearYearDayScheduleRequest): DefaultSuccess = 16;
command GetCredentialStatus(GetCredentialStatusRequest): GetCredentialStatusResponse = 36;
command GetUser(GetUserRequest): GetUserResponse = 27;
command GetWeekDaySchedule(GetWeekDayScheduleRequest): GetWeekDayScheduleResponse = 12;
command GetYearDaySchedule(GetYearDayScheduleRequest): GetYearDayScheduleResponse = 15;
- command LockDoor(LockDoorRequest): DefaultSuccess = 0;
- command SetCredential(SetCredentialRequest): SetCredentialResponse = 34;
- command SetUser(SetUserRequest): DefaultSuccess = 26;
+ timed command LockDoor(LockDoorRequest): DefaultSuccess = 0;
+ timed command SetCredential(SetCredentialRequest): SetCredentialResponse = 34;
+ timed command SetUser(SetUserRequest): DefaultSuccess = 26;
command SetWeekDaySchedule(SetWeekDayScheduleRequest): DefaultSuccess = 11;
command SetYearDaySchedule(SetYearDayScheduleRequest): DefaultSuccess = 14;
- command UnlockDoor(UnlockDoorRequest): DefaultSuccess = 1;
+ timed command UnlockDoor(UnlockDoorRequest): DefaultSuccess = 1;
}
server cluster EthernetNetworkDiagnostics = 55 {
diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter
index 96a2be0f31d4ac..b89d520d083b68 100644
--- a/examples/light-switch-app/light-switch-common/light-switch-app.matter
+++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter
@@ -76,9 +76,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter
index 93b46c3e5a6b3c..15051e1163882e 100644
--- a/examples/lighting-app/lighting-common/lighting-app.matter
+++ b/examples/lighting-app/lighting-common/lighting-app.matter
@@ -37,9 +37,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter
index d3325c2eff5497..27600f686ca244 100644
--- a/examples/lock-app/lock-common/lock-app.matter
+++ b/examples/lock-app/lock-common/lock-app.matter
@@ -37,9 +37,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter
index 4ba4649598fe67..1d3188139d7b59 100644
--- a/examples/pump-app/pump-common/pump-app.matter
+++ b/examples/pump-app/pump-common/pump-app.matter
@@ -37,9 +37,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
index 1e2033caa5d3b3..bd83e1bb32bcaf 100644
--- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
+++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
@@ -37,9 +37,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
diff --git a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter
index 7f46586319f83a..aa1077643d2726 100644
--- a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter
+++ b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter
@@ -37,9 +37,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter
index a643b7476c73d4..88743743e2318f 100644
--- a/examples/thermostat/thermostat-common/thermostat.matter
+++ b/examples/thermostat/thermostat-common/thermostat.matter
@@ -37,9 +37,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter
index 5ddbf538df6340..6c3c385b240d6f 100644
--- a/examples/tv-app/tv-common/tv-app.matter
+++ b/examples/tv-app/tv-common/tv-app.matter
@@ -23,7 +23,7 @@ server cluster AccountLogin = 1294 {
}
timed command GetSetupPINRequest(GetSetupPINRequestRequest): GetSetupPINResponse = 0;
- command LoginRequest(LoginRequestRequest): DefaultSuccess = 2;
+ timed command LoginRequest(LoginRequestRequest): DefaultSuccess = 2;
timed command LogoutRequest(): DefaultSuccess = 3;
}
@@ -58,9 +58,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster ApplicationBasic = 1293 {
diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
index c8d902fd513ff7..c5f0a52ad610ec 100644
--- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
+++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
@@ -19,7 +19,7 @@ client cluster AccountLogin = 1294 {
}
timed command GetSetupPINRequest(GetSetupPINRequestRequest): GetSetupPINResponse = 0;
- command LoginRequest(LoginRequestRequest): DefaultSuccess = 2;
+ timed command LoginRequest(LoginRequestRequest): DefaultSuccess = 2;
timed command LogoutRequest(): DefaultSuccess = 3;
}
@@ -54,9 +54,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
client cluster ApplicationBasic = 1293 {
@@ -1149,14 +1149,14 @@ server cluster DoorLock = 257 {
nullable INT16U nextCredentialIndex = 2;
}
- command ClearCredential(ClearCredentialRequest): DefaultSuccess = 38;
- command ClearUser(ClearUserRequest): DefaultSuccess = 29;
+ timed command ClearCredential(ClearCredentialRequest): DefaultSuccess = 38;
+ timed command ClearUser(ClearUserRequest): DefaultSuccess = 29;
command GetCredentialStatus(GetCredentialStatusRequest): GetCredentialStatusResponse = 36;
command GetUser(GetUserRequest): GetUserResponse = 27;
- command LockDoor(LockDoorRequest): DefaultSuccess = 0;
- command SetCredential(SetCredentialRequest): SetCredentialResponse = 34;
- command SetUser(SetUserRequest): DefaultSuccess = 26;
- command UnlockDoor(UnlockDoorRequest): DefaultSuccess = 1;
+ timed command LockDoor(LockDoorRequest): DefaultSuccess = 0;
+ timed command SetCredential(SetCredentialRequest): SetCredentialResponse = 34;
+ timed command SetUser(SetUserRequest): DefaultSuccess = 26;
+ timed command UnlockDoor(UnlockDoorRequest): DefaultSuccess = 1;
}
server cluster EthernetNetworkDiagnostics = 55 {
diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter
index 9472c17a797aee..04ac38ab832101 100644
--- a/examples/window-app/common/window-app.matter
+++ b/examples/window-app/common/window-app.matter
@@ -37,9 +37,9 @@ server cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
server cluster Basic = 40 {
diff --git a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt
index 494e9f6a5f6cee..eae531e6ed0e95 100644
--- a/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt
+++ b/src/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt
@@ -99,6 +99,7 @@ class MultiAdminClientFragment : Fragment() {
}
private suspend fun sendRevokeCommandClick() {
+ val timedInvokeTimeout = 10000
getAdministratorCommissioningClusterForDevice().revokeCommissioning(object : ChipClusters.DefaultClusterCallback {
override fun onSuccess() {
showMessage("Revoke Commissioning success")
@@ -108,7 +109,7 @@ class MultiAdminClientFragment : Fragment() {
showMessage("Revoke Commissioning failure $ex")
Log.e(TAG, "Revoke Commissioning failure", ex)
}
- })
+ }, timedInvokeTimeout)
}
private suspend fun getAdministratorCommissioningClusterForDevice(): ChipClusters.AdministratorCommissioningCluster {
diff --git a/src/app/tests/suites/DL_LockUnlock.yaml b/src/app/tests/suites/DL_LockUnlock.yaml
index bf983fdce1e401..cc86a7de2ccf53 100644
--- a/src/app/tests/suites/DL_LockUnlock.yaml
+++ b/src/app/tests/suites/DL_LockUnlock.yaml
@@ -25,6 +25,7 @@ tests:
- label: "Create new PIN credential and lock/unlock user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -50,6 +51,7 @@ tests:
- label: "Try to unlock the door with invalid PIN"
command: "UnlockDoor"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
@@ -65,6 +67,7 @@ tests:
- label: "Try to unlock the door with valid PIN"
command: "UnlockDoor"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
@@ -78,6 +81,7 @@ tests:
- label: "Try to lock the door with invalid PIN"
command: "LockDoor"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
@@ -93,6 +97,7 @@ tests:
- label: "Try to unlock the door with valid PIN"
command: "LockDoor"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "pinCode"
@@ -107,6 +112,7 @@ tests:
# Clean-up
- label: "Clean the created credential"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
diff --git a/src/app/tests/suites/DL_Schedules.yaml b/src/app/tests/suites/DL_Schedules.yaml
index 9c5030f1eb50dd..70f893e02aa274 100644
--- a/src/app/tests/suites/DL_Schedules.yaml
+++ b/src/app/tests/suites/DL_Schedules.yaml
@@ -25,6 +25,7 @@ tests:
- label: "Create new PIN credential and schedule user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1219,6 +1220,7 @@ tests:
- label:
"Create new user without credential so we can add more schedules to it"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1398,6 +1400,7 @@ tests:
- label: "Cleanup"
command: "ClearUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "userIndex"
diff --git a/src/app/tests/suites/DL_UsersAndCredentials.yaml b/src/app/tests/suites/DL_UsersAndCredentials.yaml
index 081e404d5ebf07..ed3a5dda5a586e 100644
--- a/src/app/tests/suites/DL_UsersAndCredentials.yaml
+++ b/src/app/tests/suites/DL_UsersAndCredentials.yaml
@@ -81,6 +81,7 @@ tests:
- label: "Create new user with default parameters"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -129,6 +130,7 @@ tests:
- label: "Set user at the occupied index fails with appropriate response"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -151,6 +153,7 @@ tests:
- label: "Modify userName for existing user"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -199,6 +202,7 @@ tests:
- label: "Modify userUniqueId for existing user"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -247,6 +251,7 @@ tests:
- label: "Modify userStatus for existing user"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -295,6 +300,7 @@ tests:
- label: "Modify userType for existing user"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -343,6 +349,7 @@ tests:
- label: "Modify credentialRule for existing user"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -391,6 +398,7 @@ tests:
- label: "Modify all fields for existing user"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -439,6 +447,7 @@ tests:
- label: "Add another user with non-default fields"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -487,6 +496,7 @@ tests:
- label: "Create user in the last slot"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -535,6 +545,7 @@ tests:
- label: "User creation in the 0 slot fails"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -556,6 +567,7 @@ tests:
- label: "User creation in the out-of-bounds slot fails"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -578,6 +590,7 @@ tests:
- label: "Clear first user"
command: "ClearUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "userIndex"
@@ -614,6 +627,7 @@ tests:
- label: "Create new user in the cleared slot"
command: "SetUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -663,6 +677,7 @@ tests:
- label: "Clear user with index 0 fails"
command: "ClearUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "userIndex"
@@ -672,6 +687,7 @@ tests:
- label: "Clear user with out-of-bounds index fails"
command: "ClearUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "userIndex"
@@ -682,6 +698,7 @@ tests:
- label: "Clear all users"
command: "ClearUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "userIndex"
@@ -796,6 +813,7 @@ tests:
- label: "Create new PIN credential and user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -865,6 +883,7 @@ tests:
- label: "Create new PIN credential and user with index 0 fails"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -890,6 +909,7 @@ tests:
- label: "Create new PIN credential and user with out-of-bounds index fails"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -966,6 +986,7 @@ tests:
- label: "Create new RFID credential and add it to existing user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1039,6 +1060,7 @@ tests:
- label: "Create new RFID credential and user with index 0 fails"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1065,6 +1087,7 @@ tests:
- label:
"Create new RFID credential and user with out-of-bounds index fails"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1096,6 +1119,7 @@ tests:
- label: "Create new PIN credential and try to add it to existing user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1121,6 +1145,7 @@ tests:
- label: "Create new credential and try to add it to 0 user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1146,6 +1171,7 @@ tests:
- label: "Create new credential and try to add it to out-of-bounds user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1172,6 +1198,7 @@ tests:
- label: "Create new PIN with too short data"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1197,6 +1224,7 @@ tests:
- label: "Create new PIN with too long data"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1222,6 +1250,7 @@ tests:
- label: "Create new RFID with too short data"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1247,6 +1276,7 @@ tests:
- label: "Create new PIN with Programming user type fails"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1272,6 +1302,7 @@ tests:
- label: "Create new RFID with too short data"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1297,6 +1328,7 @@ tests:
- label: "Create new PIN credential with data the would cause duplicate"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1322,6 +1354,7 @@ tests:
- label: "Create new RFID credential with data the would cause duplicate"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1347,6 +1380,7 @@ tests:
- label: "Modify credentialData of existing PIN credential"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1374,6 +1408,7 @@ tests:
"Verify that credential was changed by creating new credential with
old data"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1401,6 +1436,7 @@ tests:
"Verify that credential was changed by creating new credential with
new data"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1430,6 +1466,7 @@ tests:
- label: "Clear first PIN credential"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -1481,6 +1518,7 @@ tests:
- label: "Clear the second PIN credential"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -1532,6 +1570,7 @@ tests:
- label: "Create new RFID credential with user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1557,6 +1596,7 @@ tests:
- label: "Clear all the RFID credentials"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -1656,6 +1696,7 @@ tests:
- label: "Create new PIN credential with user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1681,6 +1722,7 @@ tests:
- label: "Create new RFID credential with user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1706,6 +1748,7 @@ tests:
- label: "Create another RFID credential with user"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1733,6 +1776,7 @@ tests:
# command has nullable as a parameter.
- label: "Clear all the credentials"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -1877,6 +1921,7 @@ tests:
- label: "Create new Programming PIN credential with invalid index"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1902,6 +1947,7 @@ tests:
- label: "Create new Programming PIN credential with valid index"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1971,6 +2017,7 @@ tests:
- label: "Modify the Programming PIN credential"
command: "SetCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "operationType"
@@ -1996,6 +2043,7 @@ tests:
- label: "Clearing Programming PIN fails"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -2005,6 +2053,7 @@ tests:
- label: "Clearing Programming PIN with invalid index fails"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -2014,6 +2063,7 @@ tests:
- label: "Clearing PIN credential with zero index fails"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -2023,6 +2073,7 @@ tests:
- label: "Clearing PIN credential with out-of-bound index fails"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -2037,6 +2088,7 @@ tests:
- label: "Clearing RFID credential with zero index fails"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -2046,6 +2098,7 @@ tests:
- label: "Clearing RFID credential with out-of-bound index fails"
command: "ClearCredential"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "credential"
@@ -2062,6 +2115,7 @@ tests:
# Cleanup so the test could be run again. Also checks that clearUser removes associated credentials
- label: "Clear the Programming PIN user"
command: "ClearUser"
+ timedInteractionTimeoutMs: 10000
arguments:
values:
- name: "userIndex"
diff --git a/src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml
index 04a414aa340b42..a608c1e62652de 100644
--- a/src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml
@@ -30,7 +30,7 @@ limitations under the License.
-
+
Upon receipt, the Content App checks if the account associated with the client’s Temp Account Identifier (Rotating ID) has a current active Setup PIN with the given value. If the Setup PIN is valid for the user account associated with the Temp Account Identifier, then the Content App MAY make that user account active.
@@ -40,7 +40,7 @@ limitations under the License.
The purpose of this command is to instruct the Content App to clear the current user account. This command SHOULD be used by clients of a Content App to indicate the end of a user session.
-
+
This message is sent in response to the GetSetupPIN Request, and contains the Setup PIN code, or null when the accounts identified in the request does not match the active account of the running Content App.
diff --git a/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml
index fb893fdaca939e..2343df7f1b98ab 100644
--- a/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml
@@ -42,7 +42,7 @@ limitations under the License.
AdminFabricIndex
AdminVendorId
-
+
This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method.
@@ -52,12 +52,12 @@ limitations under the License.
-
+
This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it.
-
+
This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command.
diff --git a/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml
index ccc3168e955eca..0af50b69c7be7f 100644
--- a/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml
@@ -249,18 +249,18 @@ limitations under the License.
-
+
This command causes the lock device to lock the door.
-
+
This command causes the lock device to unlock the door.
-
+
This command causes the lock device to unlock the door with a timeout parameter.
@@ -285,7 +285,7 @@ limitations under the License.
-
+
Set a PIN Code into the lock.
@@ -309,13 +309,13 @@ limitations under the License.
-
+
Clear a PIN code or all PIN codes.
-
+
Clear out all PINs on the lock.
@@ -463,7 +463,7 @@ limitations under the License.
-
+
Set an ID for RFID access into the lock.
@@ -487,18 +487,18 @@ limitations under the License.
-
+
Clear an RFID code or all RFID codes.
-
+
Clear out all RFIDs on the lock.
-
+
Set User into the lock.
@@ -531,7 +531,7 @@ limitations under the License.
-
+
Clears a User or all Users.
@@ -559,7 +559,7 @@ limitations under the License.
-
+
Set a credential (e.g. PIN, RFID, Fingerprint, etc.) into the lock for a new user, existing user, or ProgrammingUser.
@@ -592,7 +592,7 @@ limitations under the License.
-
+
Clear one, one type, or all credentials except ProgrammingPIN credential.
@@ -963,4 +963,4 @@ limitations under the License.
-
\ No newline at end of file
+
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index 1dc535ae2fd099..81fea90195f668 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -86,7 +86,7 @@ client cluster AccountLogin = 1294 {
}
timed command GetSetupPINRequest(GetSetupPINRequestRequest): GetSetupPINResponse = 0;
- command LoginRequest(LoginRequestRequest): DefaultSuccess = 2;
+ timed command LoginRequest(LoginRequestRequest): DefaultSuccess = 2;
timed command LogoutRequest(): DefaultSuccess = 3;
}
@@ -122,9 +122,9 @@ client cluster AdministratorCommissioning = 60 {
INT16U passcodeID = 5;
}
- command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
- command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
- command RevokeCommissioning(): DefaultSuccess = 2;
+ timed command OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
+ timed command OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
+ timed command RevokeCommissioning(): DefaultSuccess = 2;
}
client cluster ApplicationBasic = 1293 {
@@ -1504,21 +1504,21 @@ client cluster DoorLock = 257 {
nullable INT16U nextCredentialIndex = 2;
}
- command ClearCredential(ClearCredentialRequest): DefaultSuccess = 38;
- command ClearUser(ClearUserRequest): DefaultSuccess = 29;
+ timed command ClearCredential(ClearCredentialRequest): DefaultSuccess = 38;
+ timed command ClearUser(ClearUserRequest): DefaultSuccess = 29;
command ClearWeekDaySchedule(ClearWeekDayScheduleRequest): DefaultSuccess = 13;
command ClearYearDaySchedule(ClearYearDayScheduleRequest): DefaultSuccess = 16;
command GetCredentialStatus(GetCredentialStatusRequest): GetCredentialStatusResponse = 36;
command GetUser(GetUserRequest): GetUserResponse = 27;
command GetWeekDaySchedule(GetWeekDayScheduleRequest): GetWeekDayScheduleResponse = 12;
command GetYearDaySchedule(GetYearDayScheduleRequest): GetYearDayScheduleResponse = 15;
- command LockDoor(LockDoorRequest): DefaultSuccess = 0;
- command SetCredential(SetCredentialRequest): SetCredentialResponse = 34;
- command SetUser(SetUserRequest): DefaultSuccess = 26;
+ timed command LockDoor(LockDoorRequest): DefaultSuccess = 0;
+ timed command SetCredential(SetCredentialRequest): SetCredentialResponse = 34;
+ timed command SetUser(SetUserRequest): DefaultSuccess = 26;
command SetWeekDaySchedule(SetWeekDayScheduleRequest): DefaultSuccess = 11;
command SetYearDaySchedule(SetYearDayScheduleRequest): DefaultSuccess = 14;
- command UnlockDoor(UnlockDoorRequest): DefaultSuccess = 1;
- command UnlockWithTimeout(UnlockWithTimeoutRequest): DefaultSuccess = 3;
+ timed command UnlockDoor(UnlockDoorRequest): DefaultSuccess = 1;
+ timed command UnlockWithTimeout(UnlockWithTimeoutRequest): DefaultSuccess = 3;
}
client cluster ElectricalMeasurement = 2820 {
diff --git a/src/controller/java/zap-generated/CHIPClusters-JNI.cpp b/src/controller/java/zap-generated/CHIPClusters-JNI.cpp
index 94f0805cdc3a57..75872d717031cc 100644
--- a/src/controller/java/zap-generated/CHIPClusters-JNI.cpp
+++ b/src/controller/java/zap-generated/CHIPClusters-JNI.cpp
@@ -304,15 +304,8 @@ JNI_METHOD(void, AccountLoginCluster, loginRequest)
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -479,15 +472,8 @@ JNI_METHOD(void, AdministratorCommissioningCluster, openBasicCommissioningWindow
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -540,15 +526,8 @@ JNI_METHOD(void, AdministratorCommissioningCluster, openCommissioningWindow)
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -588,15 +567,8 @@ JNI_METHOD(void, AdministratorCommissioningCluster, revokeCommissioning)
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -8718,15 +8690,8 @@ JNI_METHOD(void, DoorLockCluster, clearCredential)
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -8768,15 +8733,8 @@ JNI_METHOD(void, DoorLockCluster, clearUser)
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -9154,15 +9112,8 @@ JNI_METHOD(void, DoorLockCluster, lockDoor)
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -9249,15 +9200,8 @@ JNI_METHOD(void, DoorLockCluster, setCredential)
chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -9352,15 +9296,8 @@ JNI_METHOD(void, DoorLockCluster, setUser)
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -9528,15 +9465,8 @@ JNI_METHOD(void, DoorLockCluster, unlockDoor)
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
@@ -9586,15 +9516,8 @@ JNI_METHOD(void, DoorLockCluster, unlockWithTimeout)
auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
- if (timedInvokeTimeoutMs == nullptr)
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
- }
+ err = cppCluster->InvokeCommand(request, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedInvokeTimeoutMs));
VerifyOrReturn(err == CHIP_NO_ERROR,
AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error invoking command",
CHIP_ERROR_INCORRECT_STATE));
diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java
index 4b35c5b906cc12..5d633d4dab05af 100644
--- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java
+++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java
@@ -264,11 +264,6 @@ public void getSetupPINRequest(
getSetupPINRequest(chipClusterPtr, callback, tempAccountIdentifier, timedInvokeTimeoutMs);
}
- public void loginRequest(
- DefaultClusterCallback callback, String tempAccountIdentifier, String setupPIN) {
- loginRequest(chipClusterPtr, callback, tempAccountIdentifier, setupPIN, null);
- }
-
public void loginRequest(
DefaultClusterCallback callback,
String tempAccountIdentifier,
@@ -358,37 +353,12 @@ public AdministratorCommissioningCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public void openBasicCommissioningWindow(
- DefaultClusterCallback callback, Integer commissioningTimeout) {
- openBasicCommissioningWindow(chipClusterPtr, callback, commissioningTimeout, null);
- }
-
public void openBasicCommissioningWindow(
DefaultClusterCallback callback, Integer commissioningTimeout, int timedInvokeTimeoutMs) {
openBasicCommissioningWindow(
chipClusterPtr, callback, commissioningTimeout, timedInvokeTimeoutMs);
}
- public void openCommissioningWindow(
- DefaultClusterCallback callback,
- Integer commissioningTimeout,
- byte[] PAKEVerifier,
- Integer discriminator,
- Long iterations,
- byte[] salt,
- Integer passcodeID) {
- openCommissioningWindow(
- chipClusterPtr,
- callback,
- commissioningTimeout,
- PAKEVerifier,
- discriminator,
- iterations,
- salt,
- passcodeID,
- null);
- }
-
public void openCommissioningWindow(
DefaultClusterCallback callback,
Integer commissioningTimeout,
@@ -410,10 +380,6 @@ public void openCommissioningWindow(
timedInvokeTimeoutMs);
}
- public void revokeCommissioning(DefaultClusterCallback callback) {
- revokeCommissioning(chipClusterPtr, callback, null);
- }
-
public void revokeCommissioning(DefaultClusterCallback callback, int timedInvokeTimeoutMs) {
revokeCommissioning(chipClusterPtr, callback, timedInvokeTimeoutMs);
@@ -4698,12 +4664,6 @@ public DoorLockCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public void clearCredential(
- DefaultClusterCallback callback,
- @Nullable ChipStructs.DoorLockClusterDlCredential credential) {
- clearCredential(chipClusterPtr, callback, credential, null);
- }
-
public void clearCredential(
DefaultClusterCallback callback,
@Nullable ChipStructs.DoorLockClusterDlCredential credential,
@@ -4711,10 +4671,6 @@ public void clearCredential(
clearCredential(chipClusterPtr, callback, credential, timedInvokeTimeoutMs);
}
- public void clearUser(DefaultClusterCallback callback, Integer userIndex) {
- clearUser(chipClusterPtr, callback, userIndex, null);
- }
-
public void clearUser(
DefaultClusterCallback callback, Integer userIndex, int timedInvokeTimeoutMs) {
clearUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs);
@@ -4794,35 +4750,11 @@ public void getYearDaySchedule(
getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs);
}
- public void lockDoor(DefaultClusterCallback callback, Optional pinCode) {
- lockDoor(chipClusterPtr, callback, pinCode, null);
- }
-
public void lockDoor(
DefaultClusterCallback callback, Optional pinCode, int timedInvokeTimeoutMs) {
lockDoor(chipClusterPtr, callback, pinCode, timedInvokeTimeoutMs);
}
- public void setCredential(
- SetCredentialResponseCallback callback,
- Integer operationType,
- ChipStructs.DoorLockClusterDlCredential credential,
- byte[] credentialData,
- @Nullable Integer userIndex,
- @Nullable Integer userStatus,
- @Nullable Integer userType) {
- setCredential(
- chipClusterPtr,
- callback,
- operationType,
- credential,
- credentialData,
- userIndex,
- userStatus,
- userType,
- null);
- }
-
public void setCredential(
SetCredentialResponseCallback callback,
Integer operationType,
@@ -4844,28 +4776,6 @@ public void setCredential(
timedInvokeTimeoutMs);
}
- public void setUser(
- DefaultClusterCallback callback,
- Integer operationType,
- Integer userIndex,
- @Nullable String userName,
- @Nullable Long userUniqueId,
- @Nullable Integer userStatus,
- @Nullable Integer userType,
- @Nullable Integer credentialRule) {
- setUser(
- chipClusterPtr,
- callback,
- operationType,
- userIndex,
- userName,
- userUniqueId,
- userStatus,
- userType,
- credentialRule,
- null);
- }
-
public void setUser(
DefaultClusterCallback callback,
Integer operationType,
@@ -4961,20 +4871,11 @@ public void setYearDaySchedule(
timedInvokeTimeoutMs);
}
- public void unlockDoor(DefaultClusterCallback callback, Optional pinCode) {
- unlockDoor(chipClusterPtr, callback, pinCode, null);
- }
-
public void unlockDoor(
DefaultClusterCallback callback, Optional pinCode, int timedInvokeTimeoutMs) {
unlockDoor(chipClusterPtr, callback, pinCode, timedInvokeTimeoutMs);
}
- public void unlockWithTimeout(
- DefaultClusterCallback callback, Integer timeout, Optional pinCode) {
- unlockWithTimeout(chipClusterPtr, callback, timeout, pinCode, null);
- }
-
public void unlockWithTimeout(
DefaultClusterCallback callback,
Integer timeout,
diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java
index 0ed3b48d67d04c..8bead24d836255 100644
--- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java
+++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java
@@ -4675,7 +4675,8 @@ public Map> getCommandMap() {
.loginRequest(
(DefaultClusterCallback) callback,
(String) commandArguments.get("tempAccountIdentifier"),
- (String) commandArguments.get("setupPIN"));
+ (String) commandArguments.get("setupPIN"),
+ 10000);
},
() -> new DelegatedDefaultClusterCallback(),
accountLoginloginRequestCommandParams);
@@ -4712,7 +4713,8 @@ public Map> getCommandMap() {
((ChipClusters.AdministratorCommissioningCluster) cluster)
.openBasicCommissioningWindow(
(DefaultClusterCallback) callback,
- (Integer) commandArguments.get("commissioningTimeout"));
+ (Integer) commandArguments.get("commissioningTimeout"),
+ 10000);
},
() -> new DelegatedDefaultClusterCallback(),
administratorCommissioningopenBasicCommissioningWindowCommandParams);
@@ -4773,7 +4775,8 @@ public Map> getCommandMap() {
(Integer) commandArguments.get("discriminator"),
(Long) commandArguments.get("iterations"),
(byte[]) commandArguments.get("salt"),
- (Integer) commandArguments.get("passcodeID"));
+ (Integer) commandArguments.get("passcodeID"),
+ 10000);
},
() -> new DelegatedDefaultClusterCallback(),
administratorCommissioningopenCommissioningWindowCommandParams);
@@ -4786,7 +4789,7 @@ public Map> getCommandMap() {
new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.AdministratorCommissioningCluster) cluster)
- .revokeCommissioning((DefaultClusterCallback) callback);
+ .revokeCommissioning((DefaultClusterCallback) callback, 10000);
},
() -> new DelegatedDefaultClusterCallback(),
administratorCommissioningrevokeCommissioningCommandParams);
@@ -6301,7 +6304,8 @@ public Map> getCommandMap() {
((ChipClusters.DoorLockCluster) cluster)
.clearCredential(
(DefaultClusterCallback) callback,
- (ChipStructs.DoorLockClusterDlCredential) commandArguments.get("credential"));
+ (ChipStructs.DoorLockClusterDlCredential) commandArguments.get("credential"),
+ 10000);
},
() -> new DelegatedDefaultClusterCallback(),
doorLockclearCredentialCommandParams);
@@ -6319,7 +6323,8 @@ public Map> getCommandMap() {
((ChipClusters.DoorLockCluster) cluster)
.clearUser(
(DefaultClusterCallback) callback,
- (Integer) commandArguments.get("userIndex"));
+ (Integer) commandArguments.get("userIndex"),
+ 10000);
},
() -> new DelegatedDefaultClusterCallback(),
doorLockclearUserCommandParams);
@@ -6467,7 +6472,8 @@ public Map> getCommandMap() {
((ChipClusters.DoorLockCluster) cluster)
.lockDoor(
(DefaultClusterCallback) callback,
- (Optional) commandArguments.get("pinCode"));
+ (Optional) commandArguments.get("pinCode"),
+ 10000);
},
() -> new DelegatedDefaultClusterCallback(),
doorLocklockDoorCommandParams);
@@ -6510,7 +6516,8 @@ public Map> getCommandMap() {
(byte[]) commandArguments.get("credentialData"),
(Integer) commandArguments.get("userIndex"),
(Integer) commandArguments.get("userStatus"),
- (Integer) commandArguments.get("userType"));
+ (Integer) commandArguments.get("userType"),
+ 10000);
},
() -> new DelegatedSetCredentialResponseCallback(),
doorLocksetCredentialCommandParams);
@@ -6560,7 +6567,8 @@ public Map> getCommandMap() {
(Long) commandArguments.get("userUniqueId"),
(Integer) commandArguments.get("userStatus"),
(Integer) commandArguments.get("userType"),
- (Integer) commandArguments.get("credentialRule"));
+ (Integer) commandArguments.get("credentialRule"),
+ 10000);
},
() -> new DelegatedDefaultClusterCallback(),
doorLocksetUserCommandParams);
@@ -6669,7 +6677,8 @@ public Map> getCommandMap() {
((ChipClusters.DoorLockCluster) cluster)
.unlockDoor(
(DefaultClusterCallback) callback,
- (Optional) commandArguments.get("pinCode"));
+ (Optional) commandArguments.get("pinCode"),
+ 10000);
},
() -> new DelegatedDefaultClusterCallback(),
doorLockunlockDoorCommandParams);
@@ -6693,7 +6702,8 @@ public Map> getCommandMap() {
.unlockWithTimeout(
(DefaultClusterCallback) callback,
(Integer) commandArguments.get("timeout"),
- (Optional) commandArguments.get("pinCode"));
+ (Optional) commandArguments.get("pinCode"),
+ 10000);
},
() -> new DelegatedDefaultClusterCallback(),
doorLockunlockWithTimeoutCommandParams);
diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py
index ab599f2c5884b3..b642a0b51ac309 100644
--- a/src/controller/python/chip/clusters/Objects.py
+++ b/src/controller/python/chip/clusters/Objects.py
@@ -12463,6 +12463,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="passcodeID", Tag=5, Type=uint),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
commissioningTimeout: 'uint' = 0
PAKEVerifier: 'bytes' = b""
discriminator: 'uint' = 0
@@ -12483,6 +12487,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
commissioningTimeout: 'uint' = 0
@dataclass
@@ -12497,6 +12505,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
Fields = [
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
class Attributes:
@@ -14545,6 +14557,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="pinCode", Tag=0, Type=typing.Optional[bytes]),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
pinCode: 'typing.Optional[bytes]' = None
@dataclass
@@ -14560,6 +14576,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="pinCode", Tag=0, Type=typing.Optional[bytes]),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
pinCode: 'typing.Optional[bytes]' = None
@dataclass
@@ -14576,6 +14596,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="pinCode", Tag=1, Type=typing.Optional[bytes]),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
timeout: 'uint' = 0
pinCode: 'typing.Optional[bytes]' = None
@@ -14637,6 +14661,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
userId: 'uint' = 0
userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
@@ -14691,6 +14719,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="pinSlotIndex", Tag=0, Type=uint),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
pinSlotIndex: 'uint' = 0
@dataclass
@@ -14705,6 +14737,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
Fields = [
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
@dataclass
class SetUserStatus(ClusterCommand):
@@ -15062,6 +15098,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="rfidCode", Tag=3, Type=bytes),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
userId: 'uint' = 0
userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
@@ -15116,6 +15156,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="rfidSlotIndex", Tag=0, Type=uint),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
rfidSlotIndex: 'uint' = 0
@dataclass
@@ -15130,6 +15174,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
Fields = [
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
@dataclass
class SetUser(ClusterCommand):
@@ -15150,6 +15198,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="credentialRule", Tag=6, Type=typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
operationType: 'DoorLock.Enums.DlDataOperationType' = 0
userIndex: 'uint' = 0
userName: 'typing.Union[Nullable, str]' = NullValue
@@ -15219,6 +15271,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
userIndex: 'uint' = 0
@dataclass
@@ -15293,6 +15349,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
operationType: 'DoorLock.Enums.DlDataOperationType' = 0
credential: 'DoorLock.Structs.DlCredential' = field(default_factory=lambda: DoorLock.Structs.DlCredential())
credentialData: 'bytes' = b""
@@ -15366,6 +15426,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=typing.Union[Nullable, DoorLock.Structs.DlCredential]),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
credential: 'typing.Union[Nullable, DoorLock.Structs.DlCredential]' = NullValue
@@ -29861,10 +29925,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="setupPIN", Tag=0, Type=str),
])
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
setupPIN: 'str' = ""
@dataclass
@@ -29881,6 +29941,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="setupPIN", Tag=1, Type=str),
])
+ @ChipUtility.classproperty
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
tempAccountIdentifier: 'str' = ""
setupPIN: 'str' = ""
diff --git a/src/controller/python/test/test_scripts/base.py b/src/controller/python/test/test_scripts/base.py
index 9152eb30973158..593d28cae72697 100644
--- a/src/controller/python/test/test_scripts/base.py
+++ b/src/controller/python/test/test_scripts/base.py
@@ -147,7 +147,7 @@ def TestKeyExchange(self, ip: str, setuppin: int, nodeid: int):
async def TestMultiFabric(self, ip: str, setuppin: int, nodeid: int):
self.logger.info("Opening Commissioning Window")
- await self.devCtrl.SendCommand(nodeid, 0, Clusters.AdministratorCommissioning.Commands.OpenBasicCommissioningWindow(100))
+ await self.devCtrl.SendCommand(nodeid, 0, Clusters.AdministratorCommissioning.Commands.OpenBasicCommissioningWindow(100), timedRequestTimeoutMs=10000)
self.logger.info("Creating 2nd Fabric Admin")
fabricAdmin2 = chip.FabricAdmin.FabricAdmin(fabricId=2, fabricIndex=2)
diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm
index 9ee29928a4e4d5..1c7a0045845aa8 100644
--- a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm
@@ -355,7 +355,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -459,7 +459,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -483,7 +483,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -500,7 +500,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -5968,7 +5968,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -5986,7 +5986,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -6118,7 +6118,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -6157,7 +6157,7 @@ new CHIPDoorLockClusterSetCredentialResponseCallbackBridge(
self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -6207,7 +6207,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -6278,7 +6278,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
@@ -6301,7 +6301,7 @@ new CHIPCommandSuccessCallbackBridge(
^(Cancelable * success, Cancelable * failure) {
auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall);
+ return self.cppCluster.InvokeCommand(request, successFn->mContext, successFn->mCall, failureFn->mCall, 10000);
});
}
diff --git a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp
index 702a9c8b3a3bdb..1a59cbbbb14c71 100644
--- a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -462,6 +477,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::ClearCredential::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::ClearCredential::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -471,6 +491,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::ClearUser::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::ClearUser::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -498,6 +523,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::LockDoor::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::LockDoor::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -507,6 +537,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::SetCredential::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::SetCredential::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -516,6 +551,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::SetUser::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::SetUser::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -525,6 +565,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::UnlockDoor::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::UnlockDoor::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
index 7f7f493a9d07a0..08fb61a7e0c409 100644
--- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
+++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
@@ -14560,7 +14560,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -14597,7 +14597,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -14626,7 +14626,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -17349,7 +17349,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -17381,7 +17381,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -17415,7 +17415,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -17536,7 +17536,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -17644,7 +17644,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -17673,7 +17673,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -18391,7 +18391,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -18499,7 +18499,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -18528,7 +18528,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -18571,7 +18571,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -18700,7 +18700,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -18842,7 +18842,7 @@ struct Type
using ResponseType = Clusters::DoorLock::Commands::SetCredentialResponse::DecodableType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -18987,7 +18987,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
@@ -33789,7 +33789,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return true; }
+ static constexpr bool MustUseTimedInvoke() { return false; }
};
struct DecodableType
@@ -33823,7 +33823,7 @@ struct Type
using ResponseType = DataModel::NullObjectType;
- static constexpr bool MustUseTimedInvoke() { return false; }
+ static constexpr bool MustUseTimedInvoke() { return true; }
};
struct DecodableType
diff --git a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp
index 9da355a41e396b..de1b328a27519d 100644
--- a/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/bridge-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h
index d0a926564b9164..c7f4383d799113 100644
--- a/zzz_generated/chip-tool/zap-generated/test/Commands.h
+++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h
@@ -74434,7 +74434,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_5(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -74539,7 +74540,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_7(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -74575,7 +74577,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_8(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -74681,7 +74684,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_10(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -74788,7 +74792,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_12(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -74895,7 +74900,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_14(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75002,7 +75008,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_16(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75113,7 +75120,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_18(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75224,7 +75232,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_20(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75331,7 +75340,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_22(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75435,7 +75445,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_24(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75470,7 +75481,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_25(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75499,7 +75511,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_26(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75598,7 +75611,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_28(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75697,7 +75711,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_30(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75726,7 +75741,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_31(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -75755,7 +75771,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_32(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76060,7 +76077,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_39(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76231,7 +76249,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_42(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76280,7 +76299,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_43(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76469,7 +76489,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_48(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76643,7 +76664,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_51(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76693,7 +76715,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_52(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76742,7 +76765,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_53(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76792,7 +76816,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_54(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76842,7 +76867,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_55(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76892,7 +76918,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_56(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76942,7 +76969,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_57(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -76992,7 +77020,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_58(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77043,7 +77072,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_59(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77094,7 +77124,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_60(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77143,7 +77174,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_61(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77193,7 +77225,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_62(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77243,7 +77276,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_63(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77292,7 +77326,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_64(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77342,7 +77377,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_65(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77385,7 +77421,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_66(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77536,7 +77573,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_69(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77681,7 +77719,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_72(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77725,7 +77764,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_73(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -77976,7 +78016,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_78(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78027,7 +78068,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_79(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78078,7 +78120,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_80(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78119,7 +78162,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_81(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78477,7 +78521,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_88(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78525,7 +78570,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_89(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78694,7 +78740,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_92(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78736,7 +78783,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_93(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78768,7 +78816,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_94(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78800,7 +78849,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_95(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78832,7 +78882,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_96(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78864,7 +78915,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_97(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78896,7 +78948,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_98(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -78925,7 +78978,8 @@ class DL_UsersAndCredentials : public TestCommand
(static_cast(context))->OnFailureResponse_99(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -79218,7 +79272,8 @@ class DL_LockUnlock : public TestCommand
(static_cast(context))->OnFailureResponse_1(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -79260,7 +79315,8 @@ class DL_LockUnlock : public TestCommand
(static_cast(context))->OnFailureResponse_2(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -79315,7 +79371,8 @@ class DL_LockUnlock : public TestCommand
(static_cast(context))->OnFailureResponse_4(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -79369,7 +79426,8 @@ class DL_LockUnlock : public TestCommand
(static_cast(context))->OnFailureResponse_6(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -79424,7 +79482,8 @@ class DL_LockUnlock : public TestCommand
(static_cast(context))->OnFailureResponse_8(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -79480,7 +79539,8 @@ class DL_LockUnlock : public TestCommand
(static_cast(context))->OnFailureResponse_10(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -79952,7 +80012,8 @@ class DL_Schedules : public TestCommand
auto failure = [](void * context, CHIP_ERROR error) { (static_cast(context))->OnFailureResponse_1(error); };
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -82486,7 +82547,8 @@ class DL_Schedules : public TestCommand
(static_cast(context))->OnFailureResponse_70(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
@@ -82852,7 +82914,8 @@ class DL_Schedules : public TestCommand
(static_cast(context))->OnFailureResponse_79(error);
};
- ReturnErrorOnFailure(chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request));
+ ReturnErrorOnFailure(
+ chip::Controller::InvokeCommand(mDevices[kIdentityAlpha], this, success, failure, endpoint, request, 10000));
return CHIP_NO_ERROR;
}
diff --git a/zzz_generated/door-lock-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/door-lock-app/zap-generated/IMClusterCommandHandler.cpp
index fa73792c9ed6f7..beccbfdc4cac3a 100644
--- a/zzz_generated/door-lock-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/door-lock-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -158,6 +173,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::ClearCredential::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::ClearCredential::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -167,6 +187,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::ClearUser::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::ClearUser::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -230,6 +255,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::LockDoor::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::LockDoor::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -239,6 +269,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::SetCredential::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::SetCredential::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -248,6 +283,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::SetUser::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::SetUser::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -275,6 +315,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::UnlockDoor::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::UnlockDoor::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp
index 78156a06a97767..9b5df25f79d921 100644
--- a/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/light-switch-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp
index 0378e5df3ce3d7..b7956c161b8852 100644
--- a/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/lighting-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp
index 54e00e2fd1eeec..a124b9cc45bf0d 100644
--- a/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/lock-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp
index 9da355a41e396b..de1b328a27519d 100644
--- a/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/pump-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp
index e845084b363d72..3bb2f7ee6ebade 100644
--- a/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/pump-controller-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp
index e9f7c9cf436407..02dfac89c50474 100644
--- a/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/temperature-measurement-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp
index 19c3e1fd9c0a6b..71249ca584665d 100644
--- a/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/thermostat/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp
index 1ca7649276a378..97f9af1ea45307 100644
--- a/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/tv-app/zap-generated/IMClusterCommandHandler.cpp
@@ -69,6 +69,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::LoginRequest::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::LoginRequest::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -124,6 +129,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -134,6 +144,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -144,6 +159,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp
index 9f02204cc1355f..05d8a793840a8a 100644
--- a/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/tv-casting-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -416,6 +431,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::ClearCredential::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::ClearCredential::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -425,6 +445,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::ClearUser::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::ClearUser::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -452,6 +477,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::LockDoor::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::LockDoor::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -461,6 +491,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::SetCredential::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::SetCredential::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -470,6 +505,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::SetUser::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::SetUser::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -479,6 +519,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::UnlockDoor::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::UnlockDoor::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
diff --git a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp
index bf1b6b18906e32..f5408c384f2acb 100644
--- a/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/window-app/zap-generated/IMClusterCommandHandler.cpp
@@ -55,6 +55,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
switch (aCommandPath.mCommandId)
{
case Commands::OpenBasicCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenBasicCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -65,6 +70,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::OpenCommissioningWindow::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::OpenCommissioningWindow::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)
@@ -75,6 +85,11 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
break;
}
case Commands::RevokeCommissioning::Id: {
+ if (!apCommandObj->IsTimedInvoke())
+ {
+ apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::NeedsTimedInteraction);
+ return;
+ }
Commands::RevokeCommissioning::DecodableType commandData;
TLVError = DataModel::Decode(aDataTlv, commandData);
if (TLVError == CHIP_NO_ERROR)