5.1.7.3.10 ZCL_ReportOnChangeIfNeeded Function
Syntax
ZCL_Status_t ZCL_ReportOnChangeIfNeeded(void *attr);
Description
This function sets the ReportOnChange
attribute function.
The set ReportOnChange
attribute function configures the ReportOnChange
feature to enable reporting of an attribute when it changes, provided all conditions for reporting are satisfied.
Input Parameters
Parameter Name | Description |
---|---|
attr | Pointer to attribute |
Return Type and Values
- The status of the operation:
ZCL_SUCCESS_STATUS (0x00)
– New value is written successfullyZCL_UNSUPPORTED_ATTRIBUTE_STATUS (0x86)
– Does not support the specified attribute