大家好!
我使用CC2630开发产品,当以下两种情况发生时,CC2630会停止发送Beacon Request。请大家帮忙判断下是硬件问题?还是软件协议的问题,谢谢!!
①:组网后,当协调器将其中一个CC2630从zigbee网络中删除,CC2630不再发送Beacon Request。
②:组网后,使用API函数使CC2630退网,CC2630不再发送Beacon Request。软件复位以后CC2630依然不发Beacon Request,硬件复位后才会发送Beacon Request。
或者大家赐教下:影响 Beacon Request 发送的因素有哪些?
谢谢!!
VV:
Firstly make sure the Coordinator remove the CC2630 correctly, the CC2630 will run into ZDO_LeaveInd function if received the Leave command. Then the device will reset itself after 5s in default(LEAVE_RESET_DELAY).
After SW reset, some parameters maybe not initialized.
check if the SW run the Zstackapi_DevStartReq in Switch_initializeZStack function after network.
Otherwise can use hardware as well, it didn’t take too much difference between soft and hardware reset for a leave device. can use SysCtrlSystemReset.
user5103584:
请问CC2630如何做退网?请指教,多谢。
YiKai Chen:
回复 user5103584:
可以參考 e2e.ti.com/…/2328048
user5103584:
回复 YiKai Chen:
cc2630执行退网操作,没有加重启代码,为什么系统还会重启?
YiKai Chen:
回复 user5103584:
z-Stack收到退网會自行重启