Class ConfigAppKeyStatus
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.ConfigAppKeyStatus
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, mStatusCodeName
Fields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
ConstructorsConstructorDescriptionConfigAppKeyStatus
(AccessMessage message) Constructs the ConfigAppKeyStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the global app key index.final int
Returns the global index of the net key.final int
Returns the opCode of this messagefinal boolean
Returns if the message was successfulMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
decode, getAid, getAkf, getParameters, getStatusCode, getStatusCodeName
Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
ConfigAppKeyStatus
Constructs the ConfigAppKeyStatus mMessage.- Parameters:
message
- Access Message
-
-
Method Details
-
getOpCode
public final int getOpCode()Description copied from class:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in classMeshMessage
- Returns:
- opcode
-
getNetKeyIndex
public final int getNetKeyIndex()Returns the global index of the net key.- Returns:
- netkey index
-
getAppKeyIndex
public final int getAppKeyIndex()Returns the global app key index.- Returns:
- appkey index
-
isSuccessful
public final boolean isSuccessful()Returns if the message was successful- Returns:
- true if the message was successful or false otherwise
-