Class ConfigModelPublicationGet

java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigModelPublicationGet

public class ConfigModelPublicationGet extends MeshMessage
To be used as a wrapper class to create a ConfigModelPublicationSet message.
  • Field Details

    • LOG

      public static final Logger LOG
  • Constructor Details

    • ConfigModelPublicationGet

      public ConfigModelPublicationGet(int elementAddress, int modelIdentifier) throws IllegalArgumentException
      Constructs a ConfigModelPublicationGet message
      Parameters:
      elementAddress - Element address that should publish
      modelIdentifier - 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 class MeshMessage
      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()