ZCL_ReportOnChangeIfNeeded Function

C

ZCL_Status_t ZCL_ReportOnChangeIfNeeded(void *attr);

Description

Sets ReportOnChange feature for reporting an attribute on change and if all conditions to report are met.

\ingroup zcl_common

Parameters

ParamDescription
attrpointer to attribute

Returns

The status of the operation: \n ::ZCL_SUCCESS_STATUS (0x00) - new value has been written successfully \n

::ZCL_UNSUPPORTED_ATTRIBUTE_STATUS (0x86) - the specified attribute is not supported