Class ConfigModelSubscriptionAdd
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigModelSubscriptionAdd
Creates the ConfigModelSubscriptionAdd message
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage -
Constructor Summary
ConstructorsConstructorDescriptionConfigModelSubscriptionAdd(int elementAddress, int subscriptionAddress, int modelIdentifier) Constructs ConfigModelSubscriptionAdd 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
-
ConfigModelSubscriptionAdd
public ConfigModelSubscriptionAdd(int elementAddress, int subscriptionAddress, int modelIdentifier) throws IllegalArgumentException Constructs ConfigModelSubscriptionAdd message.- Parameters:
elementAddress- Address of the element to which the model belongs to.subscriptionAddress- Address to whic 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:MeshMessageReturns the opCode of this message- Specified by:
getOpCodein classMeshMessage- Returns:
- opcode
-
getAkf
public final int getAkf() -
getAid
public final int getAid() -
getParameters
public final byte[] getParameters()
-