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.
您可以看一下zgPreconfigKeyInit( uint8 setDefault )函数
//NWK KEY
//if nwk key is set to zeros, then generate a random key and use it
osal_memset(zgPreConfigKey,0,SEC_KEY_LEN);
//if nwk key is set to zeros, then generate a random key and use it
這個只有在Z-Stack 3.0以後才有,如果是Z-Stack Home 1.2.2a以前的版本得要自己處理