Calling WiFi.softAPdisconnect(wifioff) from sketch


#1

Hi All,
I am using an ESP8266 to collect and send data to own thinger.io server. THe ESP8266 is coming up in STA mode and I would like to call the function softAPdisconnect(wifioff) for my ThingerWifi object to disable it.

I would appreciate any guidance on doing this

Thank you,
Hugo


#2

Did you tried to disable the WiFi directly from the sketch? WiFi.softAPdisconnect(true)?. You can interact with the WiFi interface directly.

Best.


#3

Hi Alvaro,
thanks for the advice I was able to interact with the WiFi interface directly.

Great product,

Hugo