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.

CC2630 掉线重连问题?

Other Parts Discussed in Thread: CC2630

请问:在2530中,终端设备的父设备丢失,重新请求加网的时候,首先

(1)nwkNeighborInitTable();// Clear the neighbor Table and network discovery tables.
(2)ZDApp_SendMsg( ZDAppTaskID, ZDO_NWK_JOIN_REQ, sizeof(osal_event_hdr_t), NULL );/*ZDO_NWK_JOIN_REQ*/

那么在CC2630中,

case zstackmsg_CmdIDs_AF_DATA_CONFIRM_IND:
{
    zstackmsg_afDataConfirmInd_t *pInd = (zstackmsg_afDataConfirmInd_t *)pMsg;
    if(pInd->req.status== zstack_ZStatusValues_ZApsNoAck)
    {

        //如何重新加网??
   }
}

谢谢

  • 当End Device和父设备断开的时候,先是orphan设备,然后是rejoin模式重新去搜网,这个过程是协议栈自动完成的。应该不需要人为的控制重新加网的。