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 4a8b5a79bf4543..29b91671fbf33f 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
@@ -989,16 +989,6 @@ server cluster DoorLock = 257 {
kNotSupported = 255;
}
- bitmap DlAlarmMask : BITMAP16 {
- kLockingMechanismJammed = 0x1;
- kLockResetToFactoryDefaults = 0x2;
- kReserved = 0x4;
- kRFModulePowerCycled = 0x8;
- kWrongCodeEntryLimit = 0x10;
- kFrontEscutcheonRemovedFromMain = 0x20;
- kForcedDoorOpenUnderDoorLockedCondition = 0x40;
- }
-
bitmap DlCredentialRuleMask : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
index 45197778d7046b..5984fce870eb3d 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
@@ -6274,22 +6274,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -6514,134 +6498,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
@@ -13097,22 +12953,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "NumberOfLogRecordsSupported",
- "code": 16,
- "mfgCode": null,
- "side": "server",
- "type": "int16u",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0",
- "reportable": 1,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "NumberOfTotalUsersSupported",
"code": 17,
@@ -13305,22 +13145,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -13593,134 +13417,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "GeneratedCommandList",
"code": 65528,
@@ -23192,22 +22888,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -23432,134 +23112,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
index 5e36a9491e25ae..07e9570e5839ae 100644
--- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
+++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
@@ -778,16 +778,6 @@ server cluster DoorLock = 257 {
kNotSupported = 255;
}
- bitmap DlAlarmMask : BITMAP16 {
- kLockingMechanismJammed = 0x1;
- kLockResetToFactoryDefaults = 0x2;
- kReserved = 0x4;
- kRFModulePowerCycled = 0x8;
- kWrongCodeEntryLimit = 0x10;
- kFrontEscutcheonRemovedFromMain = 0x20;
- kForcedDoorOpenUnderDoorLockedCondition = 0x40;
- }
-
bitmap DlCredentialRuleMask : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap
index b37ffca45ba81b..1ad40bf8b33091 100644
--- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap
+++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap
@@ -6274,22 +6274,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -6514,134 +6498,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
@@ -13097,22 +12953,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "NumberOfLogRecordsSupported",
- "code": 16,
- "mfgCode": null,
- "side": "server",
- "type": "int16u",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0",
- "reportable": 1,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "NumberOfTotalUsersSupported",
"code": 17,
@@ -13305,22 +13145,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -13593,134 +13417,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "GeneratedCommandList",
"code": 65528,
@@ -23277,22 +22973,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -23517,134 +23197,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter
index 1a4cf09c3e9164..9637ed09451f91 100644
--- a/examples/lock-app/lock-common/lock-app.matter
+++ b/examples/lock-app/lock-common/lock-app.matter
@@ -388,16 +388,6 @@ server cluster DoorLock = 257 {
kNotSupported = 255;
}
- bitmap DlAlarmMask : BITMAP16 {
- kLockingMechanismJammed = 0x1;
- kLockResetToFactoryDefaults = 0x2;
- kReserved = 0x4;
- kRFModulePowerCycled = 0x8;
- kWrongCodeEntryLimit = 0x10;
- kFrontEscutcheonRemovedFromMain = 0x20;
- kForcedDoorOpenUnderDoorLockedCondition = 0x40;
- }
-
bitmap DlCredentialRuleMask : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
diff --git a/examples/lock-app/lock-common/lock-app.zap b/examples/lock-app/lock-common/lock-app.zap
index f08bb1e1870d40..7541d086cd6586 100755
--- a/examples/lock-app/lock-common/lock-app.zap
+++ b/examples/lock-app/lock-common/lock-app.zap
@@ -7412,22 +7412,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "NumberOfLogRecordsSupported",
- "code": 16,
- "mfgCode": null,
- "side": "server",
- "type": "int16u",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0",
- "reportable": 1,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "NumberOfTotalUsersSupported",
"code": 17,
@@ -7620,22 +7604,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -7908,134 +7876,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "GeneratedCommandList",
"code": 65528,
diff --git a/examples/log-source-app/log-source-common/log-source-app.zap b/examples/log-source-app/log-source-common/log-source-app.zap
index 73399a75a46d32..4da01a3120774b 100644
--- a/examples/log-source-app/log-source-common/log-source-app.zap
+++ b/examples/log-source-app/log-source-common/log-source-app.zap
@@ -1899,46 +1899,6 @@
"incoming": 1,
"outgoing": 1
},
- {
- "name": "GetLogRecord",
- "code": 4,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetPINCode",
- "code": 5,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetPINCode",
- "code": 6,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearPINCode",
- "code": 7,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllPINCodes",
- "code": 8,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
{
"name": "SetWeekDaySchedule",
"code": 11,
@@ -2010,54 +1970,6 @@
"source": "client",
"incoming": 1,
"outgoing": 1
- },
- {
- "name": "SetUserType",
- "code": 20,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetUserType",
- "code": 21,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetRFIDCode",
- "code": 22,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetRFIDCode",
- "code": 23,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearRFIDCode",
- "code": 24,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllRFIDCodes",
- "code": 25,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
}
],
"attributes": [
@@ -2152,22 +2064,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -2392,134 +2288,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.zap b/examples/ota-provider-app/ota-provider-common/ota-provider-app.zap
index ad244aaa64ecd0..a47aac9c2b0806 100644
--- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.zap
+++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.zap
@@ -2612,46 +2612,6 @@
"incoming": 1,
"outgoing": 1
},
- {
- "name": "GetLogRecord",
- "code": 4,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetPINCode",
- "code": 5,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetPINCode",
- "code": 6,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearPINCode",
- "code": 7,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllPINCodes",
- "code": 8,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
{
"name": "SetWeekDaySchedule",
"code": 11,
@@ -2723,54 +2683,6 @@
"source": "client",
"incoming": 1,
"outgoing": 1
- },
- {
- "name": "SetUserType",
- "code": 20,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetUserType",
- "code": 21,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetRFIDCode",
- "code": 22,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetRFIDCode",
- "code": 23,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearRFIDCode",
- "code": 24,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllRFIDCodes",
- "code": 25,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
}
],
"attributes": [
@@ -2865,22 +2777,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -3105,134 +3001,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap
index a0974f8537dbd5..aea3c9e627a2f4 100644
--- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap
+++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap
@@ -2801,46 +2801,6 @@
"incoming": 1,
"outgoing": 1
},
- {
- "name": "GetLogRecord",
- "code": 4,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetPINCode",
- "code": 5,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetPINCode",
- "code": 6,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearPINCode",
- "code": 7,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllPINCodes",
- "code": 8,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
{
"name": "SetWeekDaySchedule",
"code": 11,
@@ -2912,54 +2872,6 @@
"source": "client",
"incoming": 1,
"outgoing": 1
- },
- {
- "name": "SetUserType",
- "code": 20,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetUserType",
- "code": 21,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetRFIDCode",
- "code": 22,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetRFIDCode",
- "code": 23,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearRFIDCode",
- "code": 24,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllRFIDCodes",
- "code": 25,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
}
],
"attributes": [
@@ -3054,22 +2966,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -3294,134 +3190,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
diff --git a/examples/thermostat/thermostat-common/thermostat.zap b/examples/thermostat/thermostat-common/thermostat.zap
index 1dc363e0064f03..cf16c8554b4db2 100644
--- a/examples/thermostat/thermostat-common/thermostat.zap
+++ b/examples/thermostat/thermostat-common/thermostat.zap
@@ -5102,46 +5102,6 @@
"incoming": 1,
"outgoing": 1
},
- {
- "name": "GetLogRecord",
- "code": 4,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetPINCode",
- "code": 5,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetPINCode",
- "code": 6,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearPINCode",
- "code": 7,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllPINCodes",
- "code": 8,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
{
"name": "SetWeekDaySchedule",
"code": 11,
@@ -5213,54 +5173,6 @@
"source": "client",
"incoming": 1,
"outgoing": 1
- },
- {
- "name": "SetUserType",
- "code": 20,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetUserType",
- "code": 21,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetRFIDCode",
- "code": 22,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetRFIDCode",
- "code": 23,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearRFIDCode",
- "code": 24,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllRFIDCodes",
- "code": 25,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
}
],
"attributes": [
@@ -5355,22 +5267,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -5595,134 +5491,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
@@ -10052,46 +9820,6 @@
"incoming": 1,
"outgoing": 1
},
- {
- "name": "GetLogRecord",
- "code": 4,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetPINCode",
- "code": 5,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetPINCode",
- "code": 6,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearPINCode",
- "code": 7,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllPINCodes",
- "code": 8,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
{
"name": "SetWeekDaySchedule",
"code": 11,
@@ -10163,54 +9891,6 @@
"source": "client",
"incoming": 1,
"outgoing": 1
- },
- {
- "name": "SetUserType",
- "code": 20,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetUserType",
- "code": 21,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetRFIDCode",
- "code": 22,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetRFIDCode",
- "code": 23,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearRFIDCode",
- "code": 24,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllRFIDCodes",
- "code": 25,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
}
],
"attributes": [
@@ -10305,22 +9985,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -10545,134 +10209,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
diff --git a/examples/tv-app/tv-common/tv-app.zap b/examples/tv-app/tv-common/tv-app.zap
index f209f486fd5478..6e0c49b7e94917 100644
--- a/examples/tv-app/tv-common/tv-app.zap
+++ b/examples/tv-app/tv-common/tv-app.zap
@@ -5118,46 +5118,6 @@
"incoming": 1,
"outgoing": 1
},
- {
- "name": "GetLogRecord",
- "code": 4,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetPINCode",
- "code": 5,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetPINCode",
- "code": 6,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearPINCode",
- "code": 7,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllPINCodes",
- "code": 8,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
{
"name": "SetWeekDaySchedule",
"code": 11,
@@ -5229,54 +5189,6 @@
"source": "client",
"incoming": 1,
"outgoing": 1
- },
- {
- "name": "SetUserType",
- "code": 20,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetUserType",
- "code": 21,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "SetRFIDCode",
- "code": 22,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetRFIDCode",
- "code": 23,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearRFIDCode",
- "code": 24,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "ClearAllRFIDCodes",
- "code": 25,
- "mfgCode": null,
- "source": "client",
- "incoming": 1,
- "outgoing": 1
}
],
"attributes": [
@@ -5371,22 +5283,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -5611,134 +5507,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap b/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
index eb57b25dedaac9..143ca49f296b55 100644
--- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
+++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
@@ -5154,22 +5154,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -5394,134 +5378,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
@@ -16135,22 +15991,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x00",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -16375,134 +16215,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0x0000",
- "reportable": 1,
- "minInterval": 0,
- "maxInterval": 65344,
- "reportableChange": 0
- },
{
"name": "ClusterRevision",
"code": 65533,
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 cb824c9243d911..faef2b0de95eb6 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
@@ -86,8 +86,6 @@ limitations under the License.
-
- NumberOfLogRecordsSupported
NumberOfTotalUsersSupported
@@ -112,12 +110,6 @@ limitations under the License.
CredentialRulesSupport
NumberOfCredentialsSupportedPerUser
-
-
- EnableLogging
-
-
-
Language
@@ -201,53 +193,6 @@ limitations under the License.
-
- AlarmMask
-
-
-
-
-
- KeypadOperationEventMask
-
-
-
-
-
- RemoteOperationEventMask
-
-
-
-
-
- ManualOperationEventMask
-
-
-
-
-
- RFIDOperationEventMask
-
-
-
-
-
- KeypadProgrammingEventMask
-
-
-
-
-
- RemoteProgrammingEventMask
-
-
-
-
-
- RFIDProgrammingEventMask
-
-
-
@@ -267,79 +212,6 @@ limitations under the License.
-
-
- Request a log record.
-
-
-
-
-
- Returns the specified log record.
-
-
-
-
-
-
-
-
-
-
-
- Set a PIN Code into the lock.
-
-
-
-
-
-
-
-
- Retrieve a PIN Code.
-
-
-
-
-
- Returns the PIN for the specified user ID.
-
-
-
-
-
-
-
-
- Clear a PIN code or all PIN codes.
-
-
-
-
-
- Clear out all PINs on the lock.
-
-
-
-
- Set the status of a user ID.
-
-
-
-
-
-
- Get the status of a user.
-
-
-
-
-
- Returns the user status for the specified user ID.
-
-
-
-
Set a weekly repeating schedule for a specified user.
@@ -443,61 +315,6 @@ limitations under the License.
-
-
- Set the user type for a specified user.
-
-
-
-
-
-
- Retrieve the user type for a specific user.
-
-
-
-
-
- Returns the user type for the specified user ID.
-
-
-
-
-
-
- Set an ID for RFID access into the lock.
-
-
-
-
-
-
-
-
- Retrieve an RFID code.
-
-
-
-
-
- Returns the RFID code for the specified user ID.
-
-
-
-
-
-
-
-
- Clear an RFID code or all RFID codes.
-
-
-
-
-
- Clear out all RFIDs on the lock.
-
-
Set User into the lock.
@@ -537,28 +354,6 @@ limitations under the License.
-
-
- The door lock server sends out operation event notification when the event is triggered by the various event sources.
-
-
-
-
-
-
-
-
-
- The door lock server sends out a programming event notification whenever a programming event takes place on the door lock.
-
-
-
-
-
-
-
-
-
Set a credential (e.g. PIN, RFID, Fingerprint, etc.) into the lock for a new user, existing user, or ProgrammingUser.
@@ -855,18 +650,6 @@ limitations under the License.
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index 179bde555ec212..c6727b9016190b 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -1276,16 +1276,6 @@ client cluster DoorLock = 257 {
kNotSupported = 255;
}
- bitmap DlAlarmMask : BITMAP16 {
- kLockingMechanismJammed = 0x1;
- kLockResetToFactoryDefaults = 0x2;
- kReserved = 0x4;
- kRFModulePowerCycled = 0x8;
- kWrongCodeEntryLimit = 0x10;
- kFrontEscutcheonRemovedFromMain = 0x20;
- kForcedDoorOpenUnderDoorLockedCondition = 0x40;
- }
-
bitmap DlCredentialRuleMask : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
@@ -1624,11 +1614,6 @@ client cluster DoorLock = 257 {
optional DlOperatingMode operatingMode = 4;
}
- response struct GetUserTypeResponse = 21 {
- INT16U userId = 0;
- DlUserType userType = 1;
- }
-
response struct GetUserResponse = 28 {
INT16U userIndex = 0;
nullable CHAR_STRING userName = 1;
diff --git a/src/controller/data_model/controller-clusters.zap b/src/controller/data_model/controller-clusters.zap
index 05e9b099b567c9..0d2b2739d3a231 100644
--- a/src/controller/data_model/controller-clusters.zap
+++ b/src/controller/data_model/controller-clusters.zap
@@ -9551,30 +9551,6 @@
"side": "server",
"enabled": 0,
"commands": [
- {
- "name": "GetLogRecordResponse",
- "code": 4,
- "mfgCode": null,
- "source": "server",
- "incoming": 0,
- "outgoing": 1
- },
- {
- "name": "GetPINCodeResponse",
- "code": 6,
- "mfgCode": null,
- "source": "server",
- "incoming": 0,
- "outgoing": 1
- },
- {
- "name": "GetUserStatusResponse",
- "code": 10,
- "mfgCode": null,
- "source": "server",
- "incoming": 0,
- "outgoing": 0
- },
{
"name": "GetWeekDayScheduleResponse",
"code": 12,
@@ -9599,22 +9575,6 @@
"incoming": 1,
"outgoing": 1
},
- {
- "name": "GetUserTypeResponse",
- "code": 21,
- "mfgCode": null,
- "source": "server",
- "incoming": 1,
- "outgoing": 1
- },
- {
- "name": "GetRFIDCodeResponse",
- "code": 23,
- "mfgCode": null,
- "source": "server",
- "incoming": 0,
- "outgoing": 1
- },
{
"name": "GetUserResponse",
"code": 28,
@@ -9753,22 +9713,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "NumberOfLogRecordsSupported",
- "code": 16,
- "mfgCode": null,
- "side": "server",
- "type": "int16u",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0",
- "reportable": 1,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "NumberOfTotalUsersSupported",
"code": 17,
@@ -9961,22 +9905,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "EnableLogging",
- "code": 32,
- "mfgCode": null,
- "side": "server",
- "type": "boolean",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "Language",
"code": 33,
@@ -10249,134 +10177,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "AlarmMask",
- "code": 64,
- "mfgCode": null,
- "side": "server",
- "type": "DlAlarmMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "KeypadOperationEventMask",
- "code": 65,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RemoteOperationEventMask",
- "code": 66,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "ManualOperationEventMask",
- "code": 67,
- "mfgCode": null,
- "side": "server",
- "type": "DlManualOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RFIDOperationEventMask",
- "code": 68,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "KeypadProgrammingEventMask",
- "code": 69,
- "mfgCode": null,
- "side": "server",
- "type": "DlKeypadOperationEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RemoteProgrammingEventMask",
- "code": 70,
- "mfgCode": null,
- "side": "server",
- "type": "DlRemoteProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
- {
- "name": "RFIDProgrammingEventMask",
- "code": 71,
- "mfgCode": null,
- "side": "server",
- "type": "DlRFIDProgrammingEventMask",
- "included": 0,
- "storageOption": "RAM",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "0xFFFF",
- "reportable": 0,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "GeneratedCommandList",
"code": 65528,
diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py
index e6b126cb3893ee..4e84ccdff3a1a6 100644
--- a/src/controller/python/chip/clusters/Objects.py
+++ b/src/controller/python/chip/clusters/Objects.py
@@ -16192,7 +16192,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="doorOpenEvents", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="doorClosedEvents", Tag=0x00000005, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="openPeriod", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfLogRecordsSupported", Tag=0x00000010, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="numberOfTotalUsersSupported", Tag=0x00000011, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="numberOfPINUsersSupported", Tag=0x00000012, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="numberOfRFIDUsersSupported", Tag=0x00000013, Type=typing.Optional[uint]),
@@ -16205,7 +16204,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="minRFIDCodeLength", Tag=0x0000001A, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="credentialRulesSupport", Tag=0x0000001B, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="numberOfCredentialsSupportedPerUser", Tag=0x0000001C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="enableLogging", Tag=0x00000020, Type=typing.Optional[bool]),
ClusterObjectFieldDescriptor(Label="language", Tag=0x00000021, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="LEDSettings", Tag=0x00000022, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="autoRelockTime", Tag=0x00000023, Type=uint),
@@ -16223,14 +16221,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="sendPINOverTheAir", Tag=0x00000032, Type=typing.Optional[bool]),
ClusterObjectFieldDescriptor(Label="requirePINforRemoteOperation", Tag=0x00000033, Type=typing.Optional[bool]),
ClusterObjectFieldDescriptor(Label="expiringUserTimeout", Tag=0x00000035, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="alarmMask", Tag=0x00000040, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="keypadOperationEventMask", Tag=0x00000041, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="remoteOperationEventMask", Tag=0x00000042, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="manualOperationEventMask", Tag=0x00000043, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="RFIDOperationEventMask", Tag=0x00000044, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="keypadProgrammingEventMask", Tag=0x00000045, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="remoteProgrammingEventMask", Tag=0x00000046, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="RFIDProgrammingEventMask", Tag=0x00000047, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -16245,7 +16235,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
doorOpenEvents: 'typing.Optional[uint]' = None
doorClosedEvents: 'typing.Optional[uint]' = None
openPeriod: 'typing.Optional[uint]' = None
- numberOfLogRecordsSupported: 'typing.Optional[uint]' = None
numberOfTotalUsersSupported: 'typing.Optional[uint]' = None
numberOfPINUsersSupported: 'typing.Optional[uint]' = None
numberOfRFIDUsersSupported: 'typing.Optional[uint]' = None
@@ -16258,7 +16247,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
minRFIDCodeLength: 'typing.Optional[uint]' = None
credentialRulesSupport: 'typing.Optional[uint]' = None
numberOfCredentialsSupportedPerUser: 'typing.Optional[uint]' = None
- enableLogging: 'typing.Optional[bool]' = None
language: 'typing.Optional[str]' = None
LEDSettings: 'typing.Optional[uint]' = None
autoRelockTime: 'uint' = None
@@ -16276,14 +16264,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
sendPINOverTheAir: 'typing.Optional[bool]' = None
requirePINforRemoteOperation: 'typing.Optional[bool]' = None
expiringUserTimeout: 'typing.Optional[uint]' = None
- alarmMask: 'typing.Optional[uint]' = None
- keypadOperationEventMask: 'typing.Optional[uint]' = None
- remoteOperationEventMask: 'typing.Optional[uint]' = None
- manualOperationEventMask: 'typing.Optional[uint]' = None
- RFIDOperationEventMask: 'typing.Optional[uint]' = None
- keypadProgrammingEventMask: 'typing.Optional[uint]' = None
- remoteProgrammingEventMask: 'typing.Optional[uint]' = None
- RFIDProgrammingEventMask: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -16537,194 +16517,6 @@ def must_use_timed_invoke(cls) -> bool:
timeout: 'uint' = 0
pinCode: 'typing.Optional[bytes]' = None
- @dataclass
- class GetLogRecord(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="logIndex", Tag=0, Type=uint),
- ])
-
- logIndex: 'uint' = 0
-
- @dataclass
- class GetLogRecordResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="logEntryId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="timestamp", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="eventType", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="source", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="eventIdOrAlarmCode", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="userId", Tag=5, Type=uint),
- ClusterObjectFieldDescriptor(Label="pin", Tag=6, Type=bytes),
- ])
-
- logEntryId: 'uint' = 0
- timestamp: 'uint' = 0
- eventType: 'uint' = 0
- source: 'uint' = 0
- eventIdOrAlarmCode: 'uint' = 0
- userId: 'uint' = 0
- pin: 'bytes' = b""
-
- @dataclass
- class SetPINCode(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
- ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
- 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
- pin: 'bytes' = b""
-
- @dataclass
- class GetPINCode(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ])
-
- userId: 'uint' = 0
-
- @dataclass
- class GetPINCodeResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
- ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
- ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=typing.Union[Nullable, bytes]),
- ])
-
- userId: 'uint' = 0
- userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
- userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
- pin: 'typing.Union[Nullable, bytes]' = NullValue
-
- @dataclass
- class ClearPINCode(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0007
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="pinSlotIndex", Tag=0, Type=uint),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- pinSlotIndex: 'uint' = 0
-
- @dataclass
- class ClearAllPINCodes(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0008
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
-
- @dataclass
- class SetUserStatus(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0009
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DlUserStatus),
- ])
-
- userId: 'uint' = 0
- userStatus: 'DoorLock.Enums.DlUserStatus' = 0
-
- @dataclass
- class GetUserStatus(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x000A
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ])
-
- userId: 'uint' = 0
-
- @dataclass
- class GetUserStatusResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x000A
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DlUserStatus),
- ])
-
- userId: 'uint' = 0
- userStatus: 'DoorLock.Enums.DlUserStatus' = 0
-
@dataclass
class SetWeekDaySchedule(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0101
@@ -16967,152 +16759,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
holidayIndex: 'uint' = 0
- @dataclass
- class SetUserType(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0014
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userType", Tag=1, Type=DoorLock.Enums.DlUserType),
- ])
-
- userId: 'uint' = 0
- userType: 'DoorLock.Enums.DlUserType' = 0
-
- @dataclass
- class GetUserType(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0015
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ])
-
- userId: 'uint' = 0
-
- @dataclass
- class GetUserTypeResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0015
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userType", Tag=1, Type=DoorLock.Enums.DlUserType),
- ])
-
- userId: 'uint' = 0
- userType: 'DoorLock.Enums.DlUserType' = 0
-
- @dataclass
- class SetRFIDCode(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0016
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
- ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
- 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
- rfidCode: 'bytes' = b""
-
- @dataclass
- class GetRFIDCode(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0017
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ])
-
- userId: 'uint' = 0
-
- @dataclass
- class GetRFIDCodeResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0017
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
- ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
- ClusterObjectFieldDescriptor(Label="rfidCode", Tag=3, Type=typing.Union[Nullable, bytes]),
- ])
-
- userId: 'uint' = 0
- userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
- userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
- rfidCode: 'typing.Union[Nullable, bytes]' = NullValue
-
- @dataclass
- class ClearRFIDCode(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0018
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="rfidSlotIndex", Tag=0, Type=uint),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- rfidSlotIndex: 'uint' = 0
-
- @dataclass
- class ClearAllRFIDCodes(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0019
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
-
@dataclass
class SetUser(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0101
@@ -17211,60 +16857,6 @@ def must_use_timed_invoke(cls) -> bool:
userIndex: 'uint' = 0
- @dataclass
- class OperatingEventNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0020
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="operationEventSource", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="operationEventCode", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="userId", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes),
- ClusterObjectFieldDescriptor(Label="localTime", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="data", Tag=5, Type=typing.Optional[str]),
- ])
-
- operationEventSource: 'uint' = 0
- operationEventCode: 'uint' = 0
- userId: 'uint' = 0
- pin: 'bytes' = b""
- localTime: 'uint' = 0
- data: 'typing.Optional[str]' = None
-
- @dataclass
- class ProgrammingEventNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0021
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="programEventSource", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="programEventCode", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="userId", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes),
- ClusterObjectFieldDescriptor(Label="userType", Tag=4, Type=DoorLock.Enums.DlUserType),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=5, Type=DoorLock.Enums.DlUserStatus),
- ClusterObjectFieldDescriptor(Label="localTime", Tag=6, Type=uint),
- ClusterObjectFieldDescriptor(Label="data", Tag=7, Type=typing.Optional[str]),
- ])
-
- programEventSource: 'uint' = 0
- programEventCode: 'uint' = 0
- userId: 'uint' = 0
- pin: 'bytes' = b""
- userType: 'DoorLock.Enums.DlUserType' = 0
- userStatus: 'DoorLock.Enums.DlUserStatus' = 0
- localTime: 'uint' = 0
- data: 'typing.Optional[str]' = None
-
@dataclass
class SetCredential(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0101
@@ -17484,22 +17076,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
- @dataclass
- class NumberOfLogRecordsSupported(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
@dataclass
class NumberOfTotalUsersSupported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
@@ -17692,22 +17268,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
- @dataclass
- class EnableLogging(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000020
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
-
- value: 'typing.Optional[bool]' = None
-
@dataclass
class Language(ClusterAttributeDescriptor):
@ChipUtility.classproperty
@@ -17980,134 +17540,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
- @dataclass
- class AlarmMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000040
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class KeypadOperationEventMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000041
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RemoteOperationEventMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000042
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ManualOperationEventMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000043
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RFIDOperationEventMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000044
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class KeypadProgrammingEventMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000045
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RemoteProgrammingEventMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000046
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RFIDProgrammingEventMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000047
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPAttributeTLVValueDecoder.mm b/src/darwin/Framework/CHIP/zap-generated/CHIPAttributeTLVValueDecoder.mm
index 0a41ed48f15e88..2fc5ba0b8b67d5 100644
--- a/src/darwin/Framework/CHIP/zap-generated/CHIPAttributeTLVValueDecoder.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/CHIPAttributeTLVValueDecoder.mm
@@ -4085,17 +4085,6 @@ id CHIPDecodeAttributeValue(const ConcreteAttributePath & aPath, TLV::TLVReader
value = [NSNumber numberWithUnsignedShort:cppValue];
return value;
}
- case Attributes::NumberOfLogRecordsSupported::Id: {
- using TypeInfo = Attributes::NumberOfLogRecordsSupported::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue];
- return value;
- }
case Attributes::NumberOfTotalUsersSupported::Id: {
using TypeInfo = Attributes::NumberOfTotalUsersSupported::TypeInfo;
TypeInfo::DecodableType cppValue;
@@ -4228,17 +4217,6 @@ id CHIPDecodeAttributeValue(const ConcreteAttributePath & aPath, TLV::TLVReader
value = [NSNumber numberWithUnsignedChar:cppValue];
return value;
}
- case Attributes::EnableLogging::Id: {
- using TypeInfo = Attributes::EnableLogging::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithBool:cppValue];
- return value;
- }
case Attributes::Language::Id: {
using TypeInfo = Attributes::Language::TypeInfo;
TypeInfo::DecodableType cppValue;
@@ -4426,94 +4404,6 @@ id CHIPDecodeAttributeValue(const ConcreteAttributePath & aPath, TLV::TLVReader
value = [NSNumber numberWithUnsignedShort:cppValue];
return value;
}
- case Attributes::AlarmMask::Id: {
- using TypeInfo = Attributes::AlarmMask::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue.Raw()];
- return value;
- }
- case Attributes::KeypadOperationEventMask::Id: {
- using TypeInfo = Attributes::KeypadOperationEventMask::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue.Raw()];
- return value;
- }
- case Attributes::RemoteOperationEventMask::Id: {
- using TypeInfo = Attributes::RemoteOperationEventMask::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue.Raw()];
- return value;
- }
- case Attributes::ManualOperationEventMask::Id: {
- using TypeInfo = Attributes::ManualOperationEventMask::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue.Raw()];
- return value;
- }
- case Attributes::RFIDOperationEventMask::Id: {
- using TypeInfo = Attributes::RFIDOperationEventMask::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue.Raw()];
- return value;
- }
- case Attributes::KeypadProgrammingEventMask::Id: {
- using TypeInfo = Attributes::KeypadProgrammingEventMask::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue.Raw()];
- return value;
- }
- case Attributes::RemoteProgrammingEventMask::Id: {
- using TypeInfo = Attributes::RemoteProgrammingEventMask::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue.Raw()];
- return value;
- }
- case Attributes::RFIDProgrammingEventMask::Id: {
- using TypeInfo = Attributes::RFIDProgrammingEventMask::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue.Raw()];
- return value;
- }
case Attributes::GeneratedCommandList::Id: {
using TypeInfo = Attributes::GeneratedCommandList::TypeInfo;
TypeInfo::DecodableType cppValue;
diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm
index 556fae9870fe8b..2a13d577034c66 100644
--- a/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm
@@ -3814,198 +3814,6 @@
}
}
-void CHIPDoorLockAlarmMaskAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::BitFlags value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedShort:value.Raw()];
- DispatchSuccess(context, objCValue);
-};
-
-void CHIPDoorLockAlarmMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void CHIPDoorLockKeypadOperationEventMaskAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::BitFlags value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedShort:value.Raw()];
- DispatchSuccess(context, objCValue);
-};
-
-void CHIPDoorLockKeypadOperationEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void CHIPDoorLockRemoteOperationEventMaskAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::BitFlags value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedShort:value.Raw()];
- DispatchSuccess(context, objCValue);
-};
-
-void CHIPDoorLockRemoteOperationEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void CHIPDoorLockManualOperationEventMaskAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::BitFlags value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedShort:value.Raw()];
- DispatchSuccess(context, objCValue);
-};
-
-void CHIPDoorLockManualOperationEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void CHIPDoorLockRFIDOperationEventMaskAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::BitFlags value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedShort:value.Raw()];
- DispatchSuccess(context, objCValue);
-};
-
-void CHIPDoorLockRFIDOperationEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::BitFlags value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedShort:value.Raw()];
- DispatchSuccess(context, objCValue);
-};
-
-void CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::BitFlags value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedShort:value.Raw()];
- DispatchSuccess(context, objCValue);
-};
-
-void CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void CHIPDoorLockRFIDProgrammingEventMaskAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::BitFlags value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedShort:value.Raw()];
- DispatchSuccess(context, objCValue);
-};
-
-void CHIPDoorLockRFIDProgrammingEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
void CHIPDoorLockGeneratedCommandListListAttributeCallbackBridge::OnSuccessFn(
void * context, const chip::app::DataModel::DecodableList & value)
{
@@ -11667,78 +11475,6 @@
DispatchSuccess(context, response);
};
-void CHIPDoorLockClusterGetLogRecordResponseCallbackBridge::OnSuccessFn(
- void * context, const chip::app::Clusters::DoorLock::Commands::GetLogRecordResponse::DecodableType & data)
-{
- auto * response = [CHIPDoorLockClusterGetLogRecordResponseParams new];
- {
- response.logEntryId = [NSNumber numberWithUnsignedShort:data.logEntryId];
- }
- {
- response.timestamp = [NSNumber numberWithUnsignedInt:data.timestamp];
- }
- {
- response.eventType = [NSNumber numberWithUnsignedChar:data.eventType];
- }
- {
- response.source = [NSNumber numberWithUnsignedChar:data.source];
- }
- {
- response.eventIdOrAlarmCode = [NSNumber numberWithUnsignedChar:data.eventIdOrAlarmCode];
- }
- {
- response.userId = [NSNumber numberWithUnsignedShort:data.userId];
- }
- {
- response.pin = [NSData dataWithBytes:data.pin.data() length:data.pin.size()];
- }
- DispatchSuccess(context, response);
-};
-
-void CHIPDoorLockClusterGetPINCodeResponseCallbackBridge::OnSuccessFn(
- void * context, const chip::app::Clusters::DoorLock::Commands::GetPINCodeResponse::DecodableType & data)
-{
- auto * response = [CHIPDoorLockClusterGetPINCodeResponseParams new];
- {
- response.userId = [NSNumber numberWithUnsignedShort:data.userId];
- }
- {
- if (data.userStatus.IsNull()) {
- response.userStatus = nil;
- } else {
- response.userStatus = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.userStatus.Value())];
- }
- }
- {
- if (data.userType.IsNull()) {
- response.userType = nil;
- } else {
- response.userType = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.userType.Value())];
- }
- }
- {
- if (data.pin.IsNull()) {
- response.pin = nil;
- } else {
- response.pin = [NSData dataWithBytes:data.pin.Value().data() length:data.pin.Value().size()];
- }
- }
- DispatchSuccess(context, response);
-};
-
-void CHIPDoorLockClusterGetUserStatusResponseCallbackBridge::OnSuccessFn(
- void * context, const chip::app::Clusters::DoorLock::Commands::GetUserStatusResponse::DecodableType & data)
-{
- auto * response = [CHIPDoorLockClusterGetUserStatusResponseParams new];
- {
- response.userId = [NSNumber numberWithUnsignedShort:data.userId];
- }
- {
- response.userStatus = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.userStatus)];
- }
- DispatchSuccess(context, response);
-};
-
void CHIPDoorLockClusterGetWeekDayScheduleResponseCallbackBridge::OnSuccessFn(
void * context, const chip::app::Clusters::DoorLock::Commands::GetWeekDayScheduleResponse::DecodableType & data)
{
@@ -11854,50 +11590,6 @@
DispatchSuccess(context, response);
};
-void CHIPDoorLockClusterGetUserTypeResponseCallbackBridge::OnSuccessFn(
- void * context, const chip::app::Clusters::DoorLock::Commands::GetUserTypeResponse::DecodableType & data)
-{
- auto * response = [CHIPDoorLockClusterGetUserTypeResponseParams new];
- {
- response.userId = [NSNumber numberWithUnsignedShort:data.userId];
- }
- {
- response.userType = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.userType)];
- }
- DispatchSuccess(context, response);
-};
-
-void CHIPDoorLockClusterGetRFIDCodeResponseCallbackBridge::OnSuccessFn(
- void * context, const chip::app::Clusters::DoorLock::Commands::GetRFIDCodeResponse::DecodableType & data)
-{
- auto * response = [CHIPDoorLockClusterGetRFIDCodeResponseParams new];
- {
- response.userId = [NSNumber numberWithUnsignedShort:data.userId];
- }
- {
- if (data.userStatus.IsNull()) {
- response.userStatus = nil;
- } else {
- response.userStatus = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.userStatus.Value())];
- }
- }
- {
- if (data.userType.IsNull()) {
- response.userType = nil;
- } else {
- response.userType = [NSNumber numberWithUnsignedChar:chip::to_underlying(data.userType.Value())];
- }
- }
- {
- if (data.rfidCode.IsNull()) {
- response.rfidCode = nil;
- } else {
- response.rfidCode = [NSData dataWithBytes:data.rfidCode.Value().data() length:data.rfidCode.Value().size()];
- }
- }
- DispatchSuccess(context, response);
-};
-
void CHIPDoorLockClusterGetUserResponseCallbackBridge::OnSuccessFn(
void * context, const chip::app::Clusters::DoorLock::Commands::GetUserResponse::DecodableType & data)
{
diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge_internal.h b/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge_internal.h
index dea4bce64e665d..5442e0bbf6dd0e 100644
--- a/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge_internal.h
+++ b/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge_internal.h
@@ -41,22 +41,12 @@ typedef void (*CHIPContentLauncherClusterLaunchResponseCallbackType)(
void *, const chip::app::Clusters::ContentLauncher::Commands::LaunchResponse::DecodableType &);
typedef void (*CHIPDiagnosticLogsClusterRetrieveLogsResponseCallbackType)(
void *, const chip::app::Clusters::DiagnosticLogs::Commands::RetrieveLogsResponse::DecodableType &);
-typedef void (*CHIPDoorLockClusterGetLogRecordResponseCallbackType)(
- void *, const chip::app::Clusters::DoorLock::Commands::GetLogRecordResponse::DecodableType &);
-typedef void (*CHIPDoorLockClusterGetPINCodeResponseCallbackType)(
- void *, const chip::app::Clusters::DoorLock::Commands::GetPINCodeResponse::DecodableType &);
-typedef void (*CHIPDoorLockClusterGetUserStatusResponseCallbackType)(
- void *, const chip::app::Clusters::DoorLock::Commands::GetUserStatusResponse::DecodableType &);
typedef void (*CHIPDoorLockClusterGetWeekDayScheduleResponseCallbackType)(
void *, const chip::app::Clusters::DoorLock::Commands::GetWeekDayScheduleResponse::DecodableType &);
typedef void (*CHIPDoorLockClusterGetYearDayScheduleResponseCallbackType)(
void *, const chip::app::Clusters::DoorLock::Commands::GetYearDayScheduleResponse::DecodableType &);
typedef void (*CHIPDoorLockClusterGetHolidayScheduleResponseCallbackType)(
void *, const chip::app::Clusters::DoorLock::Commands::GetHolidayScheduleResponse::DecodableType &);
-typedef void (*CHIPDoorLockClusterGetUserTypeResponseCallbackType)(
- void *, const chip::app::Clusters::DoorLock::Commands::GetUserTypeResponse::DecodableType &);
-typedef void (*CHIPDoorLockClusterGetRFIDCodeResponseCallbackType)(
- void *, const chip::app::Clusters::DoorLock::Commands::GetRFIDCodeResponse::DecodableType &);
typedef void (*CHIPDoorLockClusterGetUserResponseCallbackType)(
void *, const chip::app::Clusters::DoorLock::Commands::GetUserResponse::DecodableType &);
typedef void (*CHIPDoorLockClusterSetCredentialResponseCallbackType)(
@@ -763,21 +753,6 @@ typedef void (*DoorLockDefaultConfigurationRegisterAttributeCallback)(
void *, chip::BitFlags);
typedef void (*DoorLockLocalProgrammingFeaturesAttributeCallback)(
void *, chip::BitFlags);
-typedef void (*DoorLockAlarmMaskAttributeCallback)(void *, chip::BitFlags);
-typedef void (*DoorLockKeypadOperationEventMaskAttributeCallback)(
- void *, chip::BitFlags);
-typedef void (*DoorLockRemoteOperationEventMaskAttributeCallback)(
- void *, chip::BitFlags);
-typedef void (*DoorLockManualOperationEventMaskAttributeCallback)(
- void *, chip::BitFlags);
-typedef void (*DoorLockRFIDOperationEventMaskAttributeCallback)(
- void *, chip::BitFlags);
-typedef void (*DoorLockKeypadProgrammingEventMaskAttributeCallback)(
- void *, chip::BitFlags);
-typedef void (*DoorLockRemoteProgrammingEventMaskAttributeCallback)(
- void *, chip::BitFlags);
-typedef void (*DoorLockRFIDProgrammingEventMaskAttributeCallback)(
- void *, chip::BitFlags);
typedef void (*DoorLockGeneratedCommandListListAttributeCallback)(
void * context, const chip::app::DataModel::DecodableList & data);
typedef void (*DoorLockAcceptedCommandListListAttributeCallback)(void * context,
@@ -4085,228 +4060,6 @@ class CHIPDoorLockLocalProgrammingFeaturesAttributeCallbackSubscriptionBridge
SubscriptionEstablishedHandler mEstablishedHandler;
};
-class CHIPDoorLockAlarmMaskAttributeCallbackBridge : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockAlarmMaskAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler, CHIPActionBlock action,
- bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context, chip::BitFlags value);
-};
-
-class CHIPDoorLockAlarmMaskAttributeCallbackSubscriptionBridge : public CHIPDoorLockAlarmMaskAttributeCallbackBridge
-{
-public:
- CHIPDoorLockAlarmMaskAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action,
- SubscriptionEstablishedHandler establishedHandler) :
- CHIPDoorLockAlarmMaskAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class CHIPDoorLockKeypadOperationEventMaskAttributeCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockKeypadOperationEventMaskAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action, bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context, chip::BitFlags value);
-};
-
-class CHIPDoorLockKeypadOperationEventMaskAttributeCallbackSubscriptionBridge
- : public CHIPDoorLockKeypadOperationEventMaskAttributeCallbackBridge
-{
-public:
- CHIPDoorLockKeypadOperationEventMaskAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action,
- SubscriptionEstablishedHandler establishedHandler) :
- CHIPDoorLockKeypadOperationEventMaskAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class CHIPDoorLockRemoteOperationEventMaskAttributeCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockRemoteOperationEventMaskAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action, bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context, chip::BitFlags value);
-};
-
-class CHIPDoorLockRemoteOperationEventMaskAttributeCallbackSubscriptionBridge
- : public CHIPDoorLockRemoteOperationEventMaskAttributeCallbackBridge
-{
-public:
- CHIPDoorLockRemoteOperationEventMaskAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action,
- SubscriptionEstablishedHandler establishedHandler) :
- CHIPDoorLockRemoteOperationEventMaskAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class CHIPDoorLockManualOperationEventMaskAttributeCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockManualOperationEventMaskAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action, bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context, chip::BitFlags value);
-};
-
-class CHIPDoorLockManualOperationEventMaskAttributeCallbackSubscriptionBridge
- : public CHIPDoorLockManualOperationEventMaskAttributeCallbackBridge
-{
-public:
- CHIPDoorLockManualOperationEventMaskAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action,
- SubscriptionEstablishedHandler establishedHandler) :
- CHIPDoorLockManualOperationEventMaskAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class CHIPDoorLockRFIDOperationEventMaskAttributeCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockRFIDOperationEventMaskAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action, bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context, chip::BitFlags value);
-};
-
-class CHIPDoorLockRFIDOperationEventMaskAttributeCallbackSubscriptionBridge
- : public CHIPDoorLockRFIDOperationEventMaskAttributeCallbackBridge
-{
-public:
- CHIPDoorLockRFIDOperationEventMaskAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action,
- SubscriptionEstablishedHandler establishedHandler) :
- CHIPDoorLockRFIDOperationEventMaskAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action, bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context, chip::BitFlags value);
-};
-
-class CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackSubscriptionBridge
- : public CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackBridge
-{
-public:
- CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action,
- SubscriptionEstablishedHandler establishedHandler) :
- CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action, bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context, chip::BitFlags value);
-};
-
-class CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackSubscriptionBridge
- : public CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackBridge
-{
-public:
- CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action,
- SubscriptionEstablishedHandler establishedHandler) :
- CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class CHIPDoorLockRFIDProgrammingEventMaskAttributeCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockRFIDProgrammingEventMaskAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action, bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context, chip::BitFlags value);
-};
-
-class CHIPDoorLockRFIDProgrammingEventMaskAttributeCallbackSubscriptionBridge
- : public CHIPDoorLockRFIDProgrammingEventMaskAttributeCallbackBridge
-{
-public:
- CHIPDoorLockRFIDProgrammingEventMaskAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler,
- CHIPActionBlock action,
- SubscriptionEstablishedHandler establishedHandler) :
- CHIPDoorLockRFIDProgrammingEventMaskAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
class CHIPDoorLockGeneratedCommandListListAttributeCallbackBridge
: public CHIPCallbackBridge
{
@@ -9734,42 +9487,6 @@ class CHIPDiagnosticLogsClusterRetrieveLogsResponseCallbackBridge
const chip::app::Clusters::DiagnosticLogs::Commands::RetrieveLogsResponse::DecodableType & data);
};
-class CHIPDoorLockClusterGetLogRecordResponseCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockClusterGetLogRecordResponseCallbackBridge(dispatch_queue_t queue, ResponseHandler handler, CHIPActionBlock action,
- bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context,
- const chip::app::Clusters::DoorLock::Commands::GetLogRecordResponse::DecodableType & data);
-};
-
-class CHIPDoorLockClusterGetPINCodeResponseCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockClusterGetPINCodeResponseCallbackBridge(dispatch_queue_t queue, ResponseHandler handler, CHIPActionBlock action,
- bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context,
- const chip::app::Clusters::DoorLock::Commands::GetPINCodeResponse::DecodableType & data);
-};
-
-class CHIPDoorLockClusterGetUserStatusResponseCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockClusterGetUserStatusResponseCallbackBridge(dispatch_queue_t queue, ResponseHandler handler, CHIPActionBlock action,
- bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context,
- const chip::app::Clusters::DoorLock::Commands::GetUserStatusResponse::DecodableType & data);
-};
-
class CHIPDoorLockClusterGetWeekDayScheduleResponseCallbackBridge
: public CHIPCallbackBridge
{
@@ -9809,30 +9526,6 @@ class CHIPDoorLockClusterGetHolidayScheduleResponseCallbackBridge
const chip::app::Clusters::DoorLock::Commands::GetHolidayScheduleResponse::DecodableType & data);
};
-class CHIPDoorLockClusterGetUserTypeResponseCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockClusterGetUserTypeResponseCallbackBridge(dispatch_queue_t queue, ResponseHandler handler, CHIPActionBlock action,
- bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context,
- const chip::app::Clusters::DoorLock::Commands::GetUserTypeResponse::DecodableType & data);
-};
-
-class CHIPDoorLockClusterGetRFIDCodeResponseCallbackBridge
- : public CHIPCallbackBridge
-{
-public:
- CHIPDoorLockClusterGetRFIDCodeResponseCallbackBridge(dispatch_queue_t queue, ResponseHandler handler, CHIPActionBlock action,
- bool keepAlive = false) :
- CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context,
- const chip::app::Clusters::DoorLock::Commands::GetRFIDCodeResponse::DecodableType & data);
-};
-
class CHIPDoorLockClusterGetUserResponseCallbackBridge : public CHIPCallbackBridge
{
public:
diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h
index 8ff354f93a34ab..eb8561fc89bd2e 100644
--- a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h
+++ b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h
@@ -4532,23 +4532,6 @@ NS_ASSUME_NONNULL_BEGIN
completionHandler:(StatusCompletion)completionHandler;
- (void)unlockWithTimeoutWithParams:(CHIPDoorLockClusterUnlockWithTimeoutParams *)params
completionHandler:(StatusCompletion)completionHandler;
-- (void)getLogRecordWithParams:(CHIPDoorLockClusterGetLogRecordParams *)params
- completionHandler:(void (^)(CHIPDoorLockClusterGetLogRecordResponseParams * _Nullable data,
- NSError * _Nullable error))completionHandler;
-- (void)setPINCodeWithParams:(CHIPDoorLockClusterSetPINCodeParams *)params completionHandler:(StatusCompletion)completionHandler;
-- (void)getPINCodeWithParams:(CHIPDoorLockClusterGetPINCodeParams *)params
- completionHandler:
- (void (^)(CHIPDoorLockClusterGetPINCodeResponseParams * _Nullable data, NSError * _Nullable error))completionHandler;
-- (void)clearPINCodeWithParams:(CHIPDoorLockClusterClearPINCodeParams *)params
- completionHandler:(StatusCompletion)completionHandler;
-- (void)clearAllPINCodesWithParams:(CHIPDoorLockClusterClearAllPINCodesParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-- (void)clearAllPINCodesWithCompletionHandler:(StatusCompletion)completionHandler;
-- (void)setUserStatusWithParams:(CHIPDoorLockClusterSetUserStatusParams *)params
- completionHandler:(StatusCompletion)completionHandler;
-- (void)getUserStatusWithParams:(CHIPDoorLockClusterGetUserStatusParams *)params
- completionHandler:(void (^)(CHIPDoorLockClusterGetUserStatusResponseParams * _Nullable data,
- NSError * _Nullable error))completionHandler;
- (void)setWeekDayScheduleWithParams:(CHIPDoorLockClusterSetWeekDayScheduleParams *)params
completionHandler:(StatusCompletion)completionHandler;
- (void)getWeekDayScheduleWithParams:(CHIPDoorLockClusterGetWeekDayScheduleParams *)params
@@ -4570,19 +4553,6 @@ NS_ASSUME_NONNULL_BEGIN
NSError * _Nullable error))completionHandler;
- (void)clearHolidayScheduleWithParams:(CHIPDoorLockClusterClearHolidayScheduleParams *)params
completionHandler:(StatusCompletion)completionHandler;
-- (void)setUserTypeWithParams:(CHIPDoorLockClusterSetUserTypeParams *)params completionHandler:(StatusCompletion)completionHandler;
-- (void)getUserTypeWithParams:(CHIPDoorLockClusterGetUserTypeParams *)params
- completionHandler:(void (^)(CHIPDoorLockClusterGetUserTypeResponseParams * _Nullable data,
- NSError * _Nullable error))completionHandler;
-- (void)setRFIDCodeWithParams:(CHIPDoorLockClusterSetRFIDCodeParams *)params completionHandler:(StatusCompletion)completionHandler;
-- (void)getRFIDCodeWithParams:(CHIPDoorLockClusterGetRFIDCodeParams *)params
- completionHandler:(void (^)(CHIPDoorLockClusterGetRFIDCodeResponseParams * _Nullable data,
- NSError * _Nullable error))completionHandler;
-- (void)clearRFIDCodeWithParams:(CHIPDoorLockClusterClearRFIDCodeParams *)params
- completionHandler:(StatusCompletion)completionHandler;
-- (void)clearAllRFIDCodesWithParams:(CHIPDoorLockClusterClearAllRFIDCodesParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-- (void)clearAllRFIDCodesWithCompletionHandler:(StatusCompletion)completionHandler;
- (void)setUserWithParams:(CHIPDoorLockClusterSetUserParams *)params completionHandler:(StatusCompletion)completionHandler;
- (void)getUserWithParams:(CHIPDoorLockClusterGetUserParams *)params
completionHandler:
@@ -4596,10 +4566,6 @@ NS_ASSUME_NONNULL_BEGIN
NSError * _Nullable error))completionHandler;
- (void)clearCredentialWithParams:(CHIPDoorLockClusterClearCredentialParams *)params
completionHandler:(StatusCompletion)completionHandler;
-- (void)operatingEventNotificationWithParams:(CHIPDoorLockClusterOperatingEventNotificationParams *)params
- completionHandler:(StatusCompletion)completionHandler;
-- (void)programmingEventNotificationWithParams:(CHIPDoorLockClusterProgrammingEventNotificationParams *)params
- completionHandler:(StatusCompletion)completionHandler;
- (void)readAttributeLockStateWithCompletionHandler:(void (^)(
NSNumber * _Nullable value, NSError * _Nullable error))completionHandler;
@@ -4732,25 +4698,6 @@ NS_ASSUME_NONNULL_BEGIN
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler;
-- (void)readAttributeNumberOfLogRecordsSupportedWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeNumberOfLogRecordsSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler;
-+ (void)readAttributeNumberOfLogRecordsSupportedWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-
- (void)readAttributeNumberOfTotalUsersSupportedWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler;
/**
@@ -4977,28 +4924,6 @@ NS_ASSUME_NONNULL_BEGIN
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler;
-- (void)readAttributeEnableLoggingWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-- (void)writeAttributeEnableLoggingWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler;
-- (void)writeAttributeEnableLoggingWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeEnableLoggingWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler;
-+ (void)readAttributeEnableLoggingWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler;
-
- (void)readAttributeLanguageWithCompletionHandler:(void (^)(
NSString * _Nullable value, NSError * _Nullable error))completionHandler;
- (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler;
@@ -5379,194 +5304,6 @@ NS_ASSUME_NONNULL_BEGIN
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler;
-- (void)readAttributeAlarmMaskWithCompletionHandler:(void (^)(
- NSNumber * _Nullable value, NSError * _Nullable error))completionHandler;
-- (void)writeAttributeAlarmMaskWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler;
-- (void)writeAttributeAlarmMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeAlarmMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler;
-+ (void)readAttributeAlarmMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler;
-
-- (void)readAttributeKeypadOperationEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-- (void)writeAttributeKeypadOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler;
-- (void)writeAttributeKeypadOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeKeypadOperationEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler;
-+ (void)readAttributeKeypadOperationEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-
-- (void)readAttributeRemoteOperationEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-- (void)writeAttributeRemoteOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler;
-- (void)writeAttributeRemoteOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeRemoteOperationEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler;
-+ (void)readAttributeRemoteOperationEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-
-- (void)readAttributeManualOperationEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-- (void)writeAttributeManualOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler;
-- (void)writeAttributeManualOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeManualOperationEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler;
-+ (void)readAttributeManualOperationEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-
-- (void)readAttributeRFIDOperationEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-- (void)writeAttributeRFIDOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler;
-- (void)writeAttributeRFIDOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeRFIDOperationEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler;
-+ (void)readAttributeRFIDOperationEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler;
-
-- (void)readAttributeKeypadProgrammingEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-- (void)writeAttributeKeypadProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler;
-- (void)writeAttributeKeypadProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeKeypadProgrammingEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler;
-+ (void)readAttributeKeypadProgrammingEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-
-- (void)readAttributeRemoteProgrammingEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-- (void)writeAttributeRemoteProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler;
-- (void)writeAttributeRemoteProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeRemoteProgrammingEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler;
-+ (void)readAttributeRemoteProgrammingEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-
-- (void)readAttributeRFIDProgrammingEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-- (void)writeAttributeRFIDProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler;
-- (void)writeAttributeRFIDProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler;
-/**
- * This API does not support setting autoResubscribe to NO in the
- * CHIPSubscribeParams.
- */
-- (void)subscribeAttributeRFIDProgrammingEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler;
-+ (void)readAttributeRFIDProgrammingEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler;
-
- (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completionHandler;
/**
@@ -22169,16 +21906,6 @@ typedef NS_ENUM(uint8_t, CHIPDoorLockUserType) {
CHIPDoorLockUserTypeNotSupported = 0xFF,
};
-typedef NS_OPTIONS(uint16_t, CHIPDoorLockDlAlarmMask) {
- CHIPDoorLockDlAlarmMaskLockingMechanismJammed = 0x1,
- CHIPDoorLockDlAlarmMaskLockResetToFactoryDefaults = 0x2,
- CHIPDoorLockDlAlarmMaskReserved = 0x4,
- CHIPDoorLockDlAlarmMaskRFModulePowerCycled = 0x8,
- CHIPDoorLockDlAlarmMaskWrongCodeEntryLimit = 0x10,
- CHIPDoorLockDlAlarmMaskFrontEscutcheonRemovedFromMain = 0x20,
- CHIPDoorLockDlAlarmMaskForcedDoorOpenUnderDoorLockedCondition = 0x40,
-};
-
typedef NS_OPTIONS(uint8_t, CHIPDoorLockDlCredentialRuleMask) {
CHIPDoorLockDlCredentialRuleMaskSingle = 0x1,
CHIPDoorLockDlCredentialRuleMaskDual = 0x2,
diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm
index cb95cbe211e29c..5a0097b4d40fee 100644
--- a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm
@@ -17508,203 +17508,6 @@ new CHIPCommandSuccessCallbackBridge(
});
}
-- (void)getLogRecordWithParams:(CHIPDoorLockClusterGetLogRecordParams *)params
- completionHandler:(void (^)(CHIPDoorLockClusterGetLogRecordResponseParams * _Nullable data,
- NSError * _Nullable error))completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::GetLogRecord::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- request.logIndex = params.logIndex.unsignedShortValue;
-
- new CHIPDoorLockClusterGetLogRecordResponseCallbackBridge(
- 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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)setPINCodeWithParams:(CHIPDoorLockClusterSetPINCodeParams *)params completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::SetPINCode::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- if (!timedInvokeTimeoutMs.HasValue()) {
- timedInvokeTimeoutMs.SetValue(10000);
- }
- request.userId = params.userId.unsignedShortValue;
- if (params.userStatus == nil) {
- request.userStatus.SetNull();
- } else {
- auto & nonNullValue_0 = request.userStatus.SetNonNull();
- nonNullValue_0 = static_cast>(params.userStatus.unsignedCharValue);
- }
- if (params.userType == nil) {
- request.userType.SetNull();
- } else {
- auto & nonNullValue_0 = request.userType.SetNonNull();
- nonNullValue_0 = static_cast>(params.userType.unsignedCharValue);
- }
- request.pin = [self asByteSpan:params.pin];
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)getPINCodeWithParams:(CHIPDoorLockClusterGetPINCodeParams *)params
- completionHandler:
- (void (^)(CHIPDoorLockClusterGetPINCodeResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::GetPINCode::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- request.userId = params.userId.unsignedShortValue;
-
- new CHIPDoorLockClusterGetPINCodeResponseCallbackBridge(
- 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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)clearPINCodeWithParams:(CHIPDoorLockClusterClearPINCodeParams *)params completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::ClearPINCode::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- if (!timedInvokeTimeoutMs.HasValue()) {
- timedInvokeTimeoutMs.SetValue(10000);
- }
- request.pinSlotIndex = params.pinSlotIndex.unsignedShortValue;
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)clearAllPINCodesWithCompletionHandler:(StatusCompletion)completionHandler
-{
- [self clearAllPINCodesWithParams:nil completionHandler:completionHandler];
-}
-- (void)clearAllPINCodesWithParams:(CHIPDoorLockClusterClearAllPINCodesParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::ClearAllPINCodes::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- if (!timedInvokeTimeoutMs.HasValue()) {
- timedInvokeTimeoutMs.SetValue(10000);
- }
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)setUserStatusWithParams:(CHIPDoorLockClusterSetUserStatusParams *)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::SetUserStatus::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- request.userId = params.userId.unsignedShortValue;
- request.userStatus = static_cast>(params.userStatus.unsignedCharValue);
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)getUserStatusWithParams:(CHIPDoorLockClusterGetUserStatusParams *)params
- completionHandler:(void (^)(CHIPDoorLockClusterGetUserStatusResponseParams * _Nullable data,
- NSError * _Nullable error))completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::GetUserStatus::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- request.userId = params.userId.unsignedShortValue;
-
- new CHIPDoorLockClusterGetUserStatusResponseCallbackBridge(
- 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, timedInvokeTimeoutMs);
- });
-}
-
- (void)setWeekDayScheduleWithParams:(CHIPDoorLockClusterSetWeekDayScheduleParams *)params
completionHandler:(StatusCompletion)completionHandler
{
@@ -17947,60 +17750,11 @@ new CHIPCommandSuccessCallbackBridge(
});
}
-- (void)setUserTypeWithParams:(CHIPDoorLockClusterSetUserTypeParams *)params completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::SetUserType::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- request.userId = params.userId.unsignedShortValue;
- request.userType = static_cast>(params.userType.unsignedCharValue);
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)getUserTypeWithParams:(CHIPDoorLockClusterGetUserTypeParams *)params
- completionHandler:(void (^)(CHIPDoorLockClusterGetUserTypeResponseParams * _Nullable data,
- NSError * _Nullable error))completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::GetUserType::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- request.userId = params.userId.unsignedShortValue;
-
- new CHIPDoorLockClusterGetUserTypeResponseCallbackBridge(
- 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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)setRFIDCodeWithParams:(CHIPDoorLockClusterSetRFIDCodeParams *)params completionHandler:(StatusCompletion)completionHandler
+- (void)setUserWithParams:(CHIPDoorLockClusterSetUserParams *)params completionHandler:(StatusCompletion)completionHandler
{
chip::Optional timedInvokeTimeoutMs;
ListFreer listFreer;
- DoorLock::Commands::SetRFIDCode::Type request;
+ DoorLock::Commands::SetUser::Type request;
if (params != nil) {
if (params.timedInvokeTimeoutMs != nil) {
timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
@@ -18009,7 +17763,21 @@ - (void)setRFIDCodeWithParams:(CHIPDoorLockClusterSetRFIDCodeParams *)params com
if (!timedInvokeTimeoutMs.HasValue()) {
timedInvokeTimeoutMs.SetValue(10000);
}
- request.userId = params.userId.unsignedShortValue;
+ request.operationType
+ = static_cast>(params.operationType.unsignedCharValue);
+ request.userIndex = params.userIndex.unsignedShortValue;
+ if (params.userName == nil) {
+ request.userName.SetNull();
+ } else {
+ auto & nonNullValue_0 = request.userName.SetNonNull();
+ nonNullValue_0 = [self asCharSpan:params.userName];
+ }
+ if (params.userUniqueId == nil) {
+ request.userUniqueId.SetNull();
+ } else {
+ auto & nonNullValue_0 = request.userUniqueId.SetNonNull();
+ nonNullValue_0 = params.userUniqueId.unsignedIntValue;
+ }
if (params.userStatus == nil) {
request.userStatus.SetNull();
} else {
@@ -18022,7 +17790,12 @@ - (void)setRFIDCodeWithParams:(CHIPDoorLockClusterSetRFIDCodeParams *)params com
auto & nonNullValue_0 = request.userType.SetNonNull();
nonNullValue_0 = static_cast>(params.userType.unsignedCharValue);
}
- request.rfidCode = [self asByteSpan:params.rfidCode];
+ if (params.credentialRule == nil) {
+ request.credentialRule.SetNull();
+ } else {
+ auto & nonNullValue_0 = request.credentialRule.SetNonNull();
+ nonNullValue_0 = static_cast>(params.credentialRule.unsignedCharValue);
+ }
new CHIPCommandSuccessCallbackBridge(
self.callbackQueue,
@@ -18037,35 +17810,34 @@ new CHIPCommandSuccessCallbackBridge(
});
}
-- (void)getRFIDCodeWithParams:(CHIPDoorLockClusterGetRFIDCodeParams *)params
- completionHandler:(void (^)(CHIPDoorLockClusterGetRFIDCodeResponseParams * _Nullable data,
- NSError * _Nullable error))completionHandler
+- (void)getUserWithParams:(CHIPDoorLockClusterGetUserParams *)params
+ completionHandler:
+ (void (^)(CHIPDoorLockClusterGetUserResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
{
chip::Optional timedInvokeTimeoutMs;
ListFreer listFreer;
- DoorLock::Commands::GetRFIDCode::Type request;
+ DoorLock::Commands::GetUser::Type request;
if (params != nil) {
if (params.timedInvokeTimeoutMs != nil) {
timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
}
}
- request.userId = params.userId.unsignedShortValue;
+ request.userIndex = params.userIndex.unsignedShortValue;
- new CHIPDoorLockClusterGetRFIDCodeResponseCallbackBridge(
+ new CHIPDoorLockClusterGetUserResponseCallbackBridge(
self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- auto successFn = Callback::FromCancelable(success);
+ auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
return self.cppCluster.InvokeCommand(
request, successFn->mContext, successFn->mCall, failureFn->mCall, timedInvokeTimeoutMs);
});
}
-- (void)clearRFIDCodeWithParams:(CHIPDoorLockClusterClearRFIDCodeParams *)params
- completionHandler:(StatusCompletion)completionHandler
+- (void)clearUserWithParams:(CHIPDoorLockClusterClearUserParams *)params completionHandler:(StatusCompletion)completionHandler
{
chip::Optional timedInvokeTimeoutMs;
ListFreer listFreer;
- DoorLock::Commands::ClearRFIDCode::Type request;
+ DoorLock::Commands::ClearUser::Type request;
if (params != nil) {
if (params.timedInvokeTimeoutMs != nil) {
timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
@@ -18074,7 +17846,7 @@ - (void)clearRFIDCodeWithParams:(CHIPDoorLockClusterClearRFIDCodeParams *)params
if (!timedInvokeTimeoutMs.HasValue()) {
timedInvokeTimeoutMs.SetValue(10000);
}
- request.rfidSlotIndex = params.rfidSlotIndex.unsignedShortValue;
+ request.userIndex = params.userIndex.unsignedShortValue;
new CHIPCommandSuccessCallbackBridge(
self.callbackQueue,
@@ -18089,156 +17861,13 @@ new CHIPCommandSuccessCallbackBridge(
});
}
-- (void)clearAllRFIDCodesWithCompletionHandler:(StatusCompletion)completionHandler
-{
- [self clearAllRFIDCodesWithParams:nil completionHandler:completionHandler];
-}
-- (void)clearAllRFIDCodesWithParams:(CHIPDoorLockClusterClearAllRFIDCodesParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
+- (void)setCredentialWithParams:(CHIPDoorLockClusterSetCredentialParams *)params
+ completionHandler:(void (^)(CHIPDoorLockClusterSetCredentialResponseParams * _Nullable data,
+ NSError * _Nullable error))completionHandler
{
chip::Optional timedInvokeTimeoutMs;
ListFreer listFreer;
- DoorLock::Commands::ClearAllRFIDCodes::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- if (!timedInvokeTimeoutMs.HasValue()) {
- timedInvokeTimeoutMs.SetValue(10000);
- }
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)setUserWithParams:(CHIPDoorLockClusterSetUserParams *)params completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::SetUser::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- if (!timedInvokeTimeoutMs.HasValue()) {
- timedInvokeTimeoutMs.SetValue(10000);
- }
- request.operationType
- = static_cast>(params.operationType.unsignedCharValue);
- request.userIndex = params.userIndex.unsignedShortValue;
- if (params.userName == nil) {
- request.userName.SetNull();
- } else {
- auto & nonNullValue_0 = request.userName.SetNonNull();
- nonNullValue_0 = [self asCharSpan:params.userName];
- }
- if (params.userUniqueId == nil) {
- request.userUniqueId.SetNull();
- } else {
- auto & nonNullValue_0 = request.userUniqueId.SetNonNull();
- nonNullValue_0 = params.userUniqueId.unsignedIntValue;
- }
- if (params.userStatus == nil) {
- request.userStatus.SetNull();
- } else {
- auto & nonNullValue_0 = request.userStatus.SetNonNull();
- nonNullValue_0 = static_cast>(params.userStatus.unsignedCharValue);
- }
- if (params.userType == nil) {
- request.userType.SetNull();
- } else {
- auto & nonNullValue_0 = request.userType.SetNonNull();
- nonNullValue_0 = static_cast>(params.userType.unsignedCharValue);
- }
- if (params.credentialRule == nil) {
- request.credentialRule.SetNull();
- } else {
- auto & nonNullValue_0 = request.credentialRule.SetNonNull();
- nonNullValue_0 = static_cast>(params.credentialRule.unsignedCharValue);
- }
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)getUserWithParams:(CHIPDoorLockClusterGetUserParams *)params
- completionHandler:
- (void (^)(CHIPDoorLockClusterGetUserResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::GetUser::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- request.userIndex = params.userIndex.unsignedShortValue;
-
- new CHIPDoorLockClusterGetUserResponseCallbackBridge(
- 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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)clearUserWithParams:(CHIPDoorLockClusterClearUserParams *)params completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::ClearUser::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- if (!timedInvokeTimeoutMs.HasValue()) {
- timedInvokeTimeoutMs.SetValue(10000);
- }
- request.userIndex = params.userIndex.unsignedShortValue;
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)setCredentialWithParams:(CHIPDoorLockClusterSetCredentialParams *)params
- completionHandler:(void (^)(CHIPDoorLockClusterSetCredentialResponseParams * _Nullable data,
- NSError * _Nullable error))completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::SetCredential::Type request;
+ DoorLock::Commands::SetCredential::Type request;
if (params != nil) {
if (params.timedInvokeTimeoutMs != nil) {
timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
@@ -18342,76 +17971,6 @@ new CHIPCommandSuccessCallbackBridge(
});
}
-- (void)operatingEventNotificationWithParams:(CHIPDoorLockClusterOperatingEventNotificationParams *)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::OperatingEventNotification::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- request.operationEventSource = params.operationEventSource.unsignedCharValue;
- request.operationEventCode = params.operationEventCode.unsignedCharValue;
- request.userId = params.userId.unsignedShortValue;
- request.pin = [self asByteSpan:params.pin];
- request.localTime = params.localTime.unsignedIntValue;
- if (params.data != nil) {
- auto & definedValue_0 = request.data.Emplace();
- definedValue_0 = [self asCharSpan:params.data];
- }
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
-- (void)programmingEventNotificationWithParams:(CHIPDoorLockClusterProgrammingEventNotificationParams *)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedInvokeTimeoutMs;
- ListFreer listFreer;
- DoorLock::Commands::ProgrammingEventNotification::Type request;
- if (params != nil) {
- if (params.timedInvokeTimeoutMs != nil) {
- timedInvokeTimeoutMs.SetValue(params.timedInvokeTimeoutMs.unsignedShortValue);
- }
- }
- request.programEventSource = params.programEventSource.unsignedCharValue;
- request.programEventCode = params.programEventCode.unsignedCharValue;
- request.userId = params.userId.unsignedShortValue;
- request.pin = [self asByteSpan:params.pin];
- request.userType = static_cast>(params.userType.unsignedCharValue);
- request.userStatus = static_cast>(params.userStatus.unsignedCharValue);
- request.localTime = params.localTime.unsignedIntValue;
- if (params.data != nil) {
- auto & definedValue_0 = request.data.Emplace();
- definedValue_0 = [self asCharSpan:params.data];
- }
-
- new CHIPCommandSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable value, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(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, timedInvokeTimeoutMs);
- });
-}
-
- (void)readAttributeLockStateWithCompletionHandler:(void (^)(
NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
{
@@ -18940,69 +18499,6 @@ new CHIPInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * s
});
}
-- (void)readAttributeNumberOfLogRecordsSupportedWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler
-{
- new CHIPInt16uAttributeCallbackBridge(self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::NumberOfLogRecordsSupported::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
- });
-}
-
-- (void)subscribeAttributeNumberOfLogRecordsSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler
-{
- new CHIPInt16uAttributeCallbackSubscriptionBridge(
- self.callbackQueue, reportHandler,
- ^(Cancelable * success, Cancelable * failure) {
- if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
- // We don't support disabling auto-resubscribe.
- return CHIP_ERROR_INVALID_ARGUMENT;
- }
- using TypeInfo = DoorLock::Attributes::NumberOfLogRecordsSupported::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.SubscribeAttribute(successFn->mContext, successFn->mCall, failureFn->mCall,
- [minInterval unsignedShortValue], [maxInterval unsignedShortValue],
- CHIPInt16uAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished,
- params == nil || params.fabricFiltered == nil || [params.fabricFiltered boolValue],
- params != nil && params.keepPreviousSubscriptions != nil && [params.keepPreviousSubscriptions boolValue]);
- },
- subscriptionEstablishedHandler);
-}
-
-+ (void)readAttributeNumberOfLogRecordsSupportedWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler
-{
- new CHIPInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- if (attributeCacheContainer.cppAttributeCache) {
- chip::app::ConcreteAttributePath path;
- using TypeInfo = DoorLock::Attributes::NumberOfLogRecordsSupported::TypeInfo;
- path.mEndpointId = static_cast([endpoint unsignedShortValue]);
- path.mClusterId = TypeInfo::GetClusterId();
- path.mAttributeId = TypeInfo::GetAttributeId();
- TypeInfo::DecodableType value;
- CHIP_ERROR err = attributeCacheContainer.cppAttributeCache->Get(path, value);
- auto successFn = Callback::FromCancelable(success);
- if (err == CHIP_NO_ERROR) {
- successFn->mCall(successFn->mContext, value);
- }
- return err;
- }
- return CHIP_ERROR_NOT_FOUND;
- });
-}
-
- (void)readAttributeNumberOfTotalUsersSupportedWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
{
@@ -19759,24 +19255,24 @@ new CHIPInt8uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su
});
}
-- (void)readAttributeEnableLoggingWithCompletionHandler:(void (^)(
- NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
+- (void)readAttributeLanguageWithCompletionHandler:(void (^)(
+ NSString * _Nullable value, NSError * _Nullable error))completionHandler
{
- new CHIPBooleanAttributeCallbackBridge(self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::EnableLogging::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
+ new CHIPCharStringAttributeCallbackBridge(self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
+ using TypeInfo = DoorLock::Attributes::Language::TypeInfo;
+ auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
});
}
-- (void)writeAttributeEnableLoggingWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler
+- (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler
{
- [self writeAttributeEnableLoggingWithValue:(NSNumber * _Nonnull) value params:nil completionHandler:completionHandler];
+ [self writeAttributeLanguageWithValue:(NSString * _Nonnull) value params:nil completionHandler:completionHandler];
}
-- (void)writeAttributeEnableLoggingWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
+- (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value
+ params:(CHIPWriteParams * _Nullable)params
+ completionHandler:(StatusCompletion)completionHandler
{
chip::Optional timedWriteTimeoutMs;
if (params != nil) {
@@ -19792,101 +19288,7 @@ new CHIPDefaultSuccessCallbackBridge(
},
^(Cancelable * success, Cancelable * failure) {
ListFreer listFreer;
- using TypeInfo = DoorLock::Attributes::EnableLogging::TypeInfo;
- TypeInfo::Type cppValue;
- cppValue = value.boolValue;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.WriteAttribute(
- cppValue, successFn->mContext, successFn->mCall, failureFn->mCall, timedWriteTimeoutMs);
- });
-}
-
-- (void)subscribeAttributeEnableLoggingWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
-{
- new CHIPBooleanAttributeCallbackSubscriptionBridge(
- self.callbackQueue, reportHandler,
- ^(Cancelable * success, Cancelable * failure) {
- if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
- // We don't support disabling auto-resubscribe.
- return CHIP_ERROR_INVALID_ARGUMENT;
- }
- using TypeInfo = DoorLock::Attributes::EnableLogging::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.SubscribeAttribute(successFn->mContext, successFn->mCall, failureFn->mCall,
- [minInterval unsignedShortValue], [maxInterval unsignedShortValue],
- CHIPBooleanAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished,
- params == nil || params.fabricFiltered == nil || [params.fabricFiltered boolValue],
- params != nil && params.keepPreviousSubscriptions != nil && [params.keepPreviousSubscriptions boolValue]);
- },
- subscriptionEstablishedHandler);
-}
-
-+ (void)readAttributeEnableLoggingWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
-{
- new CHIPBooleanAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- if (attributeCacheContainer.cppAttributeCache) {
- chip::app::ConcreteAttributePath path;
- using TypeInfo = DoorLock::Attributes::EnableLogging::TypeInfo;
- path.mEndpointId = static_cast([endpoint unsignedShortValue]);
- path.mClusterId = TypeInfo::GetClusterId();
- path.mAttributeId = TypeInfo::GetAttributeId();
- TypeInfo::DecodableType value;
- CHIP_ERROR err = attributeCacheContainer.cppAttributeCache->Get(path, value);
- auto successFn = Callback::FromCancelable(success);
- if (err == CHIP_NO_ERROR) {
- successFn->mCall(successFn->mContext, value);
- }
- return err;
- }
- return CHIP_ERROR_NOT_FOUND;
- });
-}
-
-- (void)readAttributeLanguageWithCompletionHandler:(void (^)(
- NSString * _Nullable value, NSError * _Nullable error))completionHandler
-{
- new CHIPCharStringAttributeCallbackBridge(self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::Language::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
- });
-}
-
-- (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler
-{
- [self writeAttributeLanguageWithValue:(NSString * _Nonnull) value params:nil completionHandler:completionHandler];
-}
-- (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedWriteTimeoutMs;
- if (params != nil) {
- if (params.timedWriteTimeoutMs != nil) {
- timedWriteTimeoutMs.SetValue(params.timedWriteTimeoutMs.unsignedShortValue);
- }
- }
-
- new CHIPDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(Cancelable * success, Cancelable * failure) {
- ListFreer listFreer;
- using TypeInfo = DoorLock::Attributes::Language::TypeInfo;
+ using TypeInfo = DoorLock::Attributes::Language::TypeInfo;
TypeInfo::Type cppValue;
cppValue = [self asCharSpan:value];
auto successFn = Callback::FromCancelable(success);
@@ -21417,797 +20819,6 @@ new CHIPInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * s
});
}
-- (void)readAttributeAlarmMaskWithCompletionHandler:(void (^)(
- NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockAlarmMaskAttributeCallbackBridge(
- self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::AlarmMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
- });
-}
-
-- (void)writeAttributeAlarmMaskWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler
-{
- [self writeAttributeAlarmMaskWithValue:(NSNumber * _Nonnull) value params:nil completionHandler:completionHandler];
-}
-- (void)writeAttributeAlarmMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedWriteTimeoutMs;
- if (params != nil) {
- if (params.timedWriteTimeoutMs != nil) {
- timedWriteTimeoutMs.SetValue(params.timedWriteTimeoutMs.unsignedShortValue);
- }
- }
-
- new CHIPDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(Cancelable * success, Cancelable * failure) {
- ListFreer listFreer;
- using TypeInfo = DoorLock::Attributes::AlarmMask::TypeInfo;
- TypeInfo::Type cppValue;
- cppValue = static_cast>(value.unsignedShortValue);
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.WriteAttribute(
- cppValue, successFn->mContext, successFn->mCall, failureFn->mCall, timedWriteTimeoutMs);
- });
-}
-
-- (void)subscribeAttributeAlarmMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
-{
- new CHIPDoorLockAlarmMaskAttributeCallbackSubscriptionBridge(
- self.callbackQueue, reportHandler,
- ^(Cancelable * success, Cancelable * failure) {
- if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
- // We don't support disabling auto-resubscribe.
- return CHIP_ERROR_INVALID_ARGUMENT;
- }
- using TypeInfo = DoorLock::Attributes::AlarmMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.SubscribeAttribute(successFn->mContext, successFn->mCall, failureFn->mCall,
- [minInterval unsignedShortValue], [maxInterval unsignedShortValue],
- CHIPDoorLockAlarmMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished,
- params == nil || params.fabricFiltered == nil || [params.fabricFiltered boolValue],
- params != nil && params.keepPreviousSubscriptions != nil && [params.keepPreviousSubscriptions boolValue]);
- },
- subscriptionEstablishedHandler);
-}
-
-+ (void)readAttributeAlarmMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockAlarmMaskAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- if (attributeCacheContainer.cppAttributeCache) {
- chip::app::ConcreteAttributePath path;
- using TypeInfo = DoorLock::Attributes::AlarmMask::TypeInfo;
- path.mEndpointId = static_cast([endpoint unsignedShortValue]);
- path.mClusterId = TypeInfo::GetClusterId();
- path.mAttributeId = TypeInfo::GetAttributeId();
- TypeInfo::DecodableType value;
- CHIP_ERROR err = attributeCacheContainer.cppAttributeCache->Get(path, value);
- auto successFn = Callback::FromCancelable(success);
- if (err == CHIP_NO_ERROR) {
- successFn->mCall(successFn->mContext, value);
- }
- return err;
- }
- return CHIP_ERROR_NOT_FOUND;
- });
-}
-
-- (void)readAttributeKeypadOperationEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockKeypadOperationEventMaskAttributeCallbackBridge(
- self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::KeypadOperationEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
- });
-}
-
-- (void)writeAttributeKeypadOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler
-{
- [self writeAttributeKeypadOperationEventMaskWithValue:(NSNumber * _Nonnull) value
- params:nil
- completionHandler:completionHandler];
-}
-- (void)writeAttributeKeypadOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedWriteTimeoutMs;
- if (params != nil) {
- if (params.timedWriteTimeoutMs != nil) {
- timedWriteTimeoutMs.SetValue(params.timedWriteTimeoutMs.unsignedShortValue);
- }
- }
-
- new CHIPDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(Cancelable * success, Cancelable * failure) {
- ListFreer listFreer;
- using TypeInfo = DoorLock::Attributes::KeypadOperationEventMask::TypeInfo;
- TypeInfo::Type cppValue;
- cppValue = static_cast>(value.unsignedShortValue);
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.WriteAttribute(
- cppValue, successFn->mContext, successFn->mCall, failureFn->mCall, timedWriteTimeoutMs);
- });
-}
-
-- (void)subscribeAttributeKeypadOperationEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler
-{
- new CHIPDoorLockKeypadOperationEventMaskAttributeCallbackSubscriptionBridge(
- self.callbackQueue, reportHandler,
- ^(Cancelable * success, Cancelable * failure) {
- if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
- // We don't support disabling auto-resubscribe.
- return CHIP_ERROR_INVALID_ARGUMENT;
- }
- using TypeInfo = DoorLock::Attributes::KeypadOperationEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.SubscribeAttribute(successFn->mContext, successFn->mCall, failureFn->mCall,
- [minInterval unsignedShortValue], [maxInterval unsignedShortValue],
- CHIPDoorLockKeypadOperationEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished,
- params == nil || params.fabricFiltered == nil || [params.fabricFiltered boolValue],
- params != nil && params.keepPreviousSubscriptions != nil && [params.keepPreviousSubscriptions boolValue]);
- },
- subscriptionEstablishedHandler);
-}
-
-+ (void)readAttributeKeypadOperationEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockKeypadOperationEventMaskAttributeCallbackBridge(
- queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- if (attributeCacheContainer.cppAttributeCache) {
- chip::app::ConcreteAttributePath path;
- using TypeInfo = DoorLock::Attributes::KeypadOperationEventMask::TypeInfo;
- path.mEndpointId = static_cast([endpoint unsignedShortValue]);
- path.mClusterId = TypeInfo::GetClusterId();
- path.mAttributeId = TypeInfo::GetAttributeId();
- TypeInfo::DecodableType value;
- CHIP_ERROR err = attributeCacheContainer.cppAttributeCache->Get(path, value);
- auto successFn = Callback::FromCancelable(success);
- if (err == CHIP_NO_ERROR) {
- successFn->mCall(successFn->mContext, value);
- }
- return err;
- }
- return CHIP_ERROR_NOT_FOUND;
- });
-}
-
-- (void)readAttributeRemoteOperationEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockRemoteOperationEventMaskAttributeCallbackBridge(
- self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::RemoteOperationEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
- });
-}
-
-- (void)writeAttributeRemoteOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler
-{
- [self writeAttributeRemoteOperationEventMaskWithValue:(NSNumber * _Nonnull) value
- params:nil
- completionHandler:completionHandler];
-}
-- (void)writeAttributeRemoteOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedWriteTimeoutMs;
- if (params != nil) {
- if (params.timedWriteTimeoutMs != nil) {
- timedWriteTimeoutMs.SetValue(params.timedWriteTimeoutMs.unsignedShortValue);
- }
- }
-
- new CHIPDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(Cancelable * success, Cancelable * failure) {
- ListFreer listFreer;
- using TypeInfo = DoorLock::Attributes::RemoteOperationEventMask::TypeInfo;
- TypeInfo::Type cppValue;
- cppValue = static_cast>(value.unsignedShortValue);
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.WriteAttribute(
- cppValue, successFn->mContext, successFn->mCall, failureFn->mCall, timedWriteTimeoutMs);
- });
-}
-
-- (void)subscribeAttributeRemoteOperationEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler
-{
- new CHIPDoorLockRemoteOperationEventMaskAttributeCallbackSubscriptionBridge(
- self.callbackQueue, reportHandler,
- ^(Cancelable * success, Cancelable * failure) {
- if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
- // We don't support disabling auto-resubscribe.
- return CHIP_ERROR_INVALID_ARGUMENT;
- }
- using TypeInfo = DoorLock::Attributes::RemoteOperationEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.SubscribeAttribute(successFn->mContext, successFn->mCall, failureFn->mCall,
- [minInterval unsignedShortValue], [maxInterval unsignedShortValue],
- CHIPDoorLockRemoteOperationEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished,
- params == nil || params.fabricFiltered == nil || [params.fabricFiltered boolValue],
- params != nil && params.keepPreviousSubscriptions != nil && [params.keepPreviousSubscriptions boolValue]);
- },
- subscriptionEstablishedHandler);
-}
-
-+ (void)readAttributeRemoteOperationEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockRemoteOperationEventMaskAttributeCallbackBridge(
- queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- if (attributeCacheContainer.cppAttributeCache) {
- chip::app::ConcreteAttributePath path;
- using TypeInfo = DoorLock::Attributes::RemoteOperationEventMask::TypeInfo;
- path.mEndpointId = static_cast([endpoint unsignedShortValue]);
- path.mClusterId = TypeInfo::GetClusterId();
- path.mAttributeId = TypeInfo::GetAttributeId();
- TypeInfo::DecodableType value;
- CHIP_ERROR err = attributeCacheContainer.cppAttributeCache->Get(path, value);
- auto successFn = Callback::FromCancelable(success);
- if (err == CHIP_NO_ERROR) {
- successFn->mCall(successFn->mContext, value);
- }
- return err;
- }
- return CHIP_ERROR_NOT_FOUND;
- });
-}
-
-- (void)readAttributeManualOperationEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockManualOperationEventMaskAttributeCallbackBridge(
- self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::ManualOperationEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
- });
-}
-
-- (void)writeAttributeManualOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler
-{
- [self writeAttributeManualOperationEventMaskWithValue:(NSNumber * _Nonnull) value
- params:nil
- completionHandler:completionHandler];
-}
-- (void)writeAttributeManualOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedWriteTimeoutMs;
- if (params != nil) {
- if (params.timedWriteTimeoutMs != nil) {
- timedWriteTimeoutMs.SetValue(params.timedWriteTimeoutMs.unsignedShortValue);
- }
- }
-
- new CHIPDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(Cancelable * success, Cancelable * failure) {
- ListFreer listFreer;
- using TypeInfo = DoorLock::Attributes::ManualOperationEventMask::TypeInfo;
- TypeInfo::Type cppValue;
- cppValue = static_cast>(value.unsignedShortValue);
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.WriteAttribute(
- cppValue, successFn->mContext, successFn->mCall, failureFn->mCall, timedWriteTimeoutMs);
- });
-}
-
-- (void)subscribeAttributeManualOperationEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler
-{
- new CHIPDoorLockManualOperationEventMaskAttributeCallbackSubscriptionBridge(
- self.callbackQueue, reportHandler,
- ^(Cancelable * success, Cancelable * failure) {
- if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
- // We don't support disabling auto-resubscribe.
- return CHIP_ERROR_INVALID_ARGUMENT;
- }
- using TypeInfo = DoorLock::Attributes::ManualOperationEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.SubscribeAttribute(successFn->mContext, successFn->mCall, failureFn->mCall,
- [minInterval unsignedShortValue], [maxInterval unsignedShortValue],
- CHIPDoorLockManualOperationEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished,
- params == nil || params.fabricFiltered == nil || [params.fabricFiltered boolValue],
- params != nil && params.keepPreviousSubscriptions != nil && [params.keepPreviousSubscriptions boolValue]);
- },
- subscriptionEstablishedHandler);
-}
-
-+ (void)readAttributeManualOperationEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockManualOperationEventMaskAttributeCallbackBridge(
- queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- if (attributeCacheContainer.cppAttributeCache) {
- chip::app::ConcreteAttributePath path;
- using TypeInfo = DoorLock::Attributes::ManualOperationEventMask::TypeInfo;
- path.mEndpointId = static_cast([endpoint unsignedShortValue]);
- path.mClusterId = TypeInfo::GetClusterId();
- path.mAttributeId = TypeInfo::GetAttributeId();
- TypeInfo::DecodableType value;
- CHIP_ERROR err = attributeCacheContainer.cppAttributeCache->Get(path, value);
- auto successFn = Callback::FromCancelable(success);
- if (err == CHIP_NO_ERROR) {
- successFn->mCall(successFn->mContext, value);
- }
- return err;
- }
- return CHIP_ERROR_NOT_FOUND;
- });
-}
-
-- (void)readAttributeRFIDOperationEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockRFIDOperationEventMaskAttributeCallbackBridge(
- self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::RFIDOperationEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
- });
-}
-
-- (void)writeAttributeRFIDOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler
-{
- [self writeAttributeRFIDOperationEventMaskWithValue:(NSNumber * _Nonnull) value params:nil completionHandler:completionHandler];
-}
-- (void)writeAttributeRFIDOperationEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedWriteTimeoutMs;
- if (params != nil) {
- if (params.timedWriteTimeoutMs != nil) {
- timedWriteTimeoutMs.SetValue(params.timedWriteTimeoutMs.unsignedShortValue);
- }
- }
-
- new CHIPDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(Cancelable * success, Cancelable * failure) {
- ListFreer listFreer;
- using TypeInfo = DoorLock::Attributes::RFIDOperationEventMask::TypeInfo;
- TypeInfo::Type cppValue;
- cppValue = static_cast>(value.unsignedShortValue);
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.WriteAttribute(
- cppValue, successFn->mContext, successFn->mCall, failureFn->mCall, timedWriteTimeoutMs);
- });
-}
-
-- (void)subscribeAttributeRFIDOperationEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
-{
- new CHIPDoorLockRFIDOperationEventMaskAttributeCallbackSubscriptionBridge(
- self.callbackQueue, reportHandler,
- ^(Cancelable * success, Cancelable * failure) {
- if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
- // We don't support disabling auto-resubscribe.
- return CHIP_ERROR_INVALID_ARGUMENT;
- }
- using TypeInfo = DoorLock::Attributes::RFIDOperationEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.SubscribeAttribute(successFn->mContext, successFn->mCall, failureFn->mCall,
- [minInterval unsignedShortValue], [maxInterval unsignedShortValue],
- CHIPDoorLockRFIDOperationEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished,
- params == nil || params.fabricFiltered == nil || [params.fabricFiltered boolValue],
- params != nil && params.keepPreviousSubscriptions != nil && [params.keepPreviousSubscriptions boolValue]);
- },
- subscriptionEstablishedHandler);
-}
-
-+ (void)readAttributeRFIDOperationEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:
- (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockRFIDOperationEventMaskAttributeCallbackBridge(
- queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- if (attributeCacheContainer.cppAttributeCache) {
- chip::app::ConcreteAttributePath path;
- using TypeInfo = DoorLock::Attributes::RFIDOperationEventMask::TypeInfo;
- path.mEndpointId = static_cast([endpoint unsignedShortValue]);
- path.mClusterId = TypeInfo::GetClusterId();
- path.mAttributeId = TypeInfo::GetAttributeId();
- TypeInfo::DecodableType value;
- CHIP_ERROR err = attributeCacheContainer.cppAttributeCache->Get(path, value);
- auto successFn = Callback::FromCancelable(success);
- if (err == CHIP_NO_ERROR) {
- successFn->mCall(successFn->mContext, value);
- }
- return err;
- }
- return CHIP_ERROR_NOT_FOUND;
- });
-}
-
-- (void)readAttributeKeypadProgrammingEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackBridge(
- self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::KeypadProgrammingEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
- });
-}
-
-- (void)writeAttributeKeypadProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler
-{
- [self writeAttributeKeypadProgrammingEventMaskWithValue:(NSNumber * _Nonnull) value
- params:nil
- completionHandler:completionHandler];
-}
-- (void)writeAttributeKeypadProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedWriteTimeoutMs;
- if (params != nil) {
- if (params.timedWriteTimeoutMs != nil) {
- timedWriteTimeoutMs.SetValue(params.timedWriteTimeoutMs.unsignedShortValue);
- }
- }
-
- new CHIPDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(Cancelable * success, Cancelable * failure) {
- ListFreer listFreer;
- using TypeInfo = DoorLock::Attributes::KeypadProgrammingEventMask::TypeInfo;
- TypeInfo::Type cppValue;
- cppValue = static_cast>(value.unsignedShortValue);
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.WriteAttribute(
- cppValue, successFn->mContext, successFn->mCall, failureFn->mCall, timedWriteTimeoutMs);
- });
-}
-
-- (void)subscribeAttributeKeypadProgrammingEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler
-{
- new CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackSubscriptionBridge(
- self.callbackQueue, reportHandler,
- ^(Cancelable * success, Cancelable * failure) {
- if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
- // We don't support disabling auto-resubscribe.
- return CHIP_ERROR_INVALID_ARGUMENT;
- }
- using TypeInfo = DoorLock::Attributes::KeypadProgrammingEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.SubscribeAttribute(successFn->mContext, successFn->mCall, failureFn->mCall,
- [minInterval unsignedShortValue], [maxInterval unsignedShortValue],
- CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished,
- params == nil || params.fabricFiltered == nil || [params.fabricFiltered boolValue],
- params != nil && params.keepPreviousSubscriptions != nil && [params.keepPreviousSubscriptions boolValue]);
- },
- subscriptionEstablishedHandler);
-}
-
-+ (void)readAttributeKeypadProgrammingEventMaskWithAttributeCache:(CHIPAttributeCacheContainer *)attributeCacheContainer
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue
- completionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockKeypadProgrammingEventMaskAttributeCallbackBridge(
- queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- if (attributeCacheContainer.cppAttributeCache) {
- chip::app::ConcreteAttributePath path;
- using TypeInfo = DoorLock::Attributes::KeypadProgrammingEventMask::TypeInfo;
- path.mEndpointId = static_cast([endpoint unsignedShortValue]);
- path.mClusterId = TypeInfo::GetClusterId();
- path.mAttributeId = TypeInfo::GetAttributeId();
- TypeInfo::DecodableType value;
- CHIP_ERROR err = attributeCacheContainer.cppAttributeCache->Get(path, value);
- auto successFn = Callback::FromCancelable(success);
- if (err == CHIP_NO_ERROR) {
- successFn->mCall(successFn->mContext, value);
- }
- return err;
- }
- return CHIP_ERROR_NOT_FOUND;
- });
-}
-
-- (void)readAttributeRemoteProgrammingEventMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))completionHandler
-{
- new CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackBridge(
- self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
- using TypeInfo = DoorLock::Attributes::RemoteProgrammingEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
- });
-}
-
-- (void)writeAttributeRemoteProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- completionHandler:(StatusCompletion)completionHandler
-{
- [self writeAttributeRemoteProgrammingEventMaskWithValue:(NSNumber * _Nonnull) value
- params:nil
- completionHandler:completionHandler];
-}
-- (void)writeAttributeRemoteProgrammingEventMaskWithValue:(NSNumber * _Nonnull)value
- params:(CHIPWriteParams * _Nullable)params
- completionHandler:(StatusCompletion)completionHandler
-{
- chip::Optional timedWriteTimeoutMs;
- if (params != nil) {
- if (params.timedWriteTimeoutMs != nil) {
- timedWriteTimeoutMs.SetValue(params.timedWriteTimeoutMs.unsignedShortValue);
- }
- }
-
- new CHIPDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completionHandler(error);
- },
- ^(Cancelable * success, Cancelable * failure) {
- ListFreer listFreer;
- using TypeInfo = DoorLock::Attributes::RemoteProgrammingEventMask::TypeInfo;
- TypeInfo::Type cppValue;
- cppValue = static_cast>(value.unsignedShortValue);
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.WriteAttribute(
- cppValue, successFn->mContext, successFn->mCall, failureFn->mCall, timedWriteTimeoutMs);
- });
-}
-
-- (void)subscribeAttributeRemoteProgrammingEventMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
- maxInterval:(NSNumber * _Nonnull)maxInterval
- params:(CHIPSubscribeParams * _Nullable)params
- subscriptionEstablished:
- (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
- reportHandler:(void (^)(NSNumber * _Nullable value,
- NSError * _Nullable error))reportHandler
-{
- new CHIPDoorLockRemoteProgrammingEventMaskAttributeCallbackSubscriptionBridge(
- self.callbackQueue, reportHandler,
- ^(Cancelable * success, Cancelable * failure) {
- if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
- // We don't support disabling auto-resubscribe.
- return CHIP_ERROR_INVALID_ARGUMENT;
- }
- using TypeInfo = DoorLock::Attributes::RemoteProgrammingEventMask::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
- auto failureFn = Callback::FromCancelable(failure);
- return self.cppCluster.SubscribeAttribute