Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing parts in Time Format cluster #13324

Merged
merged 2 commits into from
Jan 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,26 @@ limitations under the License.
-->
<configurator>
<domain name="CHIP" />


<enum name="HourFormat" type="ENUM8">
<cluster code="0x002c"/>
<item name="12hr" value="0x00"/>
<item name="24hr" value="0x01"/>
</enum>
<enum name="CalendarType" type="ENUM8">
<cluster code="0x002c"/>
<item name="Buddhist" value="0x00"/>
<item name="Chinese" value="0x01"/>
<item name="Coptic" value="0x02"/>
<item name="Ethiopian" value="0x03"/>
<item name="Gregorian" value="0x04"/>
<item name="Hebrew" value="0x05"/>
<item name="Indian" value="0x06"/>
<item name="Islamic" value="0x07"/>
<item name="Japanese" value="0x08"/>
<item name="Korean" value="0x09"/>
<item name="Persian" value="0x0A"/>
<item name="Taiwanese" value="0x0B"/>
</enum>
<cluster>
<domain>General</domain>
<name>Localization Time Format</name>
Expand All @@ -26,12 +44,12 @@ limitations under the License.
<client init="false" tick="false">true</client>
<server init="false" tick="false">true</server>
<description>Nodes should be expected to be deployed to any and all regions of the world. These global regions
may have differing preferences for how dates and times are conveyed. As such, Nodes that visually
or audibly convey time information need a mechanism by which they can be configured to use a
user’s preferred format.</description>
may have differing preferences for how dates and times are conveyed. As such, Nodes that visually
or audibly convey time information need a mechanism by which they can be configured to use a
user’s preferred format.</description>
<!-- Base data types -->

<!-- Test Commands -->

<attribute side="server" code="0x00" define="HOUR_FORMAT" type="ENUM8" writable="true" optional="false">HourFormat</attribute>
<attribute side="server" code="0x01" define="CALENDAR_TYPE" type="ENUM8" writable="true" optional="true">CalendarType</attribute>
<attribute side="server" code="0x02" define="SUPPORTED_CALENDAR_TYPES" type="ARRAY" entryType="CalendarType" length="254" writable="false" optional="true">SupportedCalendarTypes</attribute>
</cluster>
</configurator>
73 changes: 73 additions & 0 deletions src/controller/python/chip/clusters/Objects.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 106 additions & 0 deletions src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading