Provisioner
A Provisioner is capable of provisioning a device to a mesh network and is represented by a provisioner object in the Mesh Configuration Database. A provisioner is represented as a node in mesh network only if it is assigned a unicast address. Having a unicast address assigned allows configuring nodes in the mesh network. Otherwise, a provisioner can only provision nodes to a mesh network.
Properties
List of allocated group ranges for a given provisioner.
List of allocated scene ranges for a given provisioner.
List of allocated unicast ranges for a given provisioner.
Returns true if the provisioner has configuration capabilities.
Primary unicast address of the provisioner.
UUID of the provisioner.
Functions
Allocates a list of ranges to a given provisioner.
Allocates the given group range to a provisioner.
Allocates the given range to a provisioner.
Allocates the given scene range to a provisioner.
Allocates the given unicast range to a provisioner.
Check if the given list of ranges are allocatable to a provisioner.
Assigns the unicast address to the given Provisioner. If the provisioner did not have a unicast address assigned, the method will create a Node with the address. This will enable configuration capabilities for the provisioner. The provisioner must be in the mesh network.
Disables the configuration capabilities by un-assigning provisioner's address. Un-assigning an address will delete the provisioner's node. This results in the provisioner not being able to send or receive mesh messages in the mesh network. However, the provisioner will still retain it's provisioning capabilities.
Checks if the given range is within the Allocated ranges.
Checks if the current provisioner has overlapping group ranges with the given provisioner.
Checks if the current provisioner has overlapping unicast, group or scene ranges with the given provisioner.
Checks if the current provisioner has overlapping scene ranges with the given provisioner.
Checks if the current provisioner has overlapping unicast ranges with the given provisioner.
Checks if the given range is allocatable a provisioner.
Removes the given range from the allocated ranges.
Updates the given group range with the new group range.
Updates the given range with the new range.
Updates the given scene range with the new scene range.
Updates the given unicast range with the new unicast range.