schufti wrote:there are other (better) ways to disable RF.
you can do
ESP.deepSleep(1000, WAKE_RF_DISABLED);
in setup() if you discover that RF is enabled.
So RF will securely be disabled after reboot and for the loop().
Or have a look at https://github.com/cnlohr/ (especially channel3) for what can be done with esp8266 hacking.
Moderator: igrr