ProvisioningDataUnitInvite
public struct ProvisioningDataUnitInvite : ProvisioningDataUnit
Provisioning Data Unit Invite
A Provisioner sends this PDU to indicate to the device that the provisioning process is starting
-
Provisioning Protocol Data Unit Type
Declaration
Swift
private(set) public var unitType: ProvisioningDataUnitType { get }
-
Attention Duration
Declaration
Swift
private(set) public var timerState: ProvisioningAttentionTimer { get }
-
Create Provisioning Data Unit
Declaration
Swift
public init(timerState: ProvisioningAttentionTimer)
Parameters
timerState
Attention Duration
-
Encodes Provisioning Protocol Data Unit into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data