MeshNode
data class MeshNode(val unicastAddress: MeshAddress.UnicastAddress, val deviceKey: DeviceKey, val elements: List<MeshElement>, val features: NodeFeatures = NodeFeatures(), val ttl: UByte = DEFAULT_TTL, val networkKeys: List<NetworkKey> = emptyList(), val applicationKeys: List<ApplicationKey> = emptyList())
A provisioned node on the BLE Mesh network.
Each node is identified by its primary unicast address and contains one or more MeshElements. Each element has its own unicast address and hosts one or more models.
Node features (relay, proxy, friend, lowPower) define the node's capabilities within the mesh network.
Constructors
Link copied to clipboard
constructor(unicastAddress: MeshAddress.UnicastAddress, deviceKey: DeviceKey, elements: List<MeshElement>, features: NodeFeatures = NodeFeatures(), ttl: UByte = DEFAULT_TTL, networkKeys: List<NetworkKey> = emptyList(), applicationKeys: List<ApplicationKey> = emptyList())
Properties
Link copied to clipboard
Application keys bound to models on this node.
Link copied to clipboard
Elements hosted by this node. At least one element (primary).
Link copied to clipboard
Node feature flags.
Link copied to clipboard
Network keys known to this node.
Link copied to clipboard
The primary element (element index 0).
Link copied to clipboard
Primary unicast address of this node (address of element 0).