Main Matter server class that represents the process on the host allowing to commission and pair multiple devices by reusing MDNS scanner and broadcaster

Constructors

Accessors

Methods

  • Remove a Controller node from the server, close the Controller and optionally destroy the storage context.

    Parameters

    • commissioningController: CommissioningController

      Controller node to remove

    • destroyStorage: boolean = false

      If true the storage context will be destroyed

    Returns Promise<void>

  • Remove a CommissioningServer node from the server, close the CommissioningServer and optionally destroy the storage context.

    Parameters

    • commissioningServer: CommissioningServer

      CommissioningServer node to remove

    • destroyStorage: boolean = false

      If true the storage context will be destroyed

    Returns Promise<void>

  • Start the server and all nodes. If the nodes do not have specified a delayed announcement or pairing they will be announced/paired immediately.

    Returns Promise<void>