MeshNetwork
MeshNetwork representing a Bluetooth mesh network.
Properties
List of app keys that includes information about app keys used in the mesh network.
Main provisioner of the network which is the first provisioner in the list of provisioners.
List of network keys that includes information about network keys used in the mesh network.
Returns the next available application key index that can be used when construction an application key.
THe next available network key index, or null if the index 4095 is already in use.
List of known Provisioners and ranges of addresses that have been allocated to these Provisioners.
128-bit Universally Unique Identifier (Uuid), which allows differentiation among multiple mesh networks.
Functions
Adds a given Group to the list of groups in the mesh network.
Adds a given Node to the list of nodes in the mesh network.
Adds the given Provisioner to the list of provisioners in the network.
Adds a given Scene with the given name and the scene number to the mesh network.
Adds the given Provisioner with the given address to the list of provisioners in the network.
Adds the given NetworkKey to the list of network keys in the network.
Adds the given ApplicationKey to the list of network keys in the network.
Returns the application key with a given key index.
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 address is available to be assigned to a node with the given number of elements or false otherwise.
Checks if the address is available to be assigned to a node with the given number of elements.
Checks if the address range is available for use.
Checks if the given Network ID matches with any of the network keys in the network.
Checks if the given Network Identity beacon matches with any of the network keys in the network.
This method may be used to match the Node Identity or Private Node Identity beacons.
Moves the given provisioner to the specified index.
Returns the network key with a given key index.
Returns the next available Group from the Provisioner's range that can be assigned to a new Group.
Next available unicast address range for a given range size.
Returns the next available Scene number from the Provisioner's range that can be assigned to a new Scene.
Next available unicast address range for a given range size.
Returns the next available unicast address from the provisioner's range that can be assigned to a new node based on the given number of elements. The zeroth element is identified by the node's Unicast Address. Each following element is identified by a subsequent Unicast Address.
Next available unicast address range for a given range size.
Returns the provisioned node for an unprovisioned device.
Returns the node with the given uuid.
Returns the provisioned node containing an element with the given address.
Returns the provisioned node containing an element with the given mesh address.
Returns the provisioner's node or null, if the provisioner is not a part of the network or does not have an address assigned.
Returns the node with the given node identity.
Returns a provisioner with the given UUID.
Removes a given ApplicationKey from the list of application keys in the mesh network.
Removes a given Group from the list of groups in the mesh network.
Removes a given NetworkKey from the list of network keys in the mesh network.
Removes a given node from the list of nodes in the mesh network.
Removes the given provisioner from the list of provisioners in the network.
Removes a given Scene from the list of groups in the mesh network.
Returns the Scene key with a given scene number.