Dear
uint16 GenericApp_ProcessEvent( uint8 task_id, uint16 events )
{
unable to enter in this if statement function to send message to co ordinator , can you help me in this ?
case ZDO_STATE_CHANGE:
GenericApp_NwkState = (devStates_t)(MSGpkt->hdr.status);
if ( (GenericApp_NwkState == DEV_ZB_COORD) ||
(GenericApp_NwkState == DEV_ROUTER) ||
(GenericApp_NwkState == DEV_END_DEVICE) )
{
// Start sending "the" message in a regular interval. // unable to enter in this if statement
osal_start_timerEx( GenericApp_TaskID,
GENERICAPP_SEND_MSG_EVT,
txMsgDelay );
}