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.

CC2650: The Node is connecting to the Border router and sending messages even they don't share the same security keys

Part Number: CC2650


I have successfully created a mesh network f 6lowpan using contiki-ng. At this point I can send and receive data from the border router and the Node. Now I want to implement the security in my project.

To secure the Network at the link layer contiki-ng has 6TiSch which I have implemented like this

In project configuration file I added this lines..

/* Enable security */
#define LLSEC802154_CONF_ENABLED 1
#define LLSEC802154_CONF_USES_EXPLICIT_KEYS 1

By doing this at this point My border router only join the secured nodes.

Now I changed the keys in this directory os/net/mac/tsch inside the tsch-security the line define as TSCH_SECURITY_K2 and TSCH_SECURITY_K1. There is an array of keys I changed the every keys.

After this I programmed another node with this configuration.At this point this node should not be able to communicate and get connected with the border router But I observed that the communication is happening between two devices which no longer share the same keys.

What is your word of advice am i doing this correctly or I misunderstood something..