Class LightCtlStatus
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.GenericStatusMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.LightCtlStatus
To be used as a wrapper class to create generic level status message.
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the opCode of this messagefinal int
Returns the present level of the GenericOnOffModelfinal int
Returns the present level of the GenericOnOffModelfinal Integer
Returns the target level of the GenericOnOffModelfinal Integer
Returns the target level of the GenericOnOffModelint
Returns the transition resolution.int
Returns the transition steps.Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.GenericStatusMessage
getAid, getAkf, getParameters, getSrcAddress
Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
LightCtlStatus
Constructs LightCtlStatus message- Parameters:
message
- access message
-
-
Method Details
-
getOpCode
public int getOpCode()Description copied from class:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in classMeshMessage
- Returns:
- opcode
-
getPresentLightness
public final int getPresentLightness()Returns the present level of the GenericOnOffModel- Returns:
- present level
-
getTargetLightness
Returns the target level of the GenericOnOffModel- Returns:
- target level
-
getPresentTemperature
public final int getPresentTemperature()Returns the present level of the GenericOnOffModel- Returns:
- present level
-
getTargetTemperature
Returns the target level of the GenericOnOffModel- Returns:
- target level
-
getTransitionSteps
public int getTransitionSteps()Returns the transition steps.- Returns:
- transition steps
-
getTransitionResolution
public int getTransitionResolution()Returns the transition resolution.- Returns:
- transition resolution
-