Package-level declarations

Types

Link copied to clipboard
sealed class AccessError : Exception

Defines a set of errors originating from the access layer.

Link copied to clipboard
data object Busy : AccessError

Thrown when trying to send a message to an address to which another message is already being sent.

Link copied to clipboard
data object Cancelled : AccessError

Thrown when sending the message was cancelled.

Link copied to clipboard

Error thrown when the Provisioner is trying to delete the last Network Key from the Node.

Link copied to clipboard

Thrown when the destination Address is not known and the library cannot determine the Network Key to use.

Link copied to clipboard

Thrown when trying to send a message using an Element that does not belong to the local Provisioner's Node.

Link copied to clipboard

Error thrown when the local Provisioner does not have a Unicast Address specified and is not able to send requested message.

Link copied to clipboard
data object InvalidTtl : AccessError

Thrown when the given TTL is not valid. Valid TTL must be 0 or in range 2...127.

Link copied to clipboard

Thrown when trying to send a message from a Model that does not have any Application Key bound to it.

Link copied to clipboard
data object NoDeviceKey : AccessError

Thrown if no Device Key was found, when trying to send a config message to a Node.

Link copied to clipboard

Thrown if no network key is found, when trying to send a mesh message.

Link copied to clipboard
data object Timeout : AccessError

Thrown, when the acknowledgment has not been received until the time run out.