Do not set NJ=0, because whenever the device is powered on or rebooted, it will perform device discovery, if NJ=0 means you are not giving enough time for the devices to join.
So it is better to set the NJ value to FF(which means always allow joining).