The Door Lock section of JN-UG-3103 has the following mentioned
17.8 Compile-Time Options
To enable the Door Lock cluster in the code to be built, it is necessary to add the
following to the zcl_options.h file:
#define CLD_DOOR_LOCK
In addition, to include the software for a cluster client or server or both, it is necessary
to add one or both of the following to the same file:
#define CLD_DOOR_LOCK_SERVER
#define CLD_DOOR_LOCK_CLIENT
While in SDK it is expecting DOOR_LOCK_SERVER && DOOR_LOCK_CLIENT
as in D:\NXP\bstudio_nxp\sdk\JN-SW-4170\Components\ZCL\Devices\ZHA\Closures\Include\door_lock.h
#if defined(CLD_DOOR_LOCK) && !defined(DOOR_LOCK_SERVER) && !defined(DOOR_LOCK_CLIENT)
已解决! 转到解答。