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