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.

router cannot join the network

Other Parts Discussed in Thread: CC2530, Z-STACK

Hi

  There is problem bothering me a long time. I want know why the router cannot join the network. I try to packet some data with packet sniffer. My platform is CC2530 with ZStack-CC2530-2.5.1a.

①   the Router has been send Beacon Request frame

②  Some router has been Reply Super Frame with association permit is TRUE

It seems the procedure is normal。But,Why the device which want to join the network don not send Association Request command. Is there some conditions do not meet for a suitable parent。

And why the router is always send beacon request? When it stop?

 

③  I am sorry for poor English. I am try best to explain the problem clearly. I will add if there is some things I don not explain clearly.

  • Do you modify anything on Z-Stack? By the way, Z-Stack 2.5.1a is obsolete and I suggest you using Z-Stack Home 1.2.1
  • As you said , I modify Z-stack to does not detect PANID conflict just for debug convenient.
    Is there a problem cause this?

    I only want to make panid not plus 1 , such as a a scene, my Coordinator reset ,it Format a zigbee network ,but the panid not plus 1,


    file ZDApp.c Line.2939



    #define WORKMODE_NV_ITEM (0x0500 + 41)
    uint16 ZDApp_CoordStartPANIDConflictCB( uint16 panid )
    {
    uint8 bit;
    uint8 status;
    // osal_nv_item_init(WORKMODE_NV_ITEM,1,TempDataBuff);
    if(zgDeviceLogicalType == ZG_DEVICETYPE_COORDINATOR)
    {
    status = osal_nv_read(WORKMODE_NV_ITEM,0,osal_nv_item_len(WORKMODE_NV_ITEM),&bit);
    if((bit == 1) && (status == SUCCESS))
    {
    return panid;
    }
    }
    return ( panid + 1 );
  • This modification would cause problem when there is PANID conflict. You shouldn't do this. Please remove your modification and test again.