Contradiction in ZCL Cluster library manual JN-UG-3103 and SDK Files

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Contradiction in ZCL Cluster library manual JN-UG-3103 and SDK Files

跳至解决方案
934 次查看
dmsherazi
Contributor IV

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)
1 解答
787 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Dost,

Thanks for the feedback, I let the team know.

Regards,

Mario

在原帖中查看解决方案

2 回复数
787 次查看
patrick_pan
NXP Employee
NXP Employee

Hi,Dost 

It is Typo

0 项奖励
788 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Dost,

Thanks for the feedback, I let the team know.

Regards,

Mario