Package org.osgi.service.zigbee
Interface ZigBeeLinkQuality
public interface ZigBeeLinkQuality
This interface represents an entry of the NeighborTableList.
See Table 2.126 NeighborTableList Record Format in ZIGBEE SPECIFICATION: 1_053474r17ZB_TSC-ZigBee-Specification.pdf.
- "Consumers of this API must not implement this interface"
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant value representing a child relationship between currentZigBeeNodeand the neighbor.static final intConstant value representing a others relationship between currentZigBeeNodeand the neighbor.static final intConstant value representing a parent relationship between currentZigBeeNodeand the neighbor.static final intConstant value representing a previous child relationship between currentZigBeeNodeand the neighbor.static final intConstant value representing a sibling relationship between currentZigBeeNodeand the neighbor. -
Method Summary
Modifier and TypeMethodDescriptionintgetDepth()Returns the depth field of the NeighborTableList Record Format.intgetLQI()Returns the Link Quality Indicator.Returns the Service.PID referring to theZigBeeNoderepresenting a neighbor.intReturns the relationship with the neighbor.
-
Field Details
-
PARENT_NEIGHBOR
static final int PARENT_NEIGHBORConstant value representing a parent relationship between currentZigBeeNodeand the neighbor.- See Also:
-
CHILD_NEIGHBOR
static final int CHILD_NEIGHBORConstant value representing a child relationship between currentZigBeeNodeand the neighbor.- See Also:
-
SIBLING_NEIGHBOR
static final int SIBLING_NEIGHBORConstant value representing a sibling relationship between currentZigBeeNodeand the neighbor.- See Also:
-
OTHERS_NEIGHBOR
static final int OTHERS_NEIGHBORConstant value representing a others relationship between currentZigBeeNodeand the neighbor.- See Also:
-
PREVIOUS_CHILD_NEIGHBOR
static final int PREVIOUS_CHILD_NEIGHBORConstant value representing a previous child relationship between currentZigBeeNodeand the neighbor.- See Also:
-
-
Method Details
-
getNeighbor
String getNeighbor()Returns the Service.PID referring to theZigBeeNoderepresenting a neighbor.- Returns:
- the Service.PID referring to the
ZigBeeNoderepresenting a neighbor.
-
getLQI
int getLQI()Returns the Link Quality Indicator. See the LQI field of the NeighborTableList Record Format.- Returns:
- the Link Quality Indicator estimated by
ZigBeeNodereturning this for communicating withZigBeeNodeidentified by thegetNeighbor().
-
getDepth
int getDepth()Returns the depth field of the NeighborTableList Record Format.- Returns:
- the tree-depth of device.
-
getRelationship
int getRelationship()Returns the relationship with the neighbor. See the Relationship field of the NeighborTableList Record Format.- Returns:
- the relationship between
ZigBeeNodereturning this LQI and theZigBeeNodeidentified by thegetNeighbor().
-