Define and add custom cluster

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

Define and add custom cluster

672 次查看
836733207
Contributor II

Hello Everyone:

   
            I am new to Zigbee and I've been trying define and add my own cluster,in which I can define custom attribute and command.
            I learn the way mentioned on ZigBee 3.0: Adding Clusters,but it seems that the cluster has to had been definded in SDK.If I want to add custom cluster,it would not work.
Note that the cluster i want to add is private,including attributes such as name,length,addr and so on,which can not find in the ZCL that has supported.
            It seem that I have to implement a files like the files in C:\NXP\bstudio_nxp\sdk\JN-SW-4170\Components\ZCL\Clusters\General,is that true and how can I find the gaidance?
         
            Please, could anyone help me and give some infos?

0 项奖励
1 回复

541 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hello, I hope you're doing well!

 

To create a custom cluster you need to define each of the ZCL structures. These structures contain endpoint definitions, cluster definitions, attribute definitions, addresses, attribute reporting configuration, response configurations and cluster instance data, as well as other configurations.

 

For further information about the ZCL structures, please take a look at chapter 6 of this document right here.

 

For reference, you can check the JN-AN-1229 Application note, as it contains an instance of a custom cluster.

 

If you have any further questions, please let me know.

 

Best regards,

Sebastian

0 项奖励