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, mStatusCodeName
Fields 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 int
Returns the global app key index.int
Returns the element address that the key was bound tofinal int
Returns the model identifierint
Returns the opCode of this messageboolean
Returns if the message was successful or not.Methods 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
-
ConfigModelAppStatus
Constructs the ConfigModelAppStatus mMessage.- 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
-
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
-