I try NJ command to 00 followed by AC command. When I power down XBee and power up again XBee is still FE. Also tried NJ command with 09 command type. I get status back indicating command successfully completed for both the NJ command and the AC command.
As long as power is up the 00 is in effect. But when powered down and up again FE. I can change with XCTU when I write the value and it survives power down. I thought AC command was the same as writing on XCTU.
You don’t change it with AT commands direct such as +++ ATNJ3, … You need to issue the associated API frame as this code and product only supports either AT or API.
Reading the right places in the documentation helps a lot! In general parameters are made permanent in NV RAM with the WR command. I had confused this function with the AC command. But WR does not work for NJ node joining.
So how does XCTU make this permanent? It does. I have done it repeatedly.
More fundamentally I still want my target system to set the NJ parameter to 00 if it is anything else and make it permanent. We under rare circumstances will make it something else for a short duration to set up an new network in a controlled environment but does not allow joining otherwise. I would like that protection from power up.
I can use XCTU but it is too easy for a device to slip by where this parameter is not set to 00 in NV.
I was setting NJ to 00 to disable joining. I read repeatedly that WR did not work with disable joining. I was not sufficiently careful to note that DJ was not the same thing as NJ = 00.