mars000:
can you explain the use of the WIFI_CHANNEL.
Simple answer is that I can't.
I have forgotten most that I learned while I was working on that code as I have not used it since. And, to be honest, I can't recall if I ever knew the answer to your question.
...R