Class ConfigModelAppBind

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

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

    • LOG

      public static final Logger LOG
  • Constructor Details

    • ConfigModelAppBind

      public ConfigModelAppBind(int elementAddress, int modelIdentifier, int appKeyIndex) throws IllegalArgumentException
      Constructs ConfigModelAppBind message.
      Parameters:
      elementAddress - Element address
      modelIdentifier - Model id
      appKeyIndex - Application key index of this message
      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 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
    • getAppKeyIndex

      public int getAppKeyIndex()
      Returns the global index of the app key to be bound.
      Returns:
      app key index
    • getAkf

      public final int getAkf()
    • getAid

      public final int getAid()
    • getParameters

      public final byte[] getParameters()