@@ -542,7 +542,9 @@ follows:
542542
543543An `sdfEvent` is mapped to a Zigbee cluster event such as attribute reporting
544544or a device-initiated write to an attribute on the gateway. The Zigbee event
545- protocol mapping structure is defined as follows :
545+ protocol mapping structure is defined as follows. The `"attribute_reporting"`
546+ and `"write_event"` variants reuse the `zigbee-property` definition from
547+ {{zigmap1}} to identify the underlying Zigbee attribute:
546548
547549~~~ cddl
548550{::include-fold cddl/zigbee-event-map.cddl}
@@ -558,21 +560,10 @@ Where:
558560 attribute on the gateway.
559561 - `"connection_events"` : the event is triggered when a Zigbee end device
560562 joins or leaves the Zigbee network.
561- - ` endpointID` is the Zigbee endpoint ID that corresponds to the SDF event.
562- It is required when `type` is `"attribute_reporting"` or `"write_event"`.
563- - ` clusterID` is the Zigbee cluster ID that corresponds to the SDF event.
564- It is required when `type` is `"attribute_reporting"` or `"write_event"`.
565- - ` attributeID` is the Zigbee attribute ID that corresponds to the SDF event.
566- It is required when `type` is `"attribute_reporting"` or `"write_event"`.
567- - ` attributeType` is the Zigbee data type of the attribute. It is required
568- when `type` is `"attribute_reporting"` or `"write_event"`.
569- - ` profileID` is the Zigbee application profile ID (optional). It only
570- applies when `type` is `"attribute_reporting"` or `"write_event"`. If not
571- provided, it defaults to the Home Automation profile (0x0104), which is the
572- default profile in Zigbee 3.0.
573- - ` manufacturerCode` is the Zigbee manufacturer code of the attribute
574- (optional). It only applies when `type` is `"attribute_reporting"` or
575- ` "write_event"` .
563+ - ` endpointID` , `clusterID`, `attributeID`, `attributeType`, `profileID`, and
564+ ` manufacturerCode` have the same meaning as described for `sdfProperty` in
565+ {{zigmap1}}. These fields are present when `type` is `"attribute_reporting"`
566+ or `"write_event"`, and MUST be absent when `type` is `"connection_events"`.
576567- ` minReportingInterval` is the minimum reporting interval in seconds
577568 (optional). It is the minimum time between issued attribute reports and
578569 only applies when `type` is `"attribute_reporting"`.
@@ -581,10 +572,12 @@ Where:
581572 only applies when `type` is `"attribute_reporting"`.
582573- ` reportableChange` is the minimum change to the attribute value that triggers
583574 a report (optional). It only applies when `type` is `"attribute_reporting"`
584- and to attributes with an 'analog' data type, and MUST have the same data type
585- as the reported attribute.
586-
587- When `type` is `"connection_events"`, no other attributes are required.
575+ and to attributes whose `attributeType` is one of the "analog" data types
576+ defined by the Zigbee Cluster Library, part of {{Zigbee30}} (e.g., unsigned
577+ and signed integers, floating point numbers), as opposed to "discrete" data types
578+ (e.g., booleans, enumerations, bitmaps), for which reporting a minimum
579+ change is not meaningful. The encoded value MUST use the same Zigbee data type
580+ as the reported attribute's `attributeType`.
588581
589582For example, a Zigbee event mapping for a temperature change report :
590583
0 commit comments