您好!
现在、CC2530上的出厂复位仅在器件完全唤醒且不在 PM2中时才起作用。 因此、当我在 PM2期间按住 HAL_KEY_SW_6时、它会唤醒板、但不会进行出厂复位、也不会查找集线器。 为什么会这样、如何解决?
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.
它位于 ZDUP.c 中
uint16 ZDUApp_EVENT_LOOP (uint8 task_id、uint16事件)
{
(笑声)
if (事件和 ZDO_DEVICE_RESET)
{
#ifdef ZBA_FRELET_NWKKEY
if (devState == dev_end_device_unauth)
{
ZDSecMgrFallbackNWKKey();
}
其他
#endif
{
//设置 NV 启动选项以强制"新建"加入。
zgWriteStartupOptions (ZG_STARTUP_SET、ZCD_STARTOPT_DEFAULT_NETWORK_STATE);
//设备已处于取消验证状态,因此请重置
//注意:此呼叫不会返回
SystemResetSoft();
}
}
(笑声)
}