zigbee cluster can't call-back APP_ZCL_cbEndpointCallback function

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

zigbee cluster can't call-back APP_ZCL_cbEndpointCallback function

1,184件の閲覧回数
13560436802
Contributor II

Hi,i have a question about zigbee as below:
I use the "zigbee gateway user interface" send command to a device(colorTemperatureLight),
case 1:when send the "MoveToHue","MoveToColor",MoveToSat,the Receiving device only have "ZCL_Task endpoint event:1" printf;
case 2:but when the "MoveToTemp",the Receiving device have "ZCL_Task endpoint event:1" and "EP EVT:Custom C1 0300" printf;
form the printf impromation,i know that case 1 didn't call-back the "APP_ZCL_cbEndpointCallback(tsZCL_CallBackEvent *psEvent)" function ,
and case 2 can call-back the "APP_ZCL_cbEndpointCallback(tsZCL_CallBackEvent *psEvent)" function .
why,and how to make case 1 can also call-back the the "APP_ZCL_cbEndpointCallback(tsZCL_CallBackEvent *psEvent)" function;
in addition, in other case, i add a "Level control cluster" by myself, it can't call-back the the "APP_ZCL_cbEndpointCallback(tsZCL_CallBackEvent *psEvent)" function
when receive a command;
can you tell me why and how to solve it;

thank you very much!

11_20181009094126.png

ラベル(3)
0 件の賞賛
返信
1 返信

1,037件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Dylan,

If you look into the Zigbee Cluster Library the Colour Control Cluster requires extra storage space to be allocated for use by internal functions. If you look into the eCLD_ColourControlCreateColourControl, the custom data structure is defining the E_ZCL_CBET_CLUSTER_CUSTOM.

    psCustomDataStructure->sCustomCallBackEvent.eEventType = E_ZCL_CBET_CLUSTER_CUSTOM;

That is the reason why are you looking the EP EVT: Custom Cl 0300.

Regards,

Mario

0 件の賞賛
返信