MeshMessageGenericOnOffGet

public struct MeshMessageGenericOnOffGet : MeshMessage

Mesh Message Generic OnOff Get

Generic OnOff Get is an acknowledged message used to get the Generic OnOff state of an element.

The response to the Generic OnOff Get message is a Generic OnOff Status message

  • Op Code

    Declaration

    Swift

    private(set) public var opCode: Data { get }
  • Create Message

    Declaration

    Swift

    public init()
  • Encodes into Data

    Declaration

    Swift

    public func encode() -> Result<Data, BluetoothEncodeError>

    Return Value

    Encoded Data Result