微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > CC2530 ZNP模式怎样恢复出厂设置

CC2530 ZNP模式怎样恢复出厂设置

时间:10-02 整理:3721RD 点击:

我在ZNP工程中定义了NV_INIT和NV_RESTORE,如果需要让终端设备清除NV中的记录,恢复出厂的默认状态,MCU发送什么消息指令?

application wants to delete the stored NV information It just needs to set the ZCD_NV_STARTUP_OPTION as explained below and do a reset. 

"If the application would like to force a "new" join, the application should set the ZCD_STARTOPT_DEFAULT_NETWORK_STATE bit in the ZCD_NV_STARTUP_OPTION NV item before calling this function. "New" join means to not restore the network state of the device. Use zgWriteStartupOptions() to set these options 

[zgWriteStartupOptions(ZG_STARTUP_SET, ZCD_STARTOPT_DEFAULT_NETWORK_STATE);]

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top