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.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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,436 次查看
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.

标签 (2)
0 项奖励
回复
2 回复数

1,206 次查看
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 项奖励
回复

1,206 次查看
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 项奖励
回复