Creates a new CommissioningController instance
The options for the CommissioningController
Optional
discoveryCapabilities: TypeFromPartialBitSchema<{ Commissions/Pairs a new device into the controller fabric. The method returns the NodeId of the commissioned node.
Use the connectNodeAfterCommissioning callback to implement an own logic to do the operative device discovery and to complete the commissioning process. Return true when the commissioning process is completed successfully, false on error.
Optional
discoveryData: DiscoveryDataOptional
discoveryCapabilities: TypeFromPartialBitSchema<{ Optional
discoveredCallback: ((device: CommissionableDevice) => void)
This represents a lightweight commissioner that can be used to start the commissioning process to commission devices into an existing controller fabric. Once the initial commissioning process is completed, it uses a callback to all to complete the commissioning process.