This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to set network encryption keys in zigbee sdk?

Hi there,

We have a network of zigbee with XBee-PRO modules working as co-coordinators and end nodes. I have to use BMD340 zigbee node to join that network as well. We have setup the encryption mechanism in our Xbee-PRO network and we set the keys like given below

My question is that how to set the encryption keys in the zigbee examples provided in the zigbee and thread sdk. Does the sdk support the zigbee pro stack ? is it possible for BMD to join the XBee pro network?

Thanks  

  • Hello,

    I suggest that you check out the CLI example found in:

    SDK\examples\zigbee\experimental\cli\cli_agent_router. The test description is found here. As you see in the Zigbee CLI Reference you can see that there is a command "bdb nwkkey", which is used to set the Zigbee Key. Look at the implementation of this command to see how to set the network key in your own project. In general, the CLI example is a good example to test from.

    Best regards,

    Edvin

  • Hello Edvin,

    Thank you for prompt reply. I will check the CLI Example.

    Regards