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

public class Features extends Object
Defines the features supported by a ProvisionedMeshNode
  • Field Details

  • Constructor Details

    • Features

      public Features(int friend, int lowPower, int proxy, int relay)
  • Method Details

    • toString

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

      public int getFriend()
      Returns the friend feature state
    • setFriend

      public void setFriend(int friend)
    • getLowPower

      public int getLowPower()
      Returns the low power feature state
    • setLowPower

      public void setLowPower(int lowPower)
    • getProxy

      public int getProxy()
      Returns the proxy feature state
    • setProxy

      public void setProxy(int proxy)
    • getRelay

      public int getRelay()
      Returns the relay feature state
    • setRelay

      public void setRelay(int relay)
    • isFriendFeatureSupported

      public boolean isFriendFeatureSupported()
      Returns true if friend feature is supported and false otherwise
    • isRelayFeatureSupported

      public boolean isRelayFeatureSupported()
      Returns true if relay feature is supported and false otherwise
    • isProxyFeatureSupported

      public boolean isProxyFeatureSupported()
      Returns true if proxy feature is supported and false otherwise
    • isLowPowerFeatureSupported

      public boolean isLowPowerFeatureSupported()
      Returns true if low power feature is supported and false otherwise
    • assembleFeatures

      public int assembleFeatures()