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.

Device can join into a coordinator for which the permit-join has been turned off, why?

Other Parts Discussed in Thread: Z-STACK

My test environment:

1.  CC2530EB board with Z-Stack 2.5.1a

2.  Only two devices one is the ZC another is ZE

my testing steps are:

1. let the ZC setup a PAN and let the ZE join it successfully

2. turn off the permit-join of ZC by send MT's MT_NLME_PERMIT_JOINING_REQ command

3. Restart the ZE device

the Result is:

1.  ZC received the ZE's device annce

2.  the ZDO_JoinIndicationCB didn't be triggered on ZC

3. ZE received ZC's  successfull JoinConfirm

4. App on ZE can communicate with App on ZC successfully


I think it's strange why the ZC for which the permit-join has been turned off allow the restarted ZE device to join.

If restart the ZE by hold the SW5 key to clear the NV the Permit-Join of ZC will take effect.


thanks!