| Modifier and Type | Field and Description |
|---|---|
| public static final String |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ZCLCommandResponseStream | Returns: aZCLCommandResponseStream to collect every ZCL frame one
after the other in case of multiple responses.a cluster identifier. clusterId, ZCLFrame a command frame sequence. frame)Sends a ZCL frame to the group represented by this service. |
| public ZCLCommandResponseStream | Returns: aZCLCommandResponseStream to collect every ZCL frame one
after the other in case of multiple responses.a cluster identifier. clusterId, ZCLFrame a command frame sequence. 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)Sends a ZCL frame to the ZigBee group represented by this service. |
| public Promise | Returns: A promise representing the completion of this asynchronous call.Promise#getFailure() returns null if the cluster has been
successfully bound. The adequate ZigBeeException is
returned otherwise.String representing the service PID of the
ZigBeeEndpoint to add to this Group.Requests an endpoint to join this group. |
| public Promise | Returns: A promise representing the completion of this asynchronous call.Promise#getFailure() returns null if the cluster has been
successfully bound. The adequate ZigBeeException is
returned otherwise.String representing the service PID of the
ZigBeeEndpoint to remove from this Group.Requests an endpoint to leave this group. |
| ID | back to summary |
|---|---|
| public static final String ID Key of the It is a mandatory property for this service. | |
| getGroupAddress | back to summary |
|---|---|
| public int getGroupAddress() Returns the 16-bit group address.
| |
| groupcast | back to summary |
|---|---|
| public ZCLCommandResponseStream groupcast(int clusterId, ZCLFrame frame) Sends a ZCL frame to the group represented by this service. The returned stream will provide the invocation response(s) in an asynchronous way. The source endpoint is not specified in this method call. To send the appropriate message on the network, the base driver must generate a source endpoint. The latter must not correspond to any exported endpoint.
| |
| groupcast | back to summary |
|---|---|
| public ZCLCommandResponseStream groupcast(int clusterId, ZCLFrame frame, String exportedServicePID) Sends a ZCL frame to the ZigBee group represented by this service. The returned stream will provide the invocation response(s) in an asynchronous way. This method is to be used by applications when the targeted device has to distinguish between source endpoints of the message. For instance, alarms cluster (see 3.11 Alarms Cluster in [ZCL]) generated events are differently interpreted if they come from the oven or from the intrusion alert system.
| |
| joinGroup | back to summary |
|---|---|
| public Promise Requests an endpoint to join this group. This method may be invoked on
exported and imported endpoints. In the former case, the ZigBee Base
Driver should rely on the APSME-ADD-GROUP API defined by the
ZigBee Specification, or it will use the proper commands of the
Groups cluster of the ZigBee Specification Library.
As described in "Table 2.15 APSME-ADD-GROUP.confirm Parameters" of the
ZigBee specification 1_053474r17ZB_TSC-ZigBee-Specification.pdf, an
add_group request can have the following status:
| |
| leaveGroup | back to summary |
|---|---|
| public Promise Requests an endpoint to leave this group. This method may be invoked on
exported and imported endpoints. In the former case, the ZigBee Base
Driver should rely on the APSME-REMOVE-GROUP API defined by the
ZigBee Specification, or it will use the proper commands of the
Groups cluster of the ZigBee Specification Library.
As described in "Table 2.17 APSME-REMOVE-GROUP.confirm Parameters" of the
ZigBee specification 1_053474r17ZB_TSC-ZigBee-Specification.pdf, a
remove_group request can have the following status:
| |