Hello,
I'm hoping someone can point me in the right direction to debug an issue I'm having with a CC2538 trying to join a zigbee network. I am using Z-Stack 1.2.0 Home Automation. I am building off the Sample Light demo with my own application task. I have NV_INIT, NV_RESTORE , and xHOLD_AUTO_START in my preprocessor defines. As I understand it, this will set the ZDApp task to manage the network, and to restore the network from NV memory on boot if their are valid settings stored. This way I do not have to use ZDOInitDevice in my application. I am trying to start the network with ZDApp_NetworkInit().
What I am seeing on the sniffer/network capture after I call ZDApp_NetworkInit(0) is a Beacon Request go out from the CC2538, and a beacon response come back from the co-ordinator. In ZDO_NetworkDiscoveryConfirmCB however, the returned status is 0xEA or MAC_NO_BEACON. Permit join is enabled on the co-ordinator. I have tried adjusting the scan duration.
I'm trying to find some ways to debug this further. The really odd thing is that I have a capture of the CC2538 successfully joining using this code base, but have not been able to do it again. Other devices are able to join the co-ordinator and I have tested with another known working co-ordinator.
Can someone suggest where I can look to figure this out?