Class MeshMessage
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
- Direct Known Subclasses:
ConfigAppKeyAdd
,ConfigAppKeyDelete
,ConfigAppKeyUpdate
,ConfigKeyRefreshPhaseSet
,ConfigModelAppBind
,ConfigModelPublicationGet
,ConfigModelPublicationSet
,ConfigModelPublicationVirtualAddressSet
,ConfigModelSubscriptionAdd
,ConfigModelSubscriptionDelete
,ConfigModelSubscriptionDeleteAll
,ConfigModelSubscriptionOverwrite
,ConfigModelSubscriptionVirtualAddressAdd
,ConfigModelSubscriptionVirtualAddressDelete
,ConfigModelSubscriptionVirtualAddressOverwrite
,ConfigNetKeyAdd
,ConfigNetKeyDelete
,ConfigNetKeyGet
,ConfigNetKeyUpdate
,ConfigProxySet
,ConfigStatusMessage
,GenericLevelGet
,GenericLevelSet
,GenericLevelSetUnacknowledged
,GenericOnOffGet
,GenericOnOffSet
,GenericOnOffSetUnacknowledged
,GenericStatusMessage
,ProxyConfigAddAddressToFilter
,ProxyConfigFilterStatus
,ProxyConfigRemoveAddressFromFilter
,ProxyConfigSetFilterType
,SceneDelete
,SceneRecall
,SceneStore
,VendorModelMessageAcked
,VendorModelMessageUnacked
Abstract wrapper class for mesh message.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the size of message integrity check used for this message.int
getDst()
Returns the destination address of the messageReturns the messageReturns the TTL set for the mesh messageabstract int
Returns the opCode of this messageint
getSrc()
Returns the source address of the messagevoid
setMessageTtl
(Integer messageTtl) Sets the TTL for this message.
-
Field Details
-
mMessage
-
messageTtl
-
-
Constructor Details
-
MeshMessage
public MeshMessage()
-
-
Method Details
-
getOpCode
public abstract int getOpCode()Returns the opCode of this message- Returns:
- opcode
-
getAszmic
public final int getAszmic()Returns the size of message integrity check used for this message.- Returns:
- aszmic
-
getMessage
Returns the message -
getSrc
public int getSrc()Returns the source address of the message -
getDst
public int getDst()Returns the destination address of the message -
getMessageTtl
Returns the TTL set for the mesh message- Returns:
- TTL value or null if not set.
-
setMessageTtl
Sets the TTL for this message. If a TTL is not specified the message will use the default ttl set for the provisioner node.- Parameters:
messageTtl
- TTL value
-