Controller class to commission and connect multiple nodes into one fabric.

Hierarchy (view full)

Constructors

Accessors

Methods

  • Completes the commissioning process for a node when the initial commissioning process was done by a PASE commissioner. This method should be called to discover the device operational and complete the commissioning process.

    Parameters

    Returns Promise<void>

  • Returns active session information for all connected nodes.

    Returns {
        fabric: undefined | ExposedFabricInformation;
        isPeerActive: boolean;
        lastActiveTimestamp: undefined | number;
        lastInteractionTimestamp: undefined | number;
        name: string;
        nodeId: NodeId;
        numberOfActiveSubscriptions: number;
        peerNodeId: NodeId;
        secure: boolean;
    }[]

  • Remove a Node id from the controller. This method should only be used if the decommission method on the PairedNode instance returns an error. By default, it tries to decommission the node from the controller but will remove it also in case of an error during decommissioning. Ideally try to decommission the node before and only use this in case of an error.

    Parameters

    • nodeId: NodeId
    • tryDecommissioning: boolean = true

    Returns Promise<void>