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.

Z stack HA example not working

Other Parts Discussed in Thread: Z-STACK

Hi,

I am facing problem in SampleLight/coordinator and SampleSwitch/router. Zigbee network initialization is not successful. They always shw ZDO_INITDEV_NEW_NETWORK_STATE in ZDOInitDevice(). 

I have checked ZDOInitDevice in ZDApp.c, SW_BYPASS_NV is not pressed in both router and coordinator. I debug something in ZDOInitDevice as follow.

 

Router:-

1> Function ZDOInitDevice is called only once at starting.

2> NV_RESTORE is not defined, so its not executing code between if defined  to endif.

3> Function ZDOInitDevice is returning ZDO_INITDEV_NEW_NETWORK_STATE.

Coordinator:-

1>  Function ZDOInitDevice is called periodically around per second.

2>  NV_RESTORE is defined, so its executing code between if defined  to endif.

3>  SW_BYPASS_NV is not pressed.

4> Every time function ZDOInitDevice is returning ZDO_INITDEV_NEW_NETWORK_STATE.

I cannot proceed due to these issues, any help is greatly appreciable.