Page 1 of 1

WIFI SOFTAP status

Posted: Tue Jul 07, 2020 10:09 pm
by azz-zza
hello,
how do I check that SoftAP is up and running?

Case:
my application attempts to connect to the existing network ( wifi.begin(ssid,pass) ). If it failes ( WiFi.status != WL_Connect) , the app will stand up a AP ( WiFi.softAP(ssid) ).

to check that the module is still connected to the network i use :
loop() {
wifi.status() != WL_connected

but how do I check if the AP is up and running?

Thank you.