-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cluster] Move door lock types from silabs/types-silabs.xml to draft/…
…types/door-lock.xml for unspecified types and to chip/door-lock-cluster.xml for types that are specified already (#24784)
- Loading branch information
1 parent
5731826
commit 1026034
Showing
5 changed files
with
147 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
src/app/zap-templates/zcl/data-model/draft/types/door-lock.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2023 Project CHIP Authors | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<configurator> | ||
<enum name="DoorLockState" type="ENUM8"> | ||
<item name="NotFullyLocked" value="0x00"/> | ||
<item name="Locked" value="0x01"/> | ||
<item name="Unlocked" value="0x02"/> | ||
</enum> | ||
|
||
<enum name="DoorLockSoundVolume" type="ENUM8"> | ||
<item name="Silent" value="0x00"/> | ||
<item name="Low" value="0x01"/> | ||
<item name="High" value="0x02"/> | ||
</enum> | ||
|
||
<enum name="DoorLockType" type="ENUM8"> | ||
<item name="DeadBolt" value="0x00"/> | ||
<item name="Magnetic" value="0x01"/> | ||
<item name="Mortise" value="0x02"/> | ||
<item name="Rim" value="0x03"/> | ||
<item name="LatchBolt" value="0x04"/> | ||
<item name="Cylindrical" value="0x05"/> | ||
<item name="Tubular" value="0x06"/> | ||
<item name="Interconnected" value="0x07"/> | ||
<item name="DeadLatch" value="0x08"/> | ||
<item name="Other" value="0x09"/> | ||
</enum> | ||
|
||
<enum name="DoorState" type="ENUM8"> | ||
<item name="Open" value="0x00"/> | ||
<item name="Closed" value="0x01"/> | ||
<item name="ErrorJammed" value="0x02"/> | ||
<item name="ErrorForcedOpen" value="0x03"/> | ||
<item name="ErrorUnspecified" value="0x04"/> | ||
</enum> | ||
|
||
<enum name="DoorLockOperatingMode" type="ENUM8"> | ||
<item name="NormalMode" value="0x00"/> | ||
<item name="VacationMode" value="0x01"/> | ||
<item name="PrivacyMode" value="0x02"/> | ||
<item name="NoRfLockOrUnlock" value="0x03"/> | ||
<item name="LocalProgrammingMode" value="0x04"/> | ||
<item name="PassageMode" value="0x05"/> | ||
</enum> | ||
|
||
<enum name="DoorLockSecurityLevel" type="ENUM8"> | ||
<item name="NetworkSecurity" value="0x00"/> | ||
<item name="ApsSecurity" value="0x01"/> | ||
</enum> | ||
|
||
<enum name="DoorLockEventType" type="ENUM8"> | ||
<item name="Operation" value="0x00"/> | ||
<item name="Programming" value="0x01"/> | ||
<item name="Alarm" value="0x02"/> | ||
</enum> | ||
|
||
<enum name="DoorLockEventSource" type="ENUM8"> | ||
<item name="Keypad" value="0x00"/> | ||
<item name="Rf" value="0x01"/> | ||
<item name="Manual" value="0x02"/> | ||
<item name="Rfid" value="0x03"/> | ||
<item name="Indeterminate" value="0xFF"/> | ||
</enum> | ||
</configurator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters