Reply
Posts: 3
Registered: ‎03-09-2017

Prevent unwanted Zigbee devices from joining network

I have a Mighty Gecko running as an NCP with a Linux host application.  Is there a simple way to prevent unwanted devices from joining my network?  

 

My original thought was to use one of the Trust Center callbacks to implement a whitelist of allowed UIDs, and refuse to let anything else join the network.  On the gateway side, it would be easy to update the whitelist.  

 

But it looks like the only trust center callback that can actually change a decision about letting devices join the network is emberAfPluginEzspSecurityTrustCenterJoinCallback(), which is only implemented on the NCP side of things.  So I'd need to create a custom NCP build, in addition to somehow customizing the communication over UART to update the whitelist.

 

I can't help but think there is a better way.  Is there some other obvious solution that I am missing?

 

Thanks!

<a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero</font></font> </a> YK
Posts: 120
Registered: ‎02-13-2017

Re: Prevent unwanted Zigbee devices from joining network

You can send leave request to ask the unwanted node to leave in your application code when an unwanted node joins.