I’m using a XBee 802.15.4 and I set the CH parameter using XCTU. Now I’d like to see the module searching for a better channel. What happens if the Energy Scan is interrupted before checking all channels? Does the CH parameter change or does it stay in the old value?
Maybe this is just me, but I haven’t seen anything in the documentation that says the energy scan can be interrupted at all. Have you found a way to do that, and if so, how is it done?
I don’t think it’s really possible for the module on its own to search for a better channel - if it finds one and switches to it, it will lose contact with all the other modules in the network. To quote from the documentation of the CH command: “In order for modules to communicate with each other, the modules must share the same channel number”.
That seems to imply that in order to change the channel, the change must be applied to all modules in the network. And that would be a job for the controlling computer, not any individual module.
Corrections welcome of course, as always.