Class ConfigModelPublicationStatus
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.ConfigModelPublicationStatus
To be used as a wrapper class for when creating the ConfigModelAppStatus 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 ConfigModelAppStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionfinal intReturns the global app key index.booleanReturns the credential flag to be used for this message.intReturns the element address that the key was bound tointReturns the model identifier to which the key is to be bound.intReturns the opCode of this messageintReturns the resolution for the publication steps.intReturns the number of publication steps.intReturns the publish address to which the model must publish tointReturns the number of retransmissions for each published message.intReturns the number of 50-milliseconds steps between retransmissions.intReturns the ttl of publication messagesbooleanReturns 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
-
ConfigModelPublicationStatus
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
-
isSuccessful
public boolean isSuccessful()Returns if the message was successful or not.- Returns:
- true if successful or false otherwise
-
getPublishAddress
public int getPublishAddress()Returns the publish address to which the model must publish to -
getCredentialFlag
public boolean getCredentialFlag()Returns the credential flag to be used for this message.- Returns:
- true if friendship credentials to be used or false if master credentials is to be used.
-
getPublishTtl
public int getPublishTtl()Returns the ttl of publication messages- Returns:
- publication ttl
-
getPublicationSteps
public int getPublicationSteps()Returns the number of publication steps.- Returns:
- number of steps
-
getPublicationResolution
public int getPublicationResolution()Returns the resolution for the publication steps.- Returns:
- resolution
-
getPublishRetransmitCount
public int getPublishRetransmitCount()Returns the number of retransmissions for each published message.- Returns:
- number of retransmits
-
getPublishRetransmitIntervalSteps
public int getPublishRetransmitIntervalSteps()Returns the number of 50-milliseconds steps between retransmissions.- Returns:
- retransmit interval steps
-
getModelIdentifier
public int getModelIdentifier()Returns the model identifier to which the key is to be bound.- Returns:
- 16-bit or 32-bit vendor model identifier
-