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.

SECURE安全认证问题

Other Parts Discussed in Thread: Z-STACK

最近在测试一个项目,从Z-Stack Home 1.2.2a.44539的SampleLighty移植过来,发现如果设置SECURE=1,TC_LINKKEY_JOIN后,协调器与终端无法连接,跟踪程序发现:协调器在函数ZStatus_t ZDSecMgrDeviceJoin( ZDSecMgrDevice_t* device )代码

       status = ZDSecMgrSendNwkKey( device ); 

       if ( status != ZSuccess )
      {
           ZDSecMgrAddrClear( device->extAddr );
       }

上面的代码执行第一行后无法继续到  if(status!=ZSuccess) ,导致终端无法入网。但是SampleLighty例程可以。

是不是终端或者协调器需要其他什么配置,敬请明示,不甚感激!