Creates a new CommissioningServer node and add all needed Root clusters
The options for the CommissioningServer node
Optional
Readonly
delayedProtected
Readonly
rootAdd a new command handler for the given command
Command to add the handler for
Handler function to add
Add a new device to the node
Device or Aggregator instance to add
Protected
addProtected
Add a child endpoint to the root endpoint. This is mainly used internally and not needed to be called by the user.
Endpoint to add
Add a cluster client to the root endpoint. This is mainly used internally and not needed to be called by the user.
ClusterClient object to add
Add a new cluster server to the root endpoint BasicInformationCluster and OperationalCredentialsCluster cannot be added via this method because they are added in the constructor
Advertise the node via all available interfaces (Ethernet/MDNS, BLE, ...) and start the commissioning process
Optional
limitTo: TypeFromPartialBitSchema<{ Limit the advertisement to the given discovery capabilities. Default is to advertise on ethernet and BLE if configured
Get some basic details of all currently active sessions.
Optional
fabricIndex: FabricIndexOptional fabric index to filter for. If not set all sessions are returned.
Protected
getProtected
Get a child endpoint from the root endpoint. This is mainly used internally and not needed to be called by the user.
Endpoint ID of the child endpoint to get
Get some basic details of all Fabrics the server is commissioned to.
Optional
fabricIndex: FabricIndexOptional fabric index to filter for. If not set all fabrics are returned.
Return the pairing information for the device
Optional
discoveryCapabilities: TypeFromBitSchema<{ Get a cluster client from the root endpoint. This is mainly used internally and not needed to be called by the user.
ClusterClient to get or undefined if not existing
Get a cluster server from the root endpoint. This is mainly used internally and not needed to be called by the user.
ClusterServer to get or undefined if not existing
Get the root endpoint of the node.
Remove a command handler for the given command
Command to remove the handler for
Handler function to remove
Set the MDNS Broadcaster instance. Should be only used internally
MdnsBroadcaster instance
Set the MDNS Scanner instance. Should be only used internally
MdnsScanner instance
Set the reachability of the commissioning server aka "the main matter device". This call only has effect when the reachability flag was set in the BasicInformationCluster or in the BasicInformation data in the constructor!
true if reachable, false otherwise
Set the StorageManager instance. Should be only used internally
A CommissioningServer node represent a matter node that can be paired with a controller and runs on a defined port on the host