[Zigbee]How to know if it using the install code instead of the default TC link key?

Hi,

  There is a Demonstration about zigbee joining networks by install code.

But how to know if it using the install code instead of the default TC link key?

1. I run the nrf52840 dongle cli example:   .

2. Then run the 52840 DK, this is the rtt viewer :  . the log "ic set ok." is tell me the fuction zb_secur_ic_set() is called and return RET_OK.

3. I reset all, then set "bdb ic policy enable" like this :

4. The ZED's rtt viewer :

5. The ZED joined network seccessfully after type  "bdb ic policy disable".

Thanks.

Song