Class ConfigModelSubscriptionOverwrite
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigModelSubscriptionOverwrite
This class handles subscribing a model to subscription address.
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
ConstructorsConstructorDescriptionConfigModelSubscriptionOverwrite
(int elementAddress, int subscriptionAddress, int modelIdentifier) Constructs ConfigModelSubscriptionDelete message. -
Method Summary
Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
ConfigModelSubscriptionOverwrite
public ConfigModelSubscriptionOverwrite(int elementAddress, int subscriptionAddress, int modelIdentifier) throws IllegalArgumentException Constructs ConfigModelSubscriptionDelete message.- Parameters:
elementAddress
- Address of the element to which the model belongs to.subscriptionAddress
- Address to which the element should subscribe.modelIdentifier
- identifier of the model, 16-bit for Sig model and 32-bit model id for vendor models.- Throws:
IllegalArgumentException
- if any illegal arguments are passed
-
-
Method Details
-
getOpCode
public int getOpCode()Description copied from class:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in classMeshMessage
- Returns:
- opcode
-
getAkf
public final int getAkf() -
getAid
public final int getAid() -
getParameters
public final byte[] getParameters()
-