Class AllocatedGroupRange
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.Range
org.openremote.agent.protocol.bluetooth.mesh.AddressRange
org.openremote.agent.protocol.bluetooth.mesh.AllocatedGroupRange
-
Field Summary
Fields inherited from class org.openremote.agent.protocol.bluetooth.mesh.Range
lowerBound, upperBound
-
Constructor Summary
ConstructorsConstructorDescriptionAllocatedGroupRange
(int lowAddress, int highAddress) ConstructsAllocatedGroupRange
for provisioner -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the high address of the allocated group rangeint
Returns the low address of the allocated group addressfinal int
Returns the lower bound of the Rangefinal int
Returns the upper bound of the rangevoid
setHighAddress
(int highAddress) Sets the high address of the group addressvoid
setLowAddress
(int lowAddress) Sets the low address of the allocated group addressMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.AddressRange
minus, minus, overlaps, range
Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.Range
mergeGroupRanges, mergeSceneRanges, mergeUnicastRanges, overlaps
-
Constructor Details
-
AllocatedGroupRange
public AllocatedGroupRange(int lowAddress, int highAddress) ConstructsAllocatedGroupRange
for provisioner- Parameters:
lowAddress
- low address of group rangehighAddress
- high address of group range
-
-
Method Details
-
getLowerBound
public final int getLowerBound()Description copied from class:Range
Returns the lower bound of the Range- Specified by:
getLowerBound
in classRange
-
getUpperBound
public final int getUpperBound()Description copied from class:Range
Returns the upper bound of the range- Specified by:
getUpperBound
in classRange
-
getLowAddress
public int getLowAddress()Description copied from class:AddressRange
Returns the low address of the allocated group address- Specified by:
getLowAddress
in classAddressRange
- Returns:
- low address
-
setLowAddress
public void setLowAddress(int lowAddress) Sets the low address of the allocated group address- Parameters:
lowAddress
- of the group range
-
getHighAddress
public int getHighAddress()Description copied from class:AddressRange
Returns the high address of the allocated group range- Specified by:
getHighAddress
in classAddressRange
- Returns:
- highAddress of the group range
-
setHighAddress
public void setHighAddress(int highAddress) Sets the high address of the group address- Parameters:
highAddress
- of the group range
-