Other Parts Discussed in Thread: Z-STACK
In z-stack, "Diagnostics" calls "zcl_registerReadWriteCB" to register the function “zclDiagnostic_ReadWriteAttrCB” to read or write Diagnostics cluster 's Attribute. But in zcl.c, if the function has been register by “zcl_registerReadWriteCB” is wanted be called, the Attribute should be register in attribute array by “zcl_registerAttrList” with "attr->dataPtr = NULL" .