Class AllocatedUnicastRange
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.Range
org.openremote.agent.protocol.bluetooth.mesh.AddressRange
org.openremote.agent.protocol.bluetooth.mesh.AllocatedUnicastRange
-
Field Summary
Fields inherited from class org.openremote.agent.protocol.bluetooth.mesh.Range
lowerBound, upperBound
-
Constructor Summary
ConstructorsConstructorDescriptionAllocatedUnicastRange
(int lowAddress, int highAddress) ConstructsAllocatedUnicastRange
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 allocated unicast addressvoid
setLowAddress
(int lowAddress) Sets the low address of the allocated unicast 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
-
AllocatedUnicastRange
public AllocatedUnicastRange(int lowAddress, int highAddress) ConstructsAllocatedUnicastRange
for provisioner- Parameters:
lowAddress
- low address of unicast rangehighAddress
- high address of unicast 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 unicast address- Parameters:
lowAddress
- of the unicast 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 allocated unicast address- Parameters:
highAddress
- of the group range
-