Part Number: CC2530
Hi Guys,
I trying to include ZCL_CLUSTER_ID_GEN_LEVEL_CONTROL (0x0008) in the Simple Descriptor Output cluster array list. As you see bellow:
const cId_t zclTTa0003_InClusterList[] =
{
ZCL_CLUSTER_ID_GEN_BASIC,
ZCL_CLUSTER_ID_GEN_IDENTIFY,
ZCL_CLUSTER_ID_GEN_GROUPS,
ZCL_CLUSTER_ID_GEN_SCENES,
ZCL_CLUSTER_ID_GEN_ON_OFF,
#ifdef ZCL_LEVEL_CTRL
ZCL_CLUSTER_ID_GEN_LEVEL_CONTROL
#endif
};
// work-around for compiler bug... IAR can't calculate size of array with #if options.
#ifdef ZCL_LEVEL_CTRL
#define ZCLTTa0003_MAX_INCLUSTERS 6
#else
#define ZCLTTa0003_MAX_INCLUSTERS 5
#endif
But on the Simple Descriptor Response message, sent by my device, only appear 5 Cluster ID (without the 0x0008) , as you can see on the PIC attached.
How can I fix it?