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, mStatusCodeName
Fields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the ConfigModelAppStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the global app key index.boolean
Returns the credential flag to be used for this message.int
Returns the element address that the key was bound toint
Returns the model identifier to which the key is to be bound.int
Returns the opCode of this messageint
Returns the resolution for the publication steps.int
Returns the number of publication steps.int
Returns the publish address to which the model must publish toint
Returns the number of retransmissions for each published message.int
Returns the number of 50-milliseconds steps between retransmissions.int
Returns the ttl of publication messagesboolean
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
-
ConfigModelPublicationStatus
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
-
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
-