This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sampleswitch的SW1控制不了SampleLight的LED4?



 

我用Z-stach Home Automation CC2530EB的工程做开发,我想用Sampleswitch控制SampleLight灯的开关;Sampleswitch为Router,SampleLigh为Coordinator;

现象:

1.Sampleswitch、SampleLight上电;LED4灯都慢闪(约亮500mS,灭500mS);

 

2,按下SampleLight的SW2,LED4变成快闪(约亮100mS,灭900mS);

 

 3,按下Sampleswitch的SW2,LED4变成快闪(约亮100mS,灭900mS);

 

4.Sampleswitch  LED4灯快闪(约亮100mS,灭900mS)约3S后,LED4灭了,同时SampleLight的LED4也灭了;(这算是配对上了吗?)

 

5.按下Sampleswitch的SW1,SampleLight的LED4保持灭的,无变化?

(在线调试,按下Sampleswitch的SW1可以进入zclGeneral_SendOnOff_CmdToggle( SAMPLESW_ENDPOINT, &zclSampleSw_DstAddr, FALSE, 0 );

SampleLight中没有调用zclSampleLight_ProcessIncomingMsg( (zclIncomingMsg_t *)MSGpkt );)

 

 

以上,请帮忙分析下原因,谢谢!