MeshMessageGenericLevelSatus
public struct MeshMessageGenericLevelSatus : MeshMessage
Mesh Message Generic Level Status
Generic Level Status is an unacknowledged message used to report the Generic Level state of an element
-
Op Code
Declaration
Swift
private(set) public var opCode: Data { get }
-
Present Level
Declaration
Swift
private(set) public var present: Int16 { get }
-
Target Level
Declaration
Swift
private(set) public var target: Int16? { get }
-
Remaining Time
Declaration
Swift
private(set) public var remainingTime: MeshTransitionTime? { get }
-
Create Message
Declaration
Swift
public init(present: Int16, target: Int16?, remainingTime: MeshTransitionTime?)
-
Encodes into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result