How can I get a unit to unjoin the network it is on? This is more of a Thread question, but I am using several MKW41Z parts.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I get a unit to unjoin the network it is on? This is more of a Thread question, but I am using several MKW41Z parts.

1,435 Views
marksharris
Contributor I

How can I get a unit to unjoin the network it is on? I have 3 units. two are on one network and one is by itself. I want to have the third one join the other two on their network. But when I give it a join command using the CLI, it says it is already on a network.

To help validate this, is there a way in the CLI to get each node to give the network name it is on?

Thanks.

Labels (2)
0 Kudos
Reply
2 Replies

1,205 Views
estephania_mart
NXP TechSupport
NXP TechSupport

 Hello,

 

To get the node to disconnect from the network you can use the command thr detach.

There is attribute for the name of the network thr get nwkname

You may use the PANID to identify on which network the node is, the command to get it in the terminal is thr get panid. 

 

Regards

0 Kudos
Reply

1,205 Views
marksharris
Contributor I

Thank you! I didn't see either of these in the documentation.

There is also a similar command, "thr get xpan". Which, I think, gives an expanded PAN address.

I also found you can get the network name with "thr get nwkname".

Mark

0 Kudos
Reply