Skip to content

Commit

Permalink
Tweak Basic Info Cluster for consistency (#13683)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzgrablic02 authored and pull[bot] committed Jul 6, 2023
1 parent b3bc905 commit 1098859
Showing 1 changed file with 23 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,36 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<configurator>
<domain name="General"/>
<domain name="CHIP"/>
<cluster singleton="true">
<name>Basic</name>
<domain>General</domain>
<code>0x0028</code>
<define>BASIC_CLUSTER</define>
<description>Attributes for determining basic information about a device, and setting user device information such as location.</description>
<description>This cluster provides attributes and events for determining basic information about Nodes, which supports both
Commissioning and operational determination of Node characteristics, such as Vendor ID, Product ID and serial number,
which apply to the whole Node. Also allows setting user device information such as location.</description>
<globalAttribute side="either" code="0xFFFD" value="1"/>

<attribute side="server" code="0" define="INTERACTION_MODEL_VERSION" type="int16u" default="1" >InteractionModelVersion</attribute>
<attribute side="server" code="1" define="VENDOR_NAME" type="char_string" length="32" >VendorName</attribute>
<attribute side="server" code="2" define="VENDOR_ID" type="vendor_id" >VendorID</attribute>
<attribute side="server" code="3" define="PRODUCT_NAME" type="char_string" length="32" >ProductName</attribute>
<attribute side="server" code="4" define="PRODUCT_ID" type="int16u" >ProductID</attribute>
<attribute side="server" code="5" define="NODE_LABEL" type="char_string" length="32" default="" writable="true" >NodeLabel</attribute>
<attribute side="server" code="6" define="LOCATION" type="char_string" length="2" default="" writable="true" >Location</attribute>
<attribute side="server" code="7" define="HARDWARE_VERSION" type="int16u" default="0" >HardwareVersion</attribute>
<attribute side="server" code="8" define="HARDWARE_VERSION_STRING" type="char_string" minLength="1" length="64" >HardwareVersionString</attribute>
<attribute side="server" code="9" define="SOFTWARE_VERSION" type="int32u" default="0" >SoftwareVersion</attribute>
<attribute side="server" code="10" define="SOFTWARE_VERSION_STRING" type="char_string" minLength="1" length="64" >SoftwareVersionString</attribute>
<attribute side="server" code="11" define="MANUFACTURING_DATE" type="char_string" minLength="8" length="16" optional="true">ManufacturingDate</attribute>
<attribute side="server" code="12" define="PART_NUMBER" type="char_string" length="32" optional="true">PartNumber</attribute>
<attribute side="server" code="13" define="PRODUCT_URL" type="long_char_string" length="256" optional="true">ProductURL</attribute>
<attribute side="server" code="14" define="PRODUCT_LABEL" type="char_string" length="64" optional="true">ProductLabel</attribute>
<attribute side="server" code="15" define="SERIAL_NUMBER" type="char_string" length="32" optional="true">SerialNumber</attribute>
<attribute side="server" code="16" define="LOCAL_CONFIG_DISABLED" type="boolean" default="0" writable="true" optional="true">LocalConfigDisabled</attribute>
<attribute side="server" code="17" define="REACHABLE" type="boolean" default="1" optional="true">Reachable</attribute>
<attribute side="server" code="18" define="UNIQUE_ID" type="char_string" length="32" optional="true">UniqueID</attribute>
<attribute side="server" code="0" define="INTERACTION_MODEL_VERSION" type="int16u" default="1" >InteractionModelVersion</attribute>
<attribute side="server" code="1" define="VENDOR_NAME" type="char_string" length="32" >VendorName</attribute>
<attribute side="server" code="2" define="VENDOR_ID" type="vendor_id" >VendorID</attribute>
<attribute side="server" code="3" define="PRODUCT_NAME" type="char_string" length="32" >ProductName</attribute>
<attribute side="server" code="4" define="PRODUCT_ID" type="int16u" >ProductID</attribute>
<attribute side="server" code="5" define="NODE_LABEL" type="char_string" length="32" default="" writable="true" >NodeLabel</attribute>
<attribute side="server" code="6" define="LOCATION" type="char_string" length="2" default="XX" writable="true" >Location</attribute>
<attribute side="server" code="7" define="HARDWARE_VERSION" type="int16u" default="0" >HardwareVersion</attribute>
<attribute side="server" code="8" define="HARDWARE_VERSION_STRING" type="char_string" minLength="1" length="64" >HardwareVersionString</attribute>
<attribute side="server" code="9" define="SOFTWARE_VERSION" type="int32u" default="0" >SoftwareVersion</attribute>
<attribute side="server" code="10" define="SOFTWARE_VERSION_STRING" type="char_string" minLength="1" length="64" >SoftwareVersionString</attribute>
<attribute side="server" code="11" define="MANUFACTURING_DATE" type="char_string" minLength="8" length="16" optional="true">ManufacturingDate</attribute>
<attribute side="server" code="12" define="PART_NUMBER" type="char_string" length="32" optional="true">PartNumber</attribute>
<attribute side="server" code="13" define="PRODUCT_URL" type="long_char_string" length="256" optional="true">ProductURL</attribute>
<attribute side="server" code="14" define="PRODUCT_LABEL" type="char_string" length="64" optional="true">ProductLabel</attribute>
<attribute side="server" code="15" define="SERIAL_NUMBER" type="char_string" length="32" optional="true">SerialNumber</attribute>
<attribute side="server" code="16" define="LOCAL_CONFIG_DISABLED" type="boolean" default="0" writable="true" optional="true">LocalConfigDisabled</attribute>
<attribute side="server" code="17" define="REACHABLE" type="boolean" default="1" optional="true">Reachable</attribute>
<attribute side="server" code="18" define="UNIQUE_ID" type="char_string" length="32" optional="true">UniqueID</attribute>

<event side="server" code="0x00" name="StartUp" priority="critical" optional="false">
<description>The StartUp event SHALL be emitted by a Node as soon as reasonable after completing a boot or reboot process.</description>
Expand Down

0 comments on commit 1098859

Please sign in to comment.