Class ConfigModelSubscriptionVirtualAddressOverwrite
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigModelSubscriptionVirtualAddressOverwrite
Creates the ConfigModelSubscriptionVirtualAddressOverwrite Message.
his message will clear the existing subscription list in a model and add a new one
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
ConstructorsConstructorDescriptionConfigModelSubscriptionVirtualAddressOverwrite
(int elementAddress, UUID labelUuid, int modelIdentifier) Constructs ConfigModelSubscriptionVirtualAddressOverwrite 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
-
ConfigModelSubscriptionVirtualAddressOverwrite
public ConfigModelSubscriptionVirtualAddressOverwrite(int elementAddress, UUID labelUuid, int modelIdentifier) throws IllegalArgumentException Constructs ConfigModelSubscriptionVirtualAddressOverwrite message.- Parameters:
elementAddress
- Address of the element to which the model belongs to.labelUuid
- Value of the Label UUID.modelIdentifier
- Model identifier, 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
-
getLabelUuid
Returns the value of the Label UUID of the subscription address -
getAkf
public final int getAkf() -
getAid
public final int getAid() -
getParameters
public final byte[] getParameters()
-