Skip to content

Commit

Permalink
Regenerate generated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple committed Jan 18, 2023
1 parent f1bd41e commit df561a7
Show file tree
Hide file tree
Showing 42 changed files with 4,961 additions and 4,800 deletions.
266 changes: 133 additions & 133 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@ server cluster ModeSelect = 80 {
}

server cluster DoorLock = 257 {
enum DlAlarmCode : ENUM8 {
enum AlarmCodeEnum : ENUM8 {
kLockJammed = 0;
kLockFactoryReset = 1;
kLockRadioPowerCycled = 3;
Expand All @@ -1661,13 +1661,13 @@ server cluster DoorLock = 257 {
kForcedUser = 8;
}

enum DlCredentialRule : ENUM8 {
enum CredentialRuleEnum : ENUM8 {
kSingle = 0;
kDouble = 1;
kDual = 1;
kTri = 2;
}

enum DlCredentialType : ENUM8 {
enum CredentialTypeEnum : ENUM8 {
kProgrammingPIN = 0;
kPin = 1;
kRfid = 2;
Expand All @@ -1676,40 +1676,12 @@ server cluster DoorLock = 257 {
kFace = 5;
}

enum DlDataOperationType : ENUM8 {
enum DataOperationTypeEnum : ENUM8 {
kAdd = 0;
kClear = 1;
kModify = 2;
}

enum DlDoorState : ENUM8 {
kDoorOpen = 0;
kDoorClosed = 1;
kDoorJammed = 2;
kDoorForcedOpen = 3;
kDoorUnspecifiedError = 4;
kDoorAjar = 5;
}

enum DlLockDataType : ENUM8 {
kUnspecified = 0;
kProgrammingCode = 1;
kUserIndex = 2;
kWeekDaySchedule = 3;
kYearDaySchedule = 4;
kHolidaySchedule = 5;
kPin = 6;
kRfid = 7;
kFingerprint = 8;
}

enum DlLockOperationType : ENUM8 {
kLock = 0;
kUnlock = 1;
kNonAccessUserEvent = 2;
kForcedUserEvent = 3;
}

enum DlLockState : ENUM8 {
kNotFullyLocked = 0;
kLocked = 1;
Expand All @@ -1730,35 +1702,6 @@ server cluster DoorLock = 257 {
kDoorFurniture = 10;
}

enum DlOperatingMode : ENUM8 {
kNormal = 0;
kVacation = 1;
kPrivacy = 2;
kNoRemoteLockUnlock = 3;
kPassage = 4;
}

enum DlOperationError : ENUM8 {
kUnspecified = 0;
kInvalidCredential = 1;
kDisabledUserDenied = 2;
kRestricted = 3;
kInsufficientBattery = 4;
}

enum DlOperationSource : ENUM8 {
kUnspecified = 0;
kManual = 1;
kProprietaryRemote = 2;
kKeypad = 3;
kAuto = 4;
kButton = 5;
kSchedule = 6;
kRemote = 7;
kRfid = 8;
kBiometric = 9;
}

enum DlStatus : ENUM8 {
kSuccess = 0;
kFailure = 1;
Expand All @@ -1769,25 +1712,6 @@ server cluster DoorLock = 257 {
kNotFound = 139;
}

enum DlUserStatus : ENUM8 {
kAvailable = 0;
kOccupiedEnabled = 1;
kOccupiedDisabled = 3;
}

enum DlUserType : ENUM8 {
kUnrestrictedUser = 0;
kYearDayScheduleUser = 1;
kWeekDayScheduleUser = 2;
kProgrammingUser = 3;
kNonAccessUser = 4;
kForcedUser = 5;
kDisposableUser = 6;
kExpiringUser = 7;
kScheduleRestrictedUser = 8;
kRemoteOnlyUser = 9;
}

enum DoorLockOperationEventCode : ENUM8 {
kUnknownOrMfgSpecific = 0;
kLock = 1;
Expand Down Expand Up @@ -1839,19 +1763,83 @@ server cluster DoorLock = 257 {
kNotSupported = 255;
}

bitmap DlCredentialRuleMask : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
kTri = 0x4;
enum DoorStateEnum : ENUM8 {
kDoorOpen = 0;
kDoorClosed = 1;
kDoorJammed = 2;
kDoorForcedOpen = 3;
kDoorUnspecifiedError = 4;
kDoorAjar = 5;
}

bitmap DlCredentialRulesSupport : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
kTri = 0x4;
enum LockDataTypeEnum : ENUM8 {
kUnspecified = 0;
kProgrammingCode = 1;
kUserIndex = 2;
kWeekDaySchedule = 3;
kYearDaySchedule = 4;
kHolidaySchedule = 5;
kPin = 6;
kRfid = 7;
kFingerprint = 8;
}

enum LockOperationTypeEnum : ENUM8 {
kLock = 0;
kUnlock = 1;
kNonAccessUserEvent = 2;
kForcedUserEvent = 3;
}

enum OperatingModeEnum : ENUM8 {
kNormal = 0;
kVacation = 1;
kPrivacy = 2;
kNoRemoteLockUnlock = 3;
kPassage = 4;
}

enum OperationErrorEnum : ENUM8 {
kUnspecified = 0;
kInvalidCredential = 1;
kDisabledUserDenied = 2;
kRestricted = 3;
kInsufficientBattery = 4;
}

enum OperationSourceEnum : ENUM8 {
kUnspecified = 0;
kManual = 1;
kProprietaryRemote = 2;
kKeypad = 3;
kAuto = 4;
kButton = 5;
kSchedule = 6;
kRemote = 7;
kRfid = 8;
kBiometric = 9;
}

enum UserStatusEnum : ENUM8 {
kAvailable = 0;
kOccupiedEnabled = 1;
kOccupiedDisabled = 3;
}

enum UserTypeEnum : ENUM8 {
kUnrestrictedUser = 0;
kYearDayScheduleUser = 1;
kWeekDayScheduleUser = 2;
kProgrammingUser = 3;
kNonAccessUser = 4;
kForcedUser = 5;
kDisposableUser = 6;
kExpiringUser = 7;
kScheduleRestrictedUser = 8;
kRemoteOnlyUser = 9;
}

bitmap DlDaysMaskMap : BITMAP8 {
bitmap DaysMaskMap : BITMAP8 {
kSunday = 0x1;
kMonday = 0x2;
kTuesday = 0x4;
Expand All @@ -1861,6 +1849,18 @@ server cluster DoorLock = 257 {
kSaturday = 0x40;
}

bitmap DlCredentialRuleMask : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
kTri = 0x4;
}

bitmap DlCredentialRulesSupport : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
kTri = 0x4;
}

bitmap DlDefaultConfigurationRegister : BITMAP16 {
kEnableLocalProgrammingEnabled = 0x1;
kKeypadInterfaceDefaultAccessEnabled = 0x2;
Expand Down Expand Up @@ -1965,56 +1965,56 @@ server cluster DoorLock = 257 {
}

bitmap DoorLockFeature : BITMAP32 {
kPINCredentials = 0x1;
kRFIDCredentials = 0x2;
kPinCredential = 0x1;
kRfidCredential = 0x2;
kFingerCredentials = 0x4;
kLogging = 0x8;
kWeekDaySchedules = 0x10;
kWeekDayAccessSchedules = 0x10;
kDoorPositionSensor = 0x20;
kFaceCredentials = 0x40;
kCredentialsOTA = 0x80;
kUsersManagement = 0x100;
kNotifications = 0x200;
kYearDaySchedules = 0x400;
kCredentialsOverTheAirAccess = 0x80;
kUser = 0x100;
kNotification = 0x200;
kYearDayAccessSchedules = 0x400;
kHolidaySchedules = 0x800;
}

struct DlCredential {
DlCredentialType credentialType = 0;
struct CredentialStruct {
CredentialTypeEnum credentialType = 0;
int16u credentialIndex = 1;
}

critical event DoorLockAlarm = 0 {
DlAlarmCode alarmCode = 0;
AlarmCodeEnum alarmCode = 0;
}

critical event DoorStateChange = 1 {
DlDoorState doorState = 0;
DoorStateEnum doorState = 0;
}

critical event LockOperation = 2 {
DlLockOperationType lockOperationType = 0;
DlOperationSource operationSource = 1;
LockOperationTypeEnum lockOperationType = 0;
OperationSourceEnum operationSource = 1;
nullable INT16U userIndex = 2;
nullable fabric_idx fabricIndex = 3;
nullable NODE_ID sourceNode = 4;
optional nullable DlCredential credentials[] = 5;
optional nullable CredentialStruct credentials[] = 5;
}

critical event LockOperationError = 3 {
DlLockOperationType lockOperationType = 0;
DlOperationSource operationSource = 1;
DlOperationError operationError = 2;
LockOperationTypeEnum lockOperationType = 0;
OperationSourceEnum operationSource = 1;
OperationErrorEnum operationError = 2;
nullable INT16U userIndex = 3;
nullable fabric_idx fabricIndex = 4;
nullable NODE_ID sourceNode = 5;
optional nullable DlCredential credentials[] = 6;
optional nullable CredentialStruct credentials[] = 6;
}

info event LockUserChange = 4 {
DlLockDataType lockDataType = 0;
DlDataOperationType dataOperationType = 1;
DlOperationSource operationSource = 2;
LockDataTypeEnum lockDataType = 0;
DataOperationTypeEnum dataOperationType = 1;
OperationSourceEnum operationSource = 2;
nullable INT16U userIndex = 3;
nullable fabric_idx fabricIndex = 4;
nullable NODE_ID sourceNode = 5;
Expand All @@ -2025,17 +2025,17 @@ server cluster DoorLock = 257 {
readonly attribute DlLockType lockType = 1;
readonly attribute boolean actuatorEnabled = 2;
attribute access(write: manage) int32u autoRelockTime = 35;
attribute access(write: manage) DlOperatingMode operatingMode = 37;
attribute access(write: manage) OperatingModeEnum operatingMode = 37;
readonly attribute DlSupportedOperatingModes supportedOperatingModes = 38;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct LockDoorRequest {
optional OCTET_STRING pinCode = 0;
optional OCTET_STRING PINCode = 0;
}

request struct UnlockDoorRequest {
optional OCTET_STRING pinCode = 0;
optional OCTET_STRING PINCode = 0;
}

timed command LockDoor(LockDoorRequest): DefaultSuccess = 0;
Expand Down
Loading

0 comments on commit df561a7

Please sign in to comment.