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: 初始化时由于Scene_Init需要几秒钟之后才能执行完初始化

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

debug后发现问题出在zclGeneral_ScenesInit函数中,最后单步调试是在ScenesInit中执行ScenesRestoreFromNV时花费大量时间,

在zclGeneral_ScenesRestoreFromNV中读ZCD_NV_SCENE_TABLE时,读出来的值是30,底下执行了30次 for循环。问题是设备在网

期间没有给设备发送过Add Scene 的Cmd,这样应该是不会往这个地址的NV写数据的,并且我自己也没有NV的地址与这个一样;

请教一下会是什么原因造成的? (协议栈版本Home 1.2.2a)