-
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.
Initialize thread border router management xml template file and run …
…zap_generate_all.py (#33610) * Initialize thread border router management xml template file and run zap_generate_all.py * Update the xml file * remove some struct files * breadcrumb field in SetActiveDataset command should be optional * review changes * Change BorderAgentId to BorderAgentID
- Loading branch information
Showing
50 changed files
with
7,339 additions
and
2 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
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
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
76 changes: 76 additions & 0 deletions
76
src/app/zap-templates/zcl/data-model/chip/thread-border-router-management-cluster.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,76 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2024 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> | ||
<domain name="CHIP"/> | ||
|
||
<bitmap name="Feature" type="bitmap32"> | ||
<cluster code="0x0452"/> | ||
<field name="PANChange" mask="0x1"/> | ||
</bitmap> | ||
|
||
<cluster> | ||
<domain>HRAP</domain> | ||
<name>Thread Border Router Management</name> | ||
<code>0x0452</code> | ||
<define>THREAD_BORDER_ROUTER_MANAGEMENT</define> | ||
<client init="false" tick="false">true</client> | ||
<server init="false" tick="false">true</server> | ||
<description>Manage the Thread network of Thread Border Router</description> | ||
|
||
<globalAttribute code="0xFFFD" side="either" value="1"/> | ||
|
||
<attribute side="server" code="0x0000" define="BORDER_ROUTER_NAME" type="char_string" length="63">BorderRouterName</attribute> | ||
|
||
<attribute side="server" code="0x0001" define="BORDER_AGENT_ID" type="octet_string">BorderAgentID</attribute> | ||
|
||
<attribute side="server" code="0x0002" define="THREAD_VERSION" type="int16u">ThreadVersion</attribute> | ||
|
||
<attribute side="server" code="0x0003" define="INTERFACE_ENABLED" type="boolean" default="0">InterfaceEnabled</attribute> | ||
|
||
<attribute side="server" code="0x0005" define="ACTIVE_DATASET_TIMESTAMP" type="int64u" isNullable="true">ActiveDatasetTimestamp</attribute> | ||
|
||
|
||
<command source="client" code="0x00" name="GetActiveDatasetRequest" response="DatasetResponse" optional="false"> | ||
<description>Command to request the active operational dataset of the Thread network to which the border router is connected. This command must be sent over a valid CASE session</description> | ||
<access op="invoke" privilege="manage"/> | ||
</command> | ||
|
||
<command source="client" code="0x01" name="GetPendingDatasetRequest" response="DatasetResponse" optional="false"> | ||
<description>Command to request the pending dataset of the Thread network to which the border router is connected. This command must be sent over a valid CASE session</description> | ||
<access op="invoke" privilege="manage"/> | ||
</command> | ||
|
||
<command source="server" code="0x03" name="DatasetResponse" optional="false"> | ||
<description>Generated response to GetActiveDatasetRequest or GetPendingDatasetRequest commands.</description> | ||
<arg name="Dataset" type="octet_string" length="254"/> | ||
</command> | ||
|
||
<command source="client" code="0x04" name="SetActiveDatasetRequest" optional="false"> | ||
<description>Command to set or update the active Dataset of the Thread network to which the Border Router is connected.</description> | ||
<arg name="ActiveDataset" type="octet_string" length="254"/> | ||
<arg name="Breadcrumb" type="int64u" optional="true"/> | ||
<access op="invoke" privilege="manage"/> | ||
</command> | ||
|
||
<command source="client" code="0x05" name="SetPendingDatasetRequest" optional="true"> | ||
<description>Command set or update the pending Dataset of the Thread network to which the Border Router is connected.</description> | ||
<arg name="PendingDataset" type="octet_string" length="254"/> | ||
<access op="invoke" privilege="manage"/> | ||
</command> | ||
|
||
</cluster> | ||
</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
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
Oops, something went wrong.