Other Parts Discussed in Thread: CC2530
TI工程师:
您好,现在我在使用的是CC2530芯片,软件使用的是zstack 2007.
我想咨询下,在一个小的区域内同时存在多个协调器时,使用协议栈如何控制多个设备加入到对应的网络中呢?
我现在做的是智能家居方面的东西,如何在所有的协调器程序都一样的情况下,不会将邻居的设备添加到我家里。
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.
关于“permit join”的实现问题,你可以用NLME_PermitJoiningRequest( byte PermitDuration )函数来实现
关于你的问题“在咨询您一下 如果我打开了开关,并且加入了一个设备。那么当我把coordinator重新上电时候(启动了恢复网络功能)不打开加入功能,刚刚加入的设备是否还能加入到这个coordinator里面呢? 谢谢”
不打开就没法加入。因为当节点重新搜索网络的时候,收到的beacon里面,permit join位是No的,所以节点不会执行后续的入网过程。