TI中文支持网
TI专业的中文技术问题咨询交流网站

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

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

Viki Shi:

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);]

赞(0)
未经允许不得转载:TI中文支持网 » CC2530 ZNP模式怎样恢复出厂设置
分享到: 更多 (0)