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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,286件の閲覧回数
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 解決策
1,139件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Dost,

Thanks for the feedback, I let the team know.

Regards,

Mario

元の投稿で解決策を見る

2 返答(返信)
1,139件の閲覧回数
patrick_pan
NXP Employee
NXP Employee

Hi,Dost 

It is Typo

0 件の賞賛
返信
1,140件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Dost,

Thanks for the feedback, I let the team know.

Regards,

Mario