java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.IvIndex

public class IvIndex extends Object
Class containing the current IV Index State of the network.
  • Constructor Details

    • IvIndex

      public IvIndex(int ivIndex, boolean isIvUpdateActive, Calendar transitionDate)
      Construct the IV Index state of the mesh network
      Parameters:
      ivIndex - IV Index of the network.
      isIvUpdateActive - If true IV Update is in progress and false the network is in Normal operation.
      transitionDate - Time when the last IV Update happened
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getIvIndex

      public int getIvIndex()
      Returns current iv index
    • isIvUpdateActive

      public boolean isIvUpdateActive()
      Returns the current iv update flag.
    • getTransmitIvIndex

      public int getTransmitIvIndex()
      Returns iv index used when transmitting messages.
    • getIvRecoveryFlag

      public boolean getIvRecoveryFlag()
    • setIvRecoveryFlag

      public void setIvRecoveryFlag(boolean ivRecoveryFlag)
    • getTransitionDate

      public Calendar getTransitionDate()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object