Create a new Matter server instance
Storage manager instance to use for all nodes
Optional
options: MatterServerOptionsOptional MatterServer options
Add a Controller node to the server
Controller node to add
Optional
nodeOptions: NodeOptionsOptional options for the node (e.g. unique node id)
Add a CommissioningServer node to the server
CommissioningServer node to add
Optional
nodeOptions: NodeOptionsOptional options for the node (e.g. unique node id)
Remove a Controller node from the server, close the Controller and optionally destroy the storage context.
Controller node to remove
If true the storage context will be destroyed
Remove a CommissioningServer node from the server, close the CommissioningServer and optionally destroy the storage context.
CommissioningServer node to remove
If true the storage context will be destroyed
Main Matter server class that represents the process on the host allowing to commission and pair multiple devices by reusing MDNS scanner and broadcaster