Class ConfigModelPublicationGet
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigModelPublicationGet
To be used as a wrapper class to create a ConfigModelPublicationSet message.
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
ConstructorsConstructorDescriptionConfigModelPublicationGet
(int elementAddress, int modelIdentifier) Constructs a ConfigModelPublicationGet 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
-
ConfigModelPublicationGet
public ConfigModelPublicationGet(int elementAddress, int modelIdentifier) throws IllegalArgumentException Constructs a ConfigModelPublicationGet message- Parameters:
elementAddress
- Element address that should publishmodelIdentifier
- identifier for this model that will do publication- Throws:
IllegalArgumentException
- for invalid arguments
-
-
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 to which the app key must be bound.- Returns:
- element address
-
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
-
getAkf
public final int getAkf() -
getAid
public final int getAid() -
getParameters
public final byte[] getParameters()
-