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"
#include "Diagnostics.h"
#ifdef CLD_OTA
#include "OTA.h"
#endif
app_zcl_task.h
extern tsZHA_BaseDevice sBaseDevice;
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