Node

constructor(uuid: UUID, deviceKey: ByteArray, unicastAddress: UnicastAddress, elementCount: Int, assignedNetworkKey: NetworkKey, security: Security)

Convenience constructor to initialize a node from an unprovisioned device.

Parameters

uuid

Unprovisioned device uuid.

deviceKey

Device key.

unicastAddress

Unicast address that was assigned during provisioning.

elementCount

Number of elements.

assignedNetworkKey

Network key that was assigned during provisioning.

security

Security level.

Throws

If the security level of the network key does not match the security level used when provisioning the node.