Package-level declarations
Types
Allocated address range.
A message sent to the all-friends address shall be processed by the primary element of all nodes that have the friend functionality enabled.
A message sent to the all-nodes address shall be processed by the primary element of all nodes.
A message sent to the all-proxies address shall be processed by the primary element of all nodes that have the proxy functionality enabled.
A message sent to the all-relays address shall be processed by the primary element of all nodes that have the relay functionality enabled.
Application Keys are used to secure communications at the upper transport layer. The application key (AppKey) shall be generated using a random number generator compatible with the requirements in Volume 2, Part H, Section 2 of the Core Specification 1.
The credentials property contains an integer of 0 or 1 that represents whether managed flooding security material (0) or friendship security material (1) is used.
Element represents a mesh element that is defined as an addressable entity within a mesh node.
Features represents the functionality of a Node that is determined by the set features that the node supports.
FeatureState describes the state of a given Feature.
There are two types of group address; those that can be assigned dynamically and those that are fixed. Fixed group addresses are in the range of 0xFF00 through 0xFFFF.
Friendship security material is used for Publishing.
Group defines a GroupAddress of type PrimaryGroupAddress to which a node may subscribe to.
A group address is an address that is programmed into zero or more elements. A group address has bit 15 set to 1 and bit 14 set to 1. Group addresses in the range 0xFF00 through 0xFFFF are reserved for FixedGroupAddress, and addresses in the range 0xC000 through 0xFEFF are generally available for other usage.
The AllocatedGroupRange represents the range of group addresses that the Provisioner can allocate to newly created groups, without needing to coordinate the group additions with other Provisioners. The lowAddress and highAddress properties represent values from 0xC000 to 0xFEFF. The value of the lowAddress property shall be less than or equal to the value of the highAddress property.
An interface containing a property type address.
An address that is used as a destination address by a Heartbeat Publication or a Heartbeat Subscription message. This represents a UnicastAddress, GroupAddress.
The heartbeat publication represents parameters that define the sending of periodic Heartbeat transport control messages.
Heartbeat publication destination address for heartbeat messages. This represents a UnicastAddress, GroupAddress or an UnassignedAddress.
The heartbeat subscription object represents parameters that define the receiving of periodical Heartbeat transport control messages.
Heartbeat subscription destination address for heartbeat messages. This represents a UnicastAddress or a GroupAddress.
Heartbeat subscription source address for heartbeat messages. This represents a UnicastAddress.
First phase of Key Refresh procedure, distributes new keys to all nodes. Nodes will transmit using old keys, but can receive using old and new keys.
The Key Refresh Phase state indicates and controls the Key Refresh procedure for each NetKey in the NetKey List.
Master security material is used for Publishing.
Wrapper class for Address.
MeshNetwork representing a Bluetooth mesh network.
Represents Model ID of a Bluetooth mesh model.
AThe network key object represents the state of the mesh network key that is used for securing communication at the network layer.
The network transmit object represents the parameters of the transmissions of network layer messages originating from a mesh node.
The state of a NetworkKey or ApplicationKey distributed to a mesh node by a Mesh Manager.
Normal operation; Key Refresh procedure is not active.
An address type used to identify a GroupAddress, VirtualAddress or an UnassignedAddress that's used as a parent address of a group. Parent group address cannot be a fixed group address and not allocatable to a provisioner as a range.
An address type used to identify a GroupAddress or a VirtualAddress that's used to create a group. Primary group address cannot be a fixed group address and not allocatable to a provisioner as a range.
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.
An address type that can be added to a Proxy Filter List. This represents a UnicastAddress, GroupAddress, VirtualAddress or a FixedGroupAddress.
An address a model may publish to. This represents a UnicastAddress, GroupAddress or a VirtualAddress.
The publish object represents parameters that define how the messages are published by a mesh model.
The publish period object determines the interval at which messages are published by a model and is defined by two values: the number of steps and step resolution. The publish period is calculated as a product of the number of steps and step resolution. For example, if the value of the numberOfSteps property is 3 and the value of the resolution property is 1000, the publish period is 3000 ms.
The relay retransmit object represents the parameters of the retransmissions of network layer messages relayed by a mesh node.
The retransmit object is used to describe the number of times a message is published and the interval between retransmissions of the published messages.
The AllocatedSceneRange represents the range of scene numbers that the Provisioner can use to register new scenes in the mesh network, without needing to coordinate the allocated scene numbers with other Provisioners. The firstScene and lastScene represents values from 0x0001 to 0xFFFF. The value of the firstScene property shall be less than or equal to the value of the lastScene property.
Security level describes a minimum security level of a subnet associated with this network key. If all the nodes on the subnet associated with this network key have been provisioned using the Secure Provisioning procedure 1, then the value of minSecurity property for the subnet is set to “secure”; otherwise, the value of the minSecurity is set to “insecure”.
Wrapper class for 16-bit Bluetooth SIG model identifier.
Mesh implementation of step resolution is a 2-bit field that enumerates the number of steps.
An address a model may subscribe to. This represents a GroupAddress, VirtualAddress, AllProxies, AllFriends or an AllRelays address.
This structure represents a time needed to transition from one state to another, for example dimming a light.
The unassigned address has the value 0x0000.
A unicast address is a unique address allocated to each element. A unicast address has bit 15 set to 0. The unicast address shall not have the value 0x0000, and therefore can have any value from 0x0001 to 0x7FFF inclusive.
The AllocatedUnicastRange represents the range of unicast addresses that the Provisioner can allocate to new devices when they are provisioned onto the mesh network, without needing to coordinate the node additions with other Provisioners. The lowAddress and highAddress represent values from 0x0001 to 0x7FFF. The value of the lowAddress property shall be less than or equal to the value of the highAddress property.
Second phase of Key Refresh procedure, nodes will use the new keys when encrypting messages but will still receive using the old or new keys. Nodes shall only receive Secure Network beacons secured using the new Network Key.
Wrapper class for 32-bit vendor model identifier.
A virtual address represents a set of destination addresses. Each virtual address logically represents a Label UUID, which is a 128-bit value that does not have to be managed centrally. One or more elements may be programmed to publish or subscribe to a Label UUID. The Label UUID is not transmitted and shall be used as the Additional Data field of the message integrity check value in the upper transport layer.
Properties
Functions
Returns a list of application keys bound to a given network key.
Checks whether any of the Application keys in the List is bound to the given network Key. The key comparison is based on Key Index property.
Checks if an element in the list of ranges contains the given range.
Checks if the given range is within the range.
Returns an Application Key with the given KeyIndex
Returns an Network Key with the given KeyIndex.
Checks if the Key index is of the given valid range.
Filters the list of Application keys to only those that are known to the given node.
Filters the list of Network Keys to only those that are known to the given node.
Converts an array of Features to a Features object.
Converts the Duration to publish period object.