Hi TI,
I am trying to create manufacturer specific cluster with an attribute.
I am using the zcl_generic_app example project.
In the code I have defined the cluster and the attribute as:
#define My_CLUSTER 0xFC20
#define My_ATTRIBUTE 0x0000
In the attributes table I did add:
{
My_CLUSTER,
{
My_ATTRIBUTE,
ZCL_DATATYPE_CHAR_STR,
ACCESS_CONTROL_WRITE | ACCESS_CONTROL_READ | ACCESS_REPORTABLE,
(void *)&Buff_Command_AT
}
},
In both Cluster ID List (client and server) I did add:
My_CLUSTER,
In the PREDEFINES SYMBOLS of the project I did add the compilation flag: BDB_REPORTING
The project build ok; but in run time the firmware is stuck in the function:
Zstackapi_bdbStartCommissioningReq(appServiceTaskId,&zstack_bdbStartCommissioningReq);
If In the attribute table I remove the ACCESS_REPORTABLE the firmware runs! But I need reportable attribute :-(.
I hasn't tested with zigbee network yet.
Please, What I am wrong doing ?
Thank you very much! Best Regards