ZB_ZLL_DECLARE_COLOR_SCENE_CONTROLLER_CLUSTER_LIST(color_scene_controller_clusters,
ZB_ZCL_CLUSTER_MIXED_ROLE);
ZB_ZLL_DECLARE_COLOR_SCENE_CONTROLLER_EP(
color_scene_controller_ep, ENDPOINT, color_scene_controller_clusters);
ZB_ZLL_DECLARE_COLOR_SCENE_CONTROLLER_CTX(
color_scene_controller_ctx, color_scene_controller_ep);
Registering device list
{
TRACE_MSG(TRACE_ZCL1, "> zcl_specific_cluster_cmd_handler %i", (FMT__H, param));
TRACE_MSG(TRACE_ZCL1,
"payload size: %i", (FMT__D,
ZB_BUF_LEN(zcl_cmd_buf)));
{
switch( cmd_info -> cluster_id )
{
if( cmd_info -> is_common_command )
{
switch( cmd_info -> cmd_id )
{
TRACE_MSG(TRACE_ZCL3, "Got response in cluster 0x%04x",
( FMT__D, cmd_info->cluster_id));
break;
break;
break;
default:
TRACE_MSG(TRACE_ZCL2,
"Skip general command %hd", (FMT__H, cmd_info->
cmd_id));
break;
}
}
else
{
switch( cmd_info -> cmd_id )
{
default:
TRACE_MSG(TRACE_ZCL2,
"Cluster command %hd, skip it", (FMT__H, cmd_info->
cmd_id));
break;
}
}
break;
default:
TRACE_MSG(TRACE_ZCL1, "CLNT role cluster 0x%d is not supported", (FMT__D, cmd_info->cluster_id));
break;
}
}
else
{
TRACE_MSG(TRACE_ZCL1, "SRV role, cluster 0x%d is not supported", (FMT__D, cmd_info->cluster_id));
}
TRACE_MSG(TRACE_ZCL1, "<< zcl_specific_cluster_cmd_handler %hd", (FMT__H, cmd_processed));
return cmd_processed;
}