Skip to content

Commit 39b84a6

Browse files
committed
Cleanup to sync bitmap feature and features
JIRA: ZAPP-1346
1 parent 4ddaa9b commit 39b84a6

6 files changed

+27
-38
lines changed

src/app/zap-templates/zcl/data-model/chip/content-control-cluster.xml

-9
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,6 @@ limitations under the License.
4141
<feature bit="4" code="SCR" name="ScheduledContentRating" summary="Supports managing content controls based upon rating threshold for scheduled content.">
4242
<optionalConform/>
4343
</feature>
44-
<feature bit="5" code="BC" name="BlockChannels" summary="Supports managing a set of channels that are prohibited.">
45-
<optionalConform/>
46-
</feature>
47-
<feature bit="6" code="BA" name="BlockApplications" summary="Supports managing a set of applications that are prohibited.">
48-
<optionalConform/>
49-
</feature>
50-
<feature bit="7" code="BTW" name="BlockContentTimeWindow" summary="Supports managing content controls based upon setting time window in which all contents and applications SHALL be blocked.">
51-
<optionalConform/>
52-
</feature>
5344
</features>
5445

5546
<attribute side="server" code="0x0000" define="ENABLED" type="boolean" writable="false" optional="false">Enabled</attribute>

src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml

+9-18
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,6 @@ limitations under the License.
2626
<description>This cluster provides an interface for launching content on a media player device such as a TV or Speaker.</description>
2727
<globalAttribute side="either" code="0xFFFD" value="1"/>
2828

29-
<features>
30-
<feature bit="0" code="CS" name="ContentSearch" summary="Device supports content search (non-app specific)">
31-
<optionalConform/>
32-
</feature>
33-
<feature bit="1" code="UP" name="URLPlayback" summary="Device supports basic URL-based file playback">
34-
<optionalConform/>
35-
</feature>
36-
<feature bit="2" code="AS" name="AdvancedSeek" summary="Enables clients to implement more advanced media seeking behavior in their user interface, such as for example a &quot;seek bar&quot;.">
37-
<optionalConform/>
38-
</feature>
39-
<feature bit="3" code="TT" name="TextTracks" summary="Device or app supports Text Tracks.">
40-
<optionalConform/>
41-
</feature>
42-
<feature bit="4" code="AT" name="AudioTracks" summary="Device or app supports Audio Tracks.">
43-
<optionalConform/>
44-
</feature>
45-
</features>
46-
4729
<attribute side="server" code="0x0000" define="CONTENT_LAUNCHER_ACCEPT_HEADER" type="array" entryType="char_string" length="254" writable="false" optional="true">AcceptHeader</attribute>
4830
<attribute side="server" code="0x0001" define="CONTENT_LAUNCHER_SUPPORTED_STREAMING_PROTOCOLS" type="SupportedProtocolsBitmap" default="0" writable="false" optional="true">SupportedStreamingProtocols</attribute>
4931

@@ -194,4 +176,13 @@ limitations under the License.
194176
<field name="HLS" mask="0x2"/>
195177
</bitmap>
196178

179+
<bitmap name="Feature" type="bitmap32">
180+
<cluster code="0x050a"/>
181+
<field name="ContentSearch" mask="0x1"/>
182+
<field name="URLPlayback" mask="0x2"/>
183+
<field name="AdvancedSeek" mask="0x3"/>
184+
<field name="TextTracks" mask="0x4"/>
185+
<field name="AudioTracks" mask="0x5"/>
186+
</bitmap>
187+
197188
</configurator>

src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml

+10-4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ limitations under the License.
6565
</globalAttribute>
6666

6767
<features>
68-
<feature bit="0" code="PIN" name="PINCredential" summary="Lock supports PIN credentials (via keypad, or over-the-air)">
68+
<feature bit="0" code="PIN" name="PinCredential" summary="Lock supports PIN credentials (via keypad, or over-the-air)">
6969
<optionalConform/>
7070
</feature>
71-
<feature bit="1" code="RID" name="RFIDCredential" summary="Lock supports RFID credentials">
71+
<feature bit="1" code="RID" name="RfidCredential" summary="Lock supports RFID credentials">
7272
<optionalConform/>
7373
</feature>
7474
<feature bit="2" code="FGP" name="FingerCredentials" summary="Lock supports finger related credentials (fingerprint, finger vein)">
@@ -92,7 +92,7 @@ limitations under the License.
9292
<optionalConform/>
9393
</otherwiseConform>
9494
</feature>
95-
<feature bit="7" code="COTA" name="CredentialOverTheAirAccess" summary="PIN codes over-the-air supported for lock/unlock operations">
95+
<feature bit="7" code="COTA" name="CredentialsOverTheAirAccess" summary="PIN codes over-the-air supported for lock/unlock operations">
9696
<optionalConform/>
9797
</feature>
9898
<feature bit="8" code="USR" name="User" summary="Lock supports the user commands and database">
@@ -114,7 +114,13 @@ limitations under the License.
114114
<feature bit="11" code="HDSCH" name="HolidaySchedules" summary="Lock supports holiday schedules">
115115
<optionalConform/>
116116
</feature>
117-
<feature bit="12" code="UBOLT" name="Unbolting" summary="Lock supports unbolting">
117+
<feature bit="12" code="UBOLT" name="Unbolt" summary="Lock supports unbolting">
118+
<optionalConform/>
119+
</feature>
120+
<feature bit="13" code="ALIRO" name="AliroProvisioning" summary="AliroProvisioning">
121+
<optionalConform/>
122+
</feature>
123+
<feature bit="14" code="ALBU" name="AliroBLEUWB" summary="AliroBLEUWB">
118124
<optionalConform/>
119125
</feature>
120126
</features>

src/app/zap-templates/zcl/data-model/chip/refrigerator-alarm.xml

-6
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ limitations under the License.
2929
<client tick="false" init="false">true</client>
3030
<server tick="false" init="false">true</server>
3131

32-
<features>
33-
<feature bit="0" code="RESET" name="Reset" summary="Supports the ability to reset alarms">
34-
<disallowConform/>
35-
</feature>
36-
</features>
37-
3832
<attribute side="server" code="0x0000" define="MASK" type="AlarmBitmap" default="0" writable="false" optional="false">Mask</attribute>
3933
<attribute side="server" code="0x0002" define="STATE" type="AlarmBitmap" default="0" writable="false" optional="false">State</attribute>
4034
<attribute side="server" code="0x0003" define="SUPPORTED" type="AlarmBitmap" default="0" writable="false" optional="false">Supported</attribute>

src/app/zap-templates/zcl/data-model/chip/smoke-co-alarm-cluster.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ limitations under the License.
4040
<feature bit="0" code="SMOKE" name="SmokeAlarm" summary="Supports Smoke alarm">
4141
<optionalConform choice="a" more="true"/>
4242
</feature>
43-
<feature bit="1" code="CO" name="COAlarm" summary="Supports CO alarm">
43+
<feature bit="1" code="CO" name="CoAlarm" summary="Supports CO alarm">
4444
<optionalConform choice="a" more="true"/>
4545
</feature>
4646
</features>

src/app/zap-templates/zcl/data-model/chip/timer-cluster.xml

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ limitations under the License.
3838

3939
<globalAttribute side="either" code="0xFFFD" value="1" />
4040

41+
<features>
42+
<feature bit="0" code="RESET" name="Reset" summary="Supports the ability to reset timer">
43+
<optionalConform/>
44+
</feature>
45+
</features>
46+
47+
4148
<attribute side="server" code="0x0000" define="SET_TIME" type="elapsed_s" writable="false" isNullable="false" optional="false">SetTime</attribute>
4249
<attribute side="server" code="0x0001" define="TIME_REMAINING" type="elapsed_s" writable="false" isNullable="false" optional="false">TimeRemaining</attribute>
4350
<attribute side="server" code="0x0002" define="TIMER_STATE" type="TimerStatusEnum" writable="false" isNullable="false" optional="false">TimerState</attribute>

0 commit comments

Comments
 (0)