Class Features
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.Features
Defines the features supported by a
ProvisionedMeshNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
Returns the friend feature stateint
Returns the low power feature stateint
getProxy()
Returns the proxy feature stateint
getRelay()
Returns the relay feature stateboolean
Returns true if friend feature is supported and false otherwiseboolean
Returns true if low power feature is supported and false otherwiseboolean
Returns true if proxy feature is supported and false otherwiseboolean
Returns true if relay feature is supported and false otherwisevoid
setFriend
(int friend) void
setLowPower
(int lowPower) void
setProxy
(int proxy) void
setRelay
(int relay) toString()
-
Field Details
-
DISABLED
public static final int DISABLED- See Also:
-
ENABLED
public static final int ENABLED- See Also:
-
UNSUPPORTED
public static final int UNSUPPORTED- See Also:
-
-
Constructor Details
-
Features
public Features(int friend, int lowPower, int proxy, int relay)
-
-
Method Details
-
toString
-
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()
-