Package-level declarations

Types

Link copied to clipboard

Throws when the Unicast Address has not been set.

Link copied to clipboard
sealed class AuthAction

Defines a set of authentication methods aimed at strengthening the provisioning process.

Link copied to clipboard

The type authentication method chosen for provisioning.

Link copied to clipboard

Thrown when confirmation value received from the device does not match calculated value. Authentication failed.

Link copied to clipboard
Link copied to clipboard
sealed class InputOobActions

A set of support Input out-of-band actions.

Link copied to clipboard

Thrown when the unicast address is invalid.

Link copied to clipboard

Thrown when the provided alphanumeric value could not be converted into bytes using ASCII encoding.

Link copied to clipboard

The received PDU is invalid.

Link copied to clipboard

The received Public Key is invalid or not equal to Provisioner's Public Key.

Link copied to clipboard

Thrown when the ProvisioningManager is in an invalid state.

Link copied to clipboard
data class KeyGenerationFailed(val throwable: Throwable) : ProvisioningError

Thrown when the key pair generation has failed.

Link copied to clipboard

Throws when the Network Key has not been set.

Link copied to clipboard

Thrown when no available Unicast Address was found in the Provisioner's range that could be allocated for the device.

Link copied to clipboard
sealed class OobType

A set of Out-of-band types.

Link copied to clipboard
Link copied to clipboard
sealed class OutputOobActions

A set of support Output out-of-band actions.

Link copied to clipboard
data class ProvisioningCapabilities(val numberOfElements: Int, val algorithms: List<Algorithms>, val publicKeyType: List<PublicKeyType>, val oobTypes: List<OobType>, val outputOobSize: UByte, val outputOobActions: List<OutputOobActions>, val inputOobSize: UByte, val inputOobActions: List<InputOobActions>)

The device sends this PDU to indicate the supported capabilities to a provisioner.

Link copied to clipboard

Set of errors which may be thrown during provisioning a device.

Link copied to clipboard
class ProvisioningManager(unprovisionedDevice: UnprovisionedDevice, meshNetwork: MeshNetwork, val bearer: MeshProvisioningBearer)

Provisioning manager is responsible for provisioning new devices to a mesh network.

Link copied to clipboard

Configuration class that contains all the necessary information to provision a device.

Link copied to clipboard
sealed class ProvisioningRequest

Provisioning requests are sent by the Provisioner to an unprovisioned device.

Link copied to clipboard

Provisioning responses are sent by the Provisionee to the Provisioner. as a response to a ProvisioningRequest.

Link copied to clipboard
sealed class ProvisioningState

Defines possible state of provisioning process.

Link copied to clipboard
sealed class PublicKey

Defines Public Key type that's supported by the device. This field is received as a part of the Provisioning Capabilities PDU.

Link copied to clipboard

The type of Device Public key to be used.

Link copied to clipboard
sealed class PublicKeyType

Type of public key information.

Link copied to clipboard

Thrown when the remove device sent a failure indication.

Link copied to clipboard

Set of errors which may be reported by an unprovisioned device during provisioning process.

Link copied to clipboard
data class UnprovisionedDevice(var name: String, val uuid: UUID, val oobInformation: OobInformation = OobInformation.None)
Link copied to clipboard

Thrown when the Unprovisioned Device is not supported by the manager.