User`s manual

82
start_receiving_reports
Configures the target cluster to begin sending ZCL Report Attributes Commands for the
specified attributes to the local device. Can also be used to enable pseudo reporting on
the gateway, where the gateway sends Read Attribute Commands to the remote device
to simulate enabling reporting on the device.
Parameter Type Description
cluster_id int 16-bit identifier of the target cluster to which the ZCL command
will be
sent.
server_or_client int Target cluster is a server (0) or client (1) cluster.
destination_endpoint_id int 8-bit identifier of the endpoint on which the t
arget cluster exists.
pseudo_reporting (optional) bool If TRUE, will use pseudo reporting
instead of ZCL reporting.
If FALSE, will use ZCL reporting.
If omitted or set to none, will try to use ZCL reporting. If that fails
or isn’t
supported, will use pseudo reporting.
source_endpoint_id (optional) int 8-bit identifier of the end
point 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.
Default
s to the local device.
manufacturer_code (optional) int If included, the 16-bit manufacturer co
de of the attributes in the record
list. Defaults to no manufacturer code.
record_list list List of records will make up the payload
of the ZCL Configure Report-
ing Command.
item - Attr
ibuteReportingConfigurationRecord (See
“AttributeReportingConfigurationRecord” on page 120)
start_receiving_reports 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 Discover Attri-
butes Response Command.
item - AttributeInformationRecord.
(See “AttributeInformationRecord” on page 123)
Parameter Type Description