Class VendorModelMessageAcked

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

public class VendorModelMessageAcked extends MeshMessage
To be used as a wrapper class when creating an acknowledged VendorMode message.
  • Field Details

    • LOG

      public static final Logger LOG
    • GENERIC_TRANSITION_STEP_0

      public static final int GENERIC_TRANSITION_STEP_0
      See Also:
    • GENERIC_TRANSITION_STEP_1

      public static final int GENERIC_TRANSITION_STEP_1
      See Also:
    • GENERIC_TRANSITION_STEP_2

      public static final int GENERIC_TRANSITION_STEP_2
      See Also:
    • GENERIC_TRANSITION_STEP_3

      public static final int GENERIC_TRANSITION_STEP_3
      See Also:
  • Constructor Details

    • VendorModelMessageAcked

      public VendorModelMessageAcked(ApplicationKey appKey, int modelId, int companyIdentifier, int opCode, byte[] parameters)
      Constructs VendorModelMessageAcked message.
      Parameters:
      appKey - ApplicationKey for this message
      modelId - 32-bit Model identifier
      companyIdentifier - 16-bit Company identifier of the vendor model
      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
    • getCompanyIdentifier

      public final int getCompanyIdentifier()
      Returns the company identifier of the model
      Returns:
      16-bit company identifier
    • getModelIdentifier

      public int getModelIdentifier()
      Returns the model identifier for this message
    • getAkf

      public final int getAkf()
    • getAid

      public final int getAid()
    • getAppKey

      public final ApplicationKey getAppKey()
      Returns the app key used in this message.
      Returns:
      app key
    • getParameters

      public final byte[] getParameters()