ProvisioningManager

class ProvisioningManager(unprovisionedDevice: UnprovisionedDevice, meshNetwork: MeshNetwork, val bearer: MeshProvisioningBearer)

Provisioning manager is responsible for provisioning new devices to a mesh network.

Constructors

Link copied to clipboard
constructor(unprovisionedDevice: UnprovisionedDevice, meshNetwork: MeshNetwork, bearer: MeshProvisioningBearer)

Properties

Link copied to clipboard

Bearer used to send provisioning PDUs.

Link copied to clipboard

Provisioning configuration used to provision the device.

Link copied to clipboard

Logger for the provisioning manager.

Link copied to clipboard

Suggested unicast address to be assigned to the device.

Functions

Link copied to clipboard
fun isUnicastAddressValid(unicastAddress: UnicastAddress, numberOfElements: Int): Boolean

Checks if the unicast address valid.

Link copied to clipboard
fun provision(attentionTimer: UByte): Flow<ProvisioningState>

Starts the provisioning process with the given attention timer.