USING DIAGNOSTICS CLUSTER

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USING DIAGNOSTICS CLUSTER

860 Views
nguyenanhgiau10
Contributor IV

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!

Labels (2)
0 Kudos
4 Replies

663 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Giau,

Please look at the 22. Diagnostics Cluster implementation.

ZigBee Cluster Library (for ZigBee 3.0) User Guide

Regards,

Mario

0 Kudos

663 Views
nguyenanhgiau10
Contributor IV

I am glad to see you, Mario. I saw it.

But, do you have any example about this cluster?

0 Kudos

663 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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

0 Kudos

663 Views
nguyenanhgiau10
Contributor IV

Thanks Mario,

Let me try!

0 Kudos