ProvisioningDataUnitConfirmation
public struct ProvisioningDataUnitConfirmation : ProvisioningDataUnit
Provisioning Data Unit Confirmation
The Provisioner or the device sends this PDU to the peer to confirm the values exchanged so far including the OOB Authentication value and the random number that has yet to be exchanged
-
Provisioning Protocol Data Unit Type
Declaration
Swift
private(set) public var unitType: ProvisioningDataUnitType { get }
-
Confirmation
The values exchanged so far including the OOB Authentication value
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