ProvisioningDataUnitRandom

public struct ProvisioningDataUnitRandom : ProvisioningDataUnit

Provisioning Data Unit Random

A Provisioner or device sends this PDU to enable the peer device to validate the confirmation

  • Provisioning Protocol Data Unit Type

    Declaration

    Swift

    private(set) public var unitType: ProvisioningDataUnitType { get }
  • Confirmation

    The final input to the confirmation

    Declaration

    Swift

    private(set) public var confirmation: Data { get }
  • Create Provisioning Data Unit

    Declaration

    Swift

    public init(confirmation: Data)

    Parameters

    confirmation

    Confirmation Data

  • Encodes Provisioning Protocol Data Unit into Data

    Declaration

    Swift

    public func encode() -> Result<Data, BluetoothEncodeError>

    Return Value

    Encoded Data Result