Skip to content

Commit

Permalink
add c part3
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanzhouyc committed Sep 30, 2024
1 parent 9be9c38 commit 4af8116
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ limitations under the License.
<attribute side="server" code="0x0000" define="SUPPORTED_DEVICE_CATEGORIES" type="SupportedDeviceCategoryBitmap" default="0" min="0x00000000" max="0x00000001">
<description>SupportedDeviceCategories</description>
<access op="read" privilege="manage"/>
<mandatoryConform/>
</attribute>

<command source="client" code="0x00" name="RequestCommissioningApproval" optional="false">
<description>This command is sent by a client to request approval for a future CommissionNode call.</description>
<mandatoryConform/>
<arg id="0" name="RequestID" type="int64u"/>
<arg id="1" name="VendorID" type="vendor_id"/>
<arg id="2" name="ProductID" type="int16u"/>
Expand All @@ -48,13 +50,15 @@ limitations under the License.

<command source="client" code="0x01" name="CommissionNode" response="ReverseOpenCommissioningWindow" optional="false">
<description>This command is sent by a client to request that the server begins commissioning a previously approved request.</description>
<mandatoryConform/>
<arg id="0" name="RequestID" type="int64u"/>
<arg id="1" name="ResponseTimeoutSeconds" type="int16u" min="30" max="120" default="30"/>
<access op="invoke" privilege="manage"/>
</command>

<command source="server" code="0x02" name="ReverseOpenCommissioningWindow" optional="false" disableDefaultResponse="true">
<description>When received within the timeout specified by CommissionNode, the client SHALL open a commissioning window on to the node which the client called RequestCommissioningApproval to have commissioned.</description>
<mandatoryConform/>
<arg id="0" name="CommissioningTimeout" type="int16u"/>
<arg id="1" name="PAKEPasscodeVerifier" type="octet_string"/>
<arg id="2" name="Discriminator" type="int16u" min="0" max="4095"/>
Expand Down

0 comments on commit 4af8116

Please sign in to comment.