Class ConfigKeyRefreshPhaseStatus
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigKeyRefreshPhaseStatus
To be used as a wrapper class for when creating the ConfigAppKeyStatus Message.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
ConfigStatusMessage.StatusCodeNames -
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
mStatusCode, mStatusCodeNameFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage -
Constructor Summary
ConstructorsConstructorDescriptionConfigKeyRefreshPhaseStatus(AccessMessage message) Constructs the ConfigAppKeyStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionfinal intReturns the global index of the net key.final intReturns the opCode of this messagefinal intReturns the current key refresh phase.final booleanReturns if the message was successfulMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
decode, getAid, getAkf, getParameters, getStatusCode, getStatusCodeNameMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
ConfigKeyRefreshPhaseStatus
Constructs the ConfigAppKeyStatus mMessage.- Parameters:
message- Access Message
-
-
Method Details
-
getOpCode
public final int getOpCode()Description copied from class:MeshMessageReturns the opCode of this message- Specified by:
getOpCodein classMeshMessage- Returns:
- opcode
-
getNetKeyIndex
public final int getNetKeyIndex()Returns the global index of the net key.- Returns:
- netkey index
-
getTransition
public final int getTransition()Returns the current key refresh phase. -
isSuccessful
public final boolean isSuccessful()Returns if the message was successful- Returns:
- true if the message was successful or false otherwise
-