Class ConfigModelSubscriptionStatus
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.ConfigModelSubscriptionStatus
Creates the ConfigModelSubscriptionStatus 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
ConstructorsConstructorDescriptionConstructs the ConfigModelSubscriptionStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the element address that the key was bound tofinal intReturns the model identifierintReturns the opCode of this messageintReturns the subscription address.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
-
ConfigModelSubscriptionStatus
Constructs the ConfigModelSubscriptionStatus 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
-
getSubscriptionAddress
public int getSubscriptionAddress()Returns the subscription address.- Returns:
- subscription address
-
getModelIdentifier
public final int getModelIdentifier()Returns the model identifier- Returns:
- 16-bit sig model identifier or 32-bit vendor model identifier
-
isSuccessful
public final boolean isSuccessful()Returns if the message was successful- Returns:
- true if the message was successful or false otherwise
-