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.

NOT Getting On/Off CMD

Hello,
             My  application is on/off devices. If coordinator press a switch/key, i am sending zclGeneral_SendOnOff_CmdToggle to ZED, i got dst of ZED by device announcement, i am getting the short address and when i pressed the key, it send a Data to ZED short address, But i could not able to recieve in ZED. In ZED, i have registered on/off CB, in that same function i sending ack to coordinator by sending ZCL report. Here is my sniffer log, it shows that, from coordinator, it is sending a data. But ZED is not sending an4150.Sniffer.psdy data.

static void zclLightOnOff_OnOffCB( uint8 cmd )
{

if ( cmd == COMMAND_ON )
{
zclLightOnOff_OnOff = LIGHT_ON;
Send_Ack(LIGHT_ON);
}

// Turn off the light
else if ( cmd == COMMAND_OFF )
{
zclLightOnOff_OnOff = LIGHT_OFF;
Send_Ack(LIGHT_OFF);
}

// Toggle the light
else
{
if ( zclLightOnOff_OnOff == LIGHT_OFF )
{
zclLightOnOff_OnOff = LIGHT_ON;
Send_Ack(LIGHT_ON);
}
else
{
zclLightOnOff_OnOff = LIGHT_OFF;
Send_Ack(LIGHT_OFF);
}
}

// In this sample app, we use LED4 to simulate the Light
if ( zclLightOnOff_OnOff == LIGHT_ON )
HalLedSet( HAL_LED_4, HAL_LED_MODE_ON );
else
HalLedSet( HAL_LED_4, HAL_LED_MODE_OFF );
}