ProvisioningDataUnitFailed
public struct ProvisioningDataUnitFailed : ProvisioningDataUnit
Provisioning Data Unit Failed
The device sends this PDU if it fails to process a received provisioning protocol PDU
-
Provisioning Protocol Data Unit Type
Declaration
Swift
private(set) public var unitType: ProvisioningDataUnitType { get }
-
Provisioning Protocol Data Unit Types
See moreDeclaration
-
Error for Failure Reason
Declaration
Swift
private(set) public var errorReason: ErrorType { get }
-
Create Provisioning Data Unit
Declaration
Swift
public init(errorReason: ErrorType)
Parameters
errorReason
Error Rason
-
Encodes Provisioning Protocol Data Unit into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result