Each physical device may contain up 240 logical devices which are represented
by the ZigBeeEndpoint class.
Each logical device is identified by an EndPoint address, but shares:
| Modifier and Type | Field and Description |
|---|---|
| public static final short | COORDINATOR
Constant value used as logical type value when the ZigBee device is a Coordinator. |
| public static final String | EXTENDED_PAN_ID
Key of |
| public static final String | IEEE_ADDRESS
Property key for the mandatory node IEEE Address representing node MAC address. |
| public static final String | LOGICAL_TYPE
Property name for the device logical type. |
| public static final String | MANUFACTURER_CODE
Property name for a manufacturer code that is allocated by the ZigBee Alliance, relating the manufacturer to the device. |
| public static final String | |
| public static final String | POWER_SOURCE
ZigBee power source, that is, 3rd bit of "MAC Capabilities" in Node Descriptor. |
| public static final String | RECEIVER_ON_WHEN_IDLE
ZigBee receiver on when idle, that is, 4th bit of "MAC Capabilities" in Node Descriptor. |
| public static final short | ROUTER
Constant value used as logical type value when the ZigBee device is a Router. |
| public static final short | ZED
Constant value used as logical type value when the ZigBee device is an End Device. |
| Modifier and Type | Method and Description |
|---|---|
| public ZCLCommandResponseStream | Returns: a response stream instance that collects and allows a client to be asynchronously notified about the ZCLFrame responses sent back by the ZigBee nodes.the cluster ID the broadcast message is directed. clusterID, ZCLFrame a ZCL Frame that contains the command that have to be
broadcast to the specific cluster of all the endpoints running
on the node. frame)Broadcasts a given ZCL Frame to cluster |
| public ZCLCommandResponseStream | Returns: a response stream instance that collects and allows the caller to be asynchronously notified about the ZCLFrame responses sent back by the ZigBee nodes.the cluster ID the broadcast message is directed. clusterID, ZCLFrame a ZCL Frame that contains the command that have to be
broadcast to the specific cluster of all the endpoints running
on the node. frame, String the source endpoint of the command request. In
targeted situations, the source endpoint is the valid service PID
of an exported endpoint. exportedServicePID)Broadcasts a given ZCL Frame to cluster |
| public Promise | Returns: A promise representing the completion of this asynchronous call. It will be used in order to return the complex descriptorZigBeeComplexDescriptor. If the ZDP
Complex_Desc_rsp do not return success, the promise must
fail with a ZDPException exception with the correct
status code.Retrieves the ZigBee node Complex Descriptor. |
| public ZigBeeEndpoint[] | Returns: the array of the endpoints hosted by this node, returns an empty array if this node does not host any endpoint.Returns the array of the endpoints hosted by this node. |
| public BigInteger | Returns: the network Extended PAN identifier (EPID).Returns the network Extended PAN identifier (EPID). |
| public String | Returns: the OSGi service PID of the ZigBee Host that is on the network of this node.Returns the OSGi service PID of the ZigBee Host that is on the network of this node. |
| public BigInteger | Returns: the ZigBee device node IEEE Address of this node.Returns the ZigBee device node IEEE Address of this node. |
| public Promise | Returns: A promise representing the completion of this asynchronous call. It will be resolved with the result of this operation. In case of success the resolved value will be aMap containing the
Service.PID as String key of the ZigBeeNode
service and the value the ZigBeeLinkQuality for that
node. In case of errors the promise must fail with the correct
ZDPException.Retrieves the link quality information to the neighbor nodes. |
| public int | Returns: the current network address of this node.Returns the current network address (alias short-address) of this node. |
| public Promise | Returns: A promise representing the completion of this asynchronous call. It will be used in order to return the node descriptorZigBeeNodeDescriptor. If the ZDP Node_Desc_rsp
do not return success, the promise must fail with a
ZDPException exception with the correct status code.Retrieves the ZigBee node Node Descriptor. |
| public int | Returns: the network Personal Area Network identifier (PAN ID).Returns the network Personal Area Network identifier (PAN ID). |
| public Promise | Returns: A promise representing the completion of this asynchronous call. It will be used in order to return the node power descriptorZigBeePowerDescriptor. If the ZDP Power_Desc_rsp
do not return success, the promise must fail with a
ZDPException exception with the correct status code.Retrieves the ZigBee node Power Descriptor. |
| public Promise | Returns: A promise representing the completion of this asynchronous call. In case of success, the resolved value will be aMap
containing the Service.PID as String key of the
ZigBeeNode service and the value the ZigBeeRoute
for that node. In case of failure a ZDPException
exception with the correct status code must be used to fail the
promise.Retrieves the routing table information of the node. |
| public Promise | Returns: A promise representing the completion of this asynchronous call. It will be used in order to return the node user description (String). In case of errors the promise will fail with aZDPException exception containing the response status
code value.Returns the user description of this node. |
| public Promise | Returns: A promise representing the completion of this asynchronous call. In case of success the promise resolves with the responseZDPFrame.the cluster Id of the clusterIdReq, int ZDPFrame that will be
sent to the device.the expected cluster Id of the response to
the expectedClusterIdRsp, ZDPFrame ZDPFrame sent.the message)ZDPFrame containing the message.Sends the |
| public Promise | Returns: A promise representing the completion of this asynchronous call. In case of success the promise resolves with the responseZDPFrame.the cluster Id of the clusterIdReq, ZDPFrame ZDPFrame that will be
sent to the device.the message)ZDPFrame containing the message.Sends the |
| public Promise | Returns: A promise representing the completion of this asynchronous call. In case of success, the promise is resolved with anull
value, otherwise with the correct ZDPException exception.Requests this node to leave the ZigBee network. |
| public Promise | Returns: A promise representing the completion of this asynchronous call. In case of success, the ZigBeeNode service must be unregistered, first and then the promise may be resolved with anull
value, otherwise with the correct ZDPException exception.true if the device being asked to leave from the
current parent is requested to rejoin the network. Otherwise,
false.true if the device being asked to leave the
network is also being asked to remove its child devices, if any.
Otherwise, false.Requests the device to leave the network. |
| public Promise | Returns: A promise representing the completion of this asynchronous call. In case of success the promise returns anull value. In
case of errors the promise must fail with a ZDPException
exception containing the response status code value.the user description. userDescription)Sets the user description of this node. |
| COORDINATOR | back to summary |
|---|---|
| public static final short COORDINATOR Constant value used as logical type value when the ZigBee device is a Coordinator. | |
| EXTENDED_PAN_ID | back to summary |
|---|---|
| public static final String EXTENDED_PAN_ID Key of
This property is of type | |
| IEEE_ADDRESS | back to summary |
|---|---|
| public static final String IEEE_ADDRESS Property key for the mandatory node IEEE Address representing node MAC address. MAC Address is a 12-digit(48-bit) or 16-digit(64-bit) hexadecimal numbers. | |
| LOGICAL_TYPE | back to summary |
|---|---|
| public static final String LOGICAL_TYPE Property name for the device logical type. The property value is of type
| |
| MANUFACTURER_CODE | back to summary |
|---|---|
| public static final String MANUFACTURER_CODE Property name for a manufacturer code that is allocated by the ZigBee
Alliance, relating the manufacturer to the device. The property is of
type | |
| PAN_ID | back to summary |
|---|---|
| public static final String PAN_ID Property containing the ZigBee network PAN ID. The property is of type
| |
| POWER_SOURCE | back to summary |
|---|---|
| public static final String POWER_SOURCE ZigBee power source, that is, 3rd bit of "MAC Capabilities" in Node
Descriptor. Set to
This property is of type | |
| RECEIVER_ON_WHEN_IDLE | back to summary |
|---|---|
| public static final String RECEIVER_ON_WHEN_IDLE ZigBee receiver on when idle, that is, 4th bit of "MAC Capabilities" in
Node Descriptor. Set to
This property is of type | |
| ROUTER | back to summary |
|---|---|
| public static final short ROUTER Constant value used as logical type value when the ZigBee device is a Router. | |
| ZED | back to summary |
|---|---|
| public static final short ZED Constant value used as logical type value when the ZigBee device is an End Device. | |
| broadcast | back to summary |
|---|---|
| public ZCLCommandResponseStream broadcast(int clusterID, ZCLFrame frame) Broadcasts a given ZCL Frame to cluster
| |
| broadcast | back to summary |
|---|---|
| public ZCLCommandResponseStream broadcast(int clusterID, ZCLFrame frame, String exportedServicePID) Broadcasts a given ZCL Frame to cluster
| |
| getComplexDescriptor | back to summary |
|---|---|
| public Promise Retrieves the ZigBee node Complex Descriptor. As described in Table 2.92 Fields of the Complex_Desc_rsp Command of the ZigBee specification, a Complex_Desc_rsp command can return with the following status codes:
| |
| getEndpoints | back to summary |
|---|---|
| public ZigBeeEndpoint[] getEndpoints() Returns the array of the endpoints hosted by this node.
| |
| getExtendedPanId | back to summary |
|---|---|
| public BigInteger getExtendedPanId() Returns the network Extended PAN identifier (EPID).
| |
| getHostPid | back to summary |
|---|---|
| public String getHostPid() Returns the OSGi service PID of the ZigBee Host that is on the network of this node.
| |
| getIEEEAddress | back to summary |
|---|---|
| public BigInteger getIEEEAddress() Returns the ZigBee device node IEEE Address of this node.
| |
| getLinksQuality | back to summary |
|---|---|
| public Promise Retrieves the link quality information to the neighbor nodes. An implementation of this method may use the Mgmt_Lqi_req and Mgmt_Lqi_rsp messages to retrieve the Link Quality table (also known as NeighborTableList in the ZigBee Specification).
The method limit the Link Quality table to the
In case of failure, the target device may report error code
| |
| getNetworkAddress | back to summary |
|---|---|
| public int getNetworkAddress() Returns the current network address (alias short-address) of this node.
| |
| getNodeDescriptor | back to summary |
|---|---|
| public Promise Retrieves the ZigBee node Node Descriptor. As described in Table 2.91 Fields of the Node_Desc_rsp Command of the ZigBee specification, a Node_Desc_rsp command can return with the following status codes:
| |
| getPanId | back to summary |
|---|---|
| public int getPanId() Returns the network Personal Area Network identifier (PAN ID).
| |
| getPowerDescriptor | back to summary |
|---|---|
| public Promise Retrieves the ZigBee node Power Descriptor. As described in Table 2.92 Fields of the Power_Desc_rsp Command of the ZigBee specification, a Power_Desc_rsp command can return with the following status codes:
| |
| getRoutingTable | back to summary |
|---|---|
| public Promise Retrieves the routing table information of the node. This routing table is also known as RoutingTableList in the ZigBee Specification. An implementation of this method may use the Mgmt_Rtg_req ZDP command to retrieve the Routing Table .
The target device may report a status code
| |
| getUserDescription | back to summary |
|---|---|
| public Promise Returns the user description of this node. As described in Table 2.97 Fields of the User_Desc_rsp Command of the ZigBee specification, a User_Desc_rsp may return the following status:
| |
| invoke | back to summary |
|---|---|
| public Promise Sends the | |
| invoke | back to summary |
|---|---|
| public Promise Sends the | |
| leave | back to summary |
|---|---|
| public Promise Requests this node to leave the ZigBee network. As described in Table 2.131 Fields of the Mgmt_Leave_rsp Command of the ZigBee specification, a Mgmt_Leave_rsp ZDP command may return the following status values:
| |
| leave | back to summary |
|---|---|
| public Promise Requests the device to leave the network. As described in Table 2.131 Fields of the Mgmt_Leave_rsp Command of the ZigBee specification, a Mgmt_Leave_rsp command could return the following status values:
| |
| setUserDescription | back to summary |
|---|---|
| public Promise Sets the user description of this node. As described in Table 2.137 ZDP Enumerations Description of the ZigBee specification, a Set_User_Desc_rsp request may return the following status:
| |