User`s manual

81
discover_attributes
Discovers all ZCL attributes on the target cluster.
Parameter Type Description
cluster_id int 16-bit identifier of the t
arget cluster to which the ZCL command will
be sent.
server_or_client int Target cluster is a server (0) or client (1).
destination_endpoint_id int 8-bit identifier of the endpoint on which
the target cluster exists.
source_endpoint_id (optional) int 8-bit identifier of the endpoint
from which the ZCL command will be
sent. Required for remote requests.
destination_address (optional) MAC 64-bit extended address of the device to send the ZCL command
to.
manufacturer_code (optional) int If included, the 16-bit manufacturer co
de of the attributes to be dis-
covered. Defaults to no manufacturer code.
discover_attributes Parameters:
discover_attributes_response Parameters:
destination_endpoint_id
(optional)
int 8-bit identifier of the endpoint to which the response was sent.
source_address (optional) MAC 64-bit extended address of the device
from which the response was
sent.
manufacturer_code (optional) int 16-bit manufacturer code of the attributes in the record list.
record_list list List of records which made up the payload of the ZCL Write Attributes
Re
sponse Command.
item - W
riteAttributeResponseRecord. (See
“WriteAttributeResponseRecord” on page 120)
Parameter Type Description
cluster_id int 16-bit identifier of the target cluster from which the response was
sent.
server_or_client int Target cluster is a server (0) or client (1) cluster.
profile_id int 16-bit profile identifier of the endpoint from which the response was
sent.
source_endpoint_id int 8-bit identifier of the endpoint from which the response was sent.
Parameter Type Description