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!
Hi Giau,
Please look at the 22. Diagnostics Cluster implementation.
ZigBee Cluster Library (for ZigBee 3.0) User Guide
Regards,
Mario
I am glad to see you, Mario. I saw it.
But, do you have any example about this cluster?
Hi Gia,
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.
base_device.h
#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
app_zcl_task.h
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.
Regards,
Mario
Thanks Mario,
Let me try!