Class GenericLevelGet
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.GenericLevelGet
To be used as a wrapper class to create generic level get message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final Logger
Fields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
getAid()
final int
getAkf()
final ApplicationKey
Returns the app key used in this message.int
Returns the opCode of this messagefinal byte[]
Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
GENERIC_TRANSITION_STEP_0
public static final int GENERIC_TRANSITION_STEP_0- See Also:
-
GENERIC_TRANSITION_STEP_1
public static final int GENERIC_TRANSITION_STEP_1- See Also:
-
GENERIC_TRANSITION_STEP_2
public static final int GENERIC_TRANSITION_STEP_2- See Also:
-
GENERIC_TRANSITION_STEP_3
public static final int GENERIC_TRANSITION_STEP_3- See Also:
-
-
Constructor Details
-
GenericLevelGet
Constructs GenericLevelGet message.- Parameters:
appKey
-ApplicationKey
key for this message- Throws:
IllegalArgumentException
- if any illegal arguments are passed
-
-
Method Details
-
getOpCode
public int getOpCode()Description copied from class:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in classMeshMessage
- Returns:
- opcode
-
getAkf
public final int getAkf() -
getAid
public final int getAid() -
getAppKey
Returns the app key used in this message.- Returns:
- app key
-
getParameters
public final byte[] getParameters()
-