interface State {
    activeNetworkFaultsList: ThreadNetworkDiagnostics.NetworkFault[];
    activeTimestamp?: null | number | bigint;
    channel: null | number;
    channelPage0Mask: null | Uint8Array;
    dataVersion: null | number;
    delay?: null | number;
    extendedPanId: null | number | bigint;
    leaderRouterId: null | number;
    meshLocalPrefix: null | Uint8Array;
    neighborTable: TypeFromFields<{
        age: FieldType<number>;
        averageRssi: FieldType<null | number>;
        extAddress: FieldType<number | bigint>;
        frameErrorRate: FieldType<number>;
        fullNetworkData: FieldType<boolean>;
        fullThreadDevice: FieldType<boolean>;
        isChild: FieldType<boolean>;
        lastRssi: FieldType<null | number>;
        linkFrameCounter: FieldType<number>;
        lqi: FieldType<number>;
        messageErrorRate: FieldType<number>;
        mleFrameCounter: FieldType<number>;
        rloc16: FieldType<number>;
        rxOnWhenIdle: FieldType<boolean>;
    }>[];
    networkName: null | string;
    operationalDatasetComponents: null | TypeFromFields<{
        activeTimestampPresent: FieldType<boolean>;
        channelMaskPresent: FieldType<boolean>;
        channelPresent: FieldType<boolean>;
        delayPresent: FieldType<boolean>;
        extendedPanIdPresent: FieldType<boolean>;
        masterKeyPresent: FieldType<boolean>;
        meshLocalPrefixPresent: FieldType<boolean>;
        networkNamePresent: FieldType<boolean>;
        panIdPresent: FieldType<boolean>;
        pendingTimestampPresent: FieldType<boolean>;
        pskcPresent: FieldType<boolean>;
        securityPolicyPresent: FieldType<boolean>;
    }>;
    panId: null | number;
    partitionId: null | number;
    pendingTimestamp?: null | number | bigint;
    routeTable: TypeFromFields<{
        age: FieldType<number>;
        allocated: FieldType<boolean>;
        extAddress: FieldType<number | bigint>;
        linkEstablished: FieldType<boolean>;
        lqiIn: FieldType<number>;
        lqiOut: FieldType<number>;
        nextHop: FieldType<number>;
        pathCost: FieldType<number>;
        rloc16: FieldType<number>;
        routerId: FieldType<number>;
    }>[];
    routingRole: null | ThreadNetworkDiagnostics.RoutingRole;
    securityPolicy: null | TypeFromFields<{
        flags: FieldType<number>;
        rotationTime: FieldType<number>;
    }>;
    stableDataVersion: null | number;
    weighting: null | number;
}

Hierarchy

  • StateType
    • State

Properties

activeNetworkFaultsList: ThreadNetworkDiagnostics.NetworkFault[]

MatterSpecification.v13.Core § 11.14.6

activeTimestamp?: null | number | bigint

Null when there is no dataset configured.

MatterSpecification.v13.Core § 11.14.6.57

channel: null | number

The Channel attribute shall indicate the 802.15.4 channel number configured on the Node’s Thread interface (that is, the Active Operational Dataset’s current Channel value). A value of null shall indicate that the Thread interface is not currently configured or operational.

MatterSpecification.v13.Core § 11.14.6.1

channelPage0Mask: null | Uint8Array

The ChannelPage0Mask attribute indicates the channels within channel page 0, in the 2.4GHz ISM band. The channels are represented in most significant bit order, with bit value 1 meaning selected, bit value 0 meaning unselected. For example, the most significant bit of the left-most byte indicates channel 0. If channel 0 and channel 10 are selected, the mask would be: 80 20 00 00. Null when there is no dataset configured.

MatterSpecification.v13.Core § 11.14.6.61

dataVersion: null | number

The DataVersion attribute shall indicate the full Network Data Version the Node currently uses. Null if not attached to a Thread network.

MatterSpecification.v13.Core § 11.14.6.12

delay?: null | number

Null when there is no dataset configured.

MatterSpecification.v13.Core § 11.14.6.59

extendedPanId: null | number | bigint

The ExtendedPanId attribute shall indicate the unique 64-bit identifier of the Node on the Thread network. A value of null shall indicate that the Thread interface is not currently configured or operational.

MatterSpecification.v13.Core § 11.14.6.5

leaderRouterId: null | number

The LeaderRouterId attribute shall indicate the 8-bit LeaderRouterId the Node shall attempt to utilize upon becoming a router or leader on the Thread network. Null if not attached to a Thread network.

MatterSpecification.v13.Core § 11.14.6.14

meshLocalPrefix: null | Uint8Array

The MeshLocalPrefix attribute shall indicate the mesh-local IPv6 prefix for the Thread network that the Node has been configured to join to. A value of null shall indicate that the Thread interface is not currently configured or operational.

MatterSpecification.v13.Core § 11.14.6.6

neighborTable: TypeFromFields<{
    age: FieldType<number>;
    averageRssi: FieldType<null | number>;
    extAddress: FieldType<number | bigint>;
    frameErrorRate: FieldType<number>;
    fullNetworkData: FieldType<boolean>;
    fullThreadDevice: FieldType<boolean>;
    isChild: FieldType<boolean>;
    lastRssi: FieldType<null | number>;
    linkFrameCounter: FieldType<number>;
    lqi: FieldType<number>;
    messageErrorRate: FieldType<number>;
    mleFrameCounter: FieldType<number>;
    rloc16: FieldType<number>;
    rxOnWhenIdle: FieldType<boolean>;
}>[]

The NeighborTable attribute shall indicate the current list of Nodes that comprise the neighbor table on the Node.

MatterSpecification.v13.Core § 11.14.6.8

networkName: null | string

The NetworkName attribute shall indicate a human-readable (displayable) name for the Thread network that the Node has been configured to join to. A value of null shall indicate that the Thread interface is not currently configured or operational.

MatterSpecification.v13.Core § 11.14.6.3

operationalDatasetComponents: null | TypeFromFields<{
    activeTimestampPresent: FieldType<boolean>;
    channelMaskPresent: FieldType<boolean>;
    channelPresent: FieldType<boolean>;
    delayPresent: FieldType<boolean>;
    extendedPanIdPresent: FieldType<boolean>;
    masterKeyPresent: FieldType<boolean>;
    meshLocalPrefixPresent: FieldType<boolean>;
    networkNamePresent: FieldType<boolean>;
    panIdPresent: FieldType<boolean>;
    pendingTimestampPresent: FieldType<boolean>;
    pskcPresent: FieldType<boolean>;
    securityPolicyPresent: FieldType<boolean>;
}>

The OperationalDatasetComponents attribute is a collection of flags to indicate the presence of various operationally acquired values.

MatterSpecification.v13.Core § 11.14.6.62

panId: null | number

The PanId attribute shall indicate the 16-bit identifier of the Node on the Thread network. A value of null shall indicate that the Thread interface is not currently configured or operational.

MatterSpecification.v13.Core § 11.14.6.4

partitionId: null | number

The PartitionId attribute shall indicate the Thread Leader Partition Id for the Thread network to which the Node is joined. Null if not attached to a Thread network.

MatterSpecification.v13.Core § 11.14.6.10

pendingTimestamp?: null | number | bigint

Null when there is no dataset configured.

MatterSpecification.v13.Core § 11.14.6.58

routeTable: TypeFromFields<{
    age: FieldType<number>;
    allocated: FieldType<boolean>;
    extAddress: FieldType<number | bigint>;
    linkEstablished: FieldType<boolean>;
    lqiIn: FieldType<number>;
    lqiOut: FieldType<number>;
    nextHop: FieldType<number>;
    pathCost: FieldType<number>;
    rloc16: FieldType<number>;
    routerId: FieldType<number>;
}>[]

The RouteTable attribute shall indicate the current list of router capable Nodes for which routes have been established.

MatterSpecification.v13.Core § 11.14.6.9

The RoutingRole attribute shall indicate the role that this Node has within the routing of messages through the Thread network, as defined by RoutingRoleEnum. The potential roles are defined in the following table. A value of null shall indicate that the Thread interface is not currently configured or operational.

MatterSpecification.v13.Core § 11.14.6.2

securityPolicy: null | TypeFromFields<{
    flags: FieldType<number>;
    rotationTime: FieldType<number>;
}>

The SecurityPolicy attribute indicates the current security policies for the Thread partition to which a Node is connected. Null when there is no dataset configured.

MatterSpecification.v13.Core § 11.14.6.60

stableDataVersion: null | number

The StableDataVersion attribute shall indicate the Network Data Version for the stable subset of

data the Node currently uses. Null if not attached to a Thread network.

MatterSpecification.v13.Core § 11.14.6.13

weighting: null | number

The Weighting attribute shall indicate the Thread Leader Weight used when operating in the Leader role. Null if not attached to a Thread network.

MatterSpecification.v13.Core § 11.14.6.11