@@ -539,7 +539,9 @@ follows:
539539
540540An `sdfEvent` is mapped to a Zigbee cluster event such as attribute reporting
541541or a device-initiated write to an attribute on the gateway. The Zigbee event
542- protocol mapping structure is defined as follows :
542+ protocol mapping structure is defined as follows. The `"attribute_reporting"`
543+ and `"write_event"` variants reuse the `zigbee-property` definition from
544+ {{zigmap1}} to identify the underlying Zigbee attribute:
543545
544546~~~ cddl
545547{::include-fold cddl/zigbee-event-map.cddl}
@@ -555,21 +557,10 @@ Where:
555557 attribute on the gateway.
556558 - `"connection_events"` : the event is triggered when a Zigbee end device
557559 joins or leaves the Zigbee network.
558- - ` endpointID` is the Zigbee endpoint ID that corresponds to the SDF event.
559- It is required when `type` is `"attribute_reporting"` or `"write_event"`.
560- - ` clusterID` is the Zigbee cluster ID that corresponds to the SDF event.
561- It is required when `type` is `"attribute_reporting"` or `"write_event"`.
562- - ` attributeID` is the Zigbee attribute ID that corresponds to the SDF event.
563- It is required when `type` is `"attribute_reporting"` or `"write_event"`.
564- - ` attributeType` is the Zigbee data type of the attribute. It is required
565- when `type` is `"attribute_reporting"` or `"write_event"`.
566- - ` profileID` is the Zigbee application profile ID (optional). It only
567- applies when `type` is `"attribute_reporting"` or `"write_event"`. If not
568- provided, it defaults to the Home Automation profile (0x0104), which is the
569- default profile in Zigbee 3.0.
570- - ` manufacturerCode` is the Zigbee manufacturer code of the attribute
571- (optional). It only applies when `type` is `"attribute_reporting"` or
572- ` "write_event"` .
560+ - ` endpointID` , `clusterID`, `attributeID`, `attributeType`, `profileID`, and
561+ ` manufacturerCode` have the same meaning as described for `sdfProperty` in
562+ {{zigmap1}}. These fields are present when `type` is `"attribute_reporting"`
563+ or `"write_event"`, and MUST be absent when `type` is `"connection_events"`.
573564- ` minReportingInterval` is the minimum reporting interval in seconds
574565 (optional). It is the minimum time between issued attribute reports and
575566 only applies when `type` is `"attribute_reporting"`.
@@ -578,10 +569,12 @@ Where:
578569 only applies when `type` is `"attribute_reporting"`.
579570- ` reportableChange` is the minimum change to the attribute value that triggers
580571 a report (optional). It only applies when `type` is `"attribute_reporting"`
581- and to attributes with an 'analog' data type, and MUST have the same data type
582- as the reported attribute.
583-
584- When `type` is `"connection_events"`, no other attributes are required.
572+ and to attributes whose `attributeType` is one of the "analog" data types
573+ defined by the Zigbee Cluster Library, part of {{Zigbee30}} (e.g., unsigned
574+ and signed integers, floating point numbers), as opposed to "discrete" data types
575+ (e.g., booleans, enumerations, bitmaps), for which reporting a minimum
576+ change is not meaningful. The encoded value MUST use the same Zigbee data type
577+ as the reported attribute's `attributeType`.
585578
586579For example, a Zigbee event mapping for a temperature change report :
587580
0 commit comments