My device need a diagnostics cluster for check quality connection. But I don't find any example about this cluster.
How do I use Diagnostics cluster?
Thank you so much!
Please look at the 22. Diagnostics Cluster implementation.
ZigBee Cluster Library (for ZigBee 3.0) User Guide
I am glad to see you, Mario. I saw it.
But, do you have any example about this cluster?
Please look at thehttps://community.nxp.com/docs/DOC-340508, the first section is for the kw41 but please look at the Router/zcl_options.h section.
#include <jendefs.h>#include "zcl.h"#include "zcl_options.h"#include "Basic.h"#include "Identify.h"#include "Groups.h"#include "OnOff.h"//[MC]#include "Diagnostics.h"#ifdef CLD_OTA#include "OTA.h"#endif
extern tsZHA_BaseDevice sBaseDevice;//[MC]extern tsZHA_BaseDevice sBaseDeviceSwitch1;extern tsZHA_BaseDevice sBaseDeviceDiagStatus;
Note that these changes only go as far as making the new clusters added and discoverable, no functionality has been added to these clusters.
Let me try!
Retrieving data ...