Calling WiFi.softAPdisconnect(wifioff) from sketch

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

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

Best.

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

Great product,

Hugo

1 Like