ProvisioningDataUnitData

public struct ProvisioningDataUnitData : ProvisioningDataUnit

Provisioning Data Unit Data

A Provisioner sends this PDU to deliver provisioning data to the device

  • Provisioning Protocol Data Unit Type

    Declaration

    Swift

    private(set) public var unitType: ProvisioningDataUnitType { get }
  • Encrypted Provisioning Data

    An encrypted and authenticated network key, NetKey Index, Key Refresh Flag, IV Update Flag, current value of the IV Index, and unicast address of the primary element

    Declaration

    Swift

    private(set) public var provisioningData: ProvisioningData { get }
  • Provisioning Data Message Integrity Check (MIC)

    Provisioning Data MIC

    Declaration

    Swift

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

    Declaration

    Swift

    public init(provisioningData: ProvisioningData, messageIntegrity: Data)

    Parameters

    provisioningData

    Provisioning Data

    messageIntegrity

    Provisioning Data MIC

  • Encodes Provisioning Protocol Data Unit into Data

    Declaration

    Swift

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

    Return Value

    Encoded Data Result