Hi,
I would like to know if I run a ZDO_PERMIT_JOIN command with value 0 seconds do I still get the TC_DEV_IND packets or I'm supposed to not receive anything from the ZED?
BR,
Luca Vetri
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.
Hi,
I would like to know if I run a ZDO_PERMIT_JOIN command with value 0 seconds do I still get the TC_DEV_IND packets or I'm supposed to not receive anything from the ZED?
BR,
Luca Vetri
Hi Luca,
If permit join is disabled on the ZC then there should not be any ZDO_TC_DEV_IND messages as the Trust Center should not allow a device to join the network. This message will only occur on a coordinator/trust center device.
Regards,
Ryan
Pretty Interesting. I keep getting them although permit join timeout is set to zero.
APP_CNF_BDB_START_COMMISSIONING will also reset the BDBC_MIN_COMMISSIONING_TIME which affects the permit join duration.
Regards,
Ryan
Any way to fix this? so i can close the network with permit join value:0 seconds
I'm thinking a workaround regarding what Ryan said. I believe the network doesn't close due to some external influence.
When a new device joins the network, it will typically broadcast a Management Permit Joining Request which will restart the permit join timer. These can be monitored with zstackmsg_CmdIDs_DEV_PERMIT_JOIN_IND from the application. As YK mentioned, manually setting the permit join time to zero on the ZNP/ZC will prevent more devices from joining the network.
Regards,
Ryan