blob: 87f7e44dc92b550ac8e437b85958f4c17064f1a6 [file] [log] [blame]
<?xml version="1.0"?>
<!--
Copyright (C) Connectivity Standards Alliance (2021). All rights reserved.
The information within this document is the property of the Connectivity
Standards Alliance and its use and disclosure are restricted, except as
expressly set forth herein.
Connectivity Standards Alliance hereby grants you a fully-paid, non-exclusive,
nontransferable, worldwide, limited and revocable license (without the right to
sublicense), under Connectivity Standards Alliance's applicable copyright
rights, to view, download, save, reproduce and use the document solely for your
own internal purposes and in accordance with the terms of the license set forth
herein. This license does not authorize you to, and you expressly warrant that
you shall not: (a) permit others (outside your organization) to use this
document; (b) post or publish this document; (c) modify, adapt, translate, or
otherwise change this document in any manner or create any derivative work
based on this document; (d) remove or modify any notice or label on this
document, including this Copyright Notice, License and Disclaimer. The
Connectivity Standards Alliance does not grant you any license hereunder other
than as expressly stated herein.
Elements of this document may be subject to third party intellectual property
rights, including without limitation, patent, copyright or trademark rights,
and any such third party may or may not be a member of the Connectivity
Standards Alliance. Connectivity Standards Alliance members grant other
Connectivity Standards Alliance members certain intellectual property rights as
set forth in the Connectivity Standards Alliance IPR Policy. Connectivity
Standards Alliance members do not grant you any rights under this license. The
Connectivity Standards Alliance is not responsible for, and shall not be held
responsible in any manner for, identifying or failing to identify any or all
such third party intellectual property rights. Please visit www.csa-iot.org for
more information on how to become a member of the Connectivity Standards
Alliance.
This document and the information contained herein are provided on an “AS IS”
basis and the Connectivity Standards Alliance DISCLAIMS ALL WARRANTIES EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO (A) ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES (INCLUDING
WITHOUT LIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT, COPYRIGHT
OR TRADEMARK RIGHTS); OR (B) ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, TITLE OR NONINFRINGEMENT. IN NO EVENT WILL THE
CONNECTIVITY STANDARDS ALLIANCE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF
BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF BUSINESS, OR FOR ANY OTHER
DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
DAMAGES OF ANY KIND, IN CONTRACT OR IN TORT, IN CONNECTION WITH THIS DOCUMENT
OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
LOSS OR DAMAGE.
All company, brand and product names in this document may be trademarks that
are the sole property of their respective owners.
This notice and disclaimer must be included on all copies of this document.
Connectivity Standards Alliance
508 Second Street, Suite 206
Davis, CA 95616, USA
-->
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x0036" name="Wi-Fi Network Diagnostics Cluster" revision="1">
<revisionHistory>
<revision revision="1" summary="Initial revision"/>
</revisionHistory>
<clusterIds>
<clusterId id="0x0036" name="Wi-Fi Network Diagnostics"/>
</clusterIds>
<classification hierarchy="base" role="utility" picsCode="DGWIFI" scope="Node">
<quality diagnostics="true"/>
</classification>
<features>
<feature bit="0" code="PKTCNT" name="PacketCounts" summary="Node makes available the counts for the number of received and transmitted packets on the Wi-Fi interface.">
<optionalConform/>
</feature>
<feature bit="1" code="ERRCNT" name="ErrorCounts" summary="Node makes available the counts for the number of errors that have occurred during the reception and transmission of packets on the Wi-Fi interface.">
<optionalConform/>
</feature>
</features>
<dataTypes>
<enum name="AssociationFailureCauseEnum">
<item value="0" name="Unknown" summary="The reason for the failure is unknown.">
<mandatoryConform/>
</item>
<item value="1" name="AssociationFailed" summary="An error occurred during association.">
<mandatoryConform/>
</item>
<item value="2" name="AuthenticationFailed" summary="An error occurred during authentication.">
<mandatoryConform/>
</item>
<item value="3" name="SsidNotFound" summary="The specified SSID could not be found.">
<mandatoryConform/>
</item>
</enum>
<enum name="ConnectionStatusEnum">
<item value="0" name="Connected" summary="Indicate the node is connected">
<mandatoryConform/>
</item>
<item value="1" name="NotConnected" summary="Indicate the node is not connected">
<mandatoryConform/>
</item>
</enum>
<enum name="SecurityTypeEnum">
<item value="0" name="Unspecified" summary="Indicate the usage of an unspecified Wi-Fi security type">
<mandatoryConform/>
</item>
<item value="1" name="None" summary="Indicate the usage of no Wi-Fi security">
<mandatoryConform/>
</item>
<item value="2" name="WEP" summary="Indicate the usage of WEP Wi-Fi security">
<mandatoryConform/>
</item>
<item value="3" name="WPA" summary="Indicate the usage of WPA Wi-Fi security">
<mandatoryConform/>
</item>
<item value="4" name="WPA2" summary="Indicate the usage of WPA2 Wi-Fi security">
<mandatoryConform/>
</item>
<item value="5" name="WPA3" summary="Indicate the usage of WPA3 Wi-Fi security">
<mandatoryConform/>
</item>
</enum>
<enum name="WiFiVersionEnum">
<item value="0" name="a" summary="Indicate the network interface is currently using 802.11a against the wireless access point.">
<mandatoryConform/>
</item>
<item value="1" name="b" summary="Indicate the network interface is currently using 802.11b against the wireless access point.">
<mandatoryConform/>
</item>
<item value="2" name="g" summary="Indicate the network interface is currently using 802.11g against the wireless access point.">
<mandatoryConform/>
</item>
<item value="3" name="n" summary="Indicate the network interface is currently using 802.11n against the wireless access point.">
<mandatoryConform/>
</item>
<item value="4" name="ac" summary="Indicate the network interface is currently using 802.11ac against the wireless access point.">
<mandatoryConform/>
</item>
<item value="5" name="ax" summary="Indicate the network interface is currently using 802.11ax against the wireless access point.">
<mandatoryConform/>
</item>
<item value="6" name="ah" summary="Indicate the network interface is currently using 802.11ah against the wireless access point.">
<mandatoryConform/>
</item>
</enum>
</dataTypes>
<attributes>
<attribute id="0x0000" name="BSSID" type="octstr" default="null">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="false" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform/>
<constraint type="maxLength" value="6"/>
</attribute>
<attribute id="0x0001" name="SecurityType" type="SecurityTypeEnum" default="null">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="false" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform/>
</attribute>
<attribute id="0x0002" name="WiFiVersion" type="WiFiVersionEnum" default="null">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="false" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform/>
</attribute>
<attribute id="0x0003" name="ChannelNumber" type="uint16" default="null">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="false" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform/>
</attribute>
<attribute id="0x0004" name="RSSI" type="int8" default="null">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="true" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform/>
<constraint type="between" from="-120" to="0"/>
</attribute>
<attribute id="0x0005" name="BeaconLostCount" type="uint32" default="0">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="true" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform>
<feature name="ERRCNT"/>
</mandatoryConform>
</attribute>
<attribute id="0x0006" name="BeaconRxCount" type="uint32" default="0">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="true" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform>
<feature name="PKTCNT"/>
</mandatoryConform>
</attribute>
<attribute id="0x0007" name="PacketMulticastRxCount" type="uint32" default="0">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="true" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform>
<feature name="PKTCNT"/>
</mandatoryConform>
</attribute>
<attribute id="0x0008" name="PacketMulticastTxCount" type="uint32" default="0">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="true" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform>
<feature name="PKTCNT"/>
</mandatoryConform>
</attribute>
<attribute id="0x0009" name="PacketUnicastRxCount" type="uint32" default="0">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="true" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform>
<feature name="PKTCNT"/>
</mandatoryConform>
</attribute>
<attribute id="0x000A" name="PacketUnicastTxCount" type="uint32" default="0">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="true" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform>
<feature name="PKTCNT"/>
</mandatoryConform>
</attribute>
<attribute id="0x000B" name="CurrentMaxRate" type="uint64" default="0">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="true" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<optionalConform/>
</attribute>
<attribute id="0x000C" name="OverrunCount" type="uint64" default="0">
<access read="true" readPrivilege="view"/>
<quality changeOmitted="true" nullable="true" scene="false" persistence="volatile" reportable="false" sourceAttribution="false" quieterReporting="false"/>
<mandatoryConform>
<feature name="ERRCNT"/>
</mandatoryConform>
</attribute>
</attributes>
<commands>
<command id="0x00" name="ResetCounts" direction="commandToServer" response="Y">
<access invokePrivilege="operate"/>
<mandatoryConform>
<feature name="ERRCNT"/>
</mandatoryConform>
</command>
</commands>
<events>
<event id="0x00" name="Disconnection" priority="info">
<access readPrivilege="view"/>
<optionalConform/>
<field id="0" name="ReasonCode" type="uint16">
<mandatoryConform/>
</field>
</event>
<event id="0x01" name="AssociationFailure" priority="info">
<access readPrivilege="view"/>
<optionalConform/>
<field id="0" name="AssociationFailureCause" type="AssociationFailureCauseEnum">
<mandatoryConform/>
</field>
<field id="1" name="Status" type="uint16">
<mandatoryConform/>
</field>
</event>
<event id="0x02" name="ConnectionStatus" priority="info">
<access readPrivilege="view"/>
<optionalConform/>
<field id="0" name="ConnectionStatus" type="ConnectionStatusEnum">
<mandatoryConform/>
</field>
</event>
</events>
</cluster>