ProxyDataUnitProvisioning
public struct ProxyDataUnitProvisioning : ProxyDataUnit
Proxy Protocol Data Unit for Provisioning PDU
-
Proxy Protocol Message Type
Declaration
Swift
private(set) public var messageType: ProxyMessageType { get }
-
Provisioning PDU Message
Declaration
Swift
private(set) public var provisioningMessage: ProvisioningDataUnit { get }
-
Create Proxy Data Unit
Declaration
Swift
public init(segment: ProxyMessageType.MessageSegment, provisioningMessage: ProvisioningDataUnit)
Parameters
segment
Message segment
provisioningMessage
Provisioning PDU
-
Encodes Proxy Protocol Data Unit into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result