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, mStatusCodeName
Fields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the ConfigModelSubscriptionStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the element address that the key was bound tofinal int
Returns the model identifierint
Returns the opCode of this messageint
Returns the subscription address.final 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
-
ConfigModelSubscriptionStatus
Constructs the ConfigModelSubscriptionStatus 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
-
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
-