Class ConfigModelAppStatus
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.ConfigModelAppStatus
-
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
ConstructorsConstructorDescriptionConfigModelAppStatus(AccessMessage message) Constructs the ConfigModelAppStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionfinal intReturns the global app key index.intReturns the element address that the key was bound tofinal intReturns the model identifierintReturns the opCode of this messagebooleanReturns if the message was successful or not.Methods 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
-
ConfigModelAppStatus
Constructs the ConfigModelAppStatus mMessage.- Parameters:
message- Access Message
-
-
Method Details
-
getOpCode
public int getOpCode()Description copied from class:MeshMessageReturns the opCode of this message- Specified by:
getOpCodein classMeshMessage- Returns:
- opcode
-
getElementAddress
public int getElementAddress()Returns the element address that the key was bound to- Returns:
- element address
-
getAppKeyIndex
public final int getAppKeyIndex()Returns the global app key index.- Returns:
- appkey index
-
getModelIdentifier
public final int getModelIdentifier()Returns the model identifier- Returns:
- 16-bit sig model identifier or 32-bit vendor model identifier
-
isSuccessful
public boolean isSuccessful()Returns if the message was successful or not.- Returns:
- true if succesful or false otherwise
-