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.

CC2530 , unable to send message using ztack mesh

Other Parts Discussed in Thread: CC2531

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 );
}