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.

CC2530 + Join Issues

Other Parts Discussed in Thread: CC2530, Z-STACK

Hello

I have two CC2530 Device. I make one device as a coordinator and other one as end device.

Now I want my ZED to join the ZC.

So I am using the api as

uint8 retValue;

zAddrType_t destAddr;

uint8 *deviceAddr;

uint8 capInfo;

 /* Destination Address */

destAddr.addrMode = Addr16Bit;

destAddr.addr.shortAddr = 0x0000;

 deviceAddr=NLME_GetExtAddr();

capInfo=CAPINFO_RCVR_ON_IDLE;

retValue=(uint8)ZDP_MgmtDirectJoinReq( &destAddr, deviceAddr, capInfo, 0);

if(retValue == ZSuccess)

 {

     UART_ASCII_SEND("Successfully Joined Network");

}

 else

 {

UART_ASCII_SEND("Fail to Joined");

}

But my ZED is not joining to ZC.

Please give me idea to solve this issues.

Regards

SS

  • Hello Shekhar,

    Can you please explain why you want to use the direct join mechanism instead of joining the device to a parent via MAC association. Typically MAC Association is used by ZIgBee devices to join the network for the first time. You can use for example the Z-Stack Home-1.2.1 and use the out of box sample application to see how to join a end device to a network. Please refer to the document Z-Stack Home Sample Application User's Guide.pdf at C:\Texas Instruments\Z-Stack Home 1.2.1\Documents which explains how to program the devices and join the network. Or you can use the Z-Stack Mesh 1.0.0 if you are using proprietary application and refer to the document Z-Stack Generic Application User's Guide.pdf within the doucments folder at C:\Texas Instruments\Z-Stack Mesh 1.0.0\Documents to understand how to run the sample application. You can download the Z-Stack at www.ti.com/z-stack 

    Regards