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.

退网问题

协调器终端组成1对1的网络,终端通过

    NLME_LeaveReq_t leaveReq;
    osal_memset( &leaveReq, 0, sizeof( NLME_LeaveReq_t ) );
   
    leaveReq.rejoin = TRUE;
    leaveReq.extAddr = NULL;
   
    if ( NLME_LeaveReq( &leaveReq ) != ZSuccess )
    {
      ZDApp_LeaveReset( FALSE );
    }

退网,为啥协调器通过

        HalUARTWrite(0,Array_data(AssociatedDevList[len].shortAddr),4 );
        APSME_LookupExtAddr(AssociatedDevList[len].shortAddr,MyIEEE );
        HalUARTWrite(0,MyIEEE,8 );

查询终端的IEEE还在呢?

以前做的终端的程序(协调器不变)同样的组网后退网协调器查询就没有了,通过Beyond Compare比较两个程序退网部分都是一样的,旧程序(退网后IEEE还在的程序)只是多了串口通信和PoLL唤醒机制