WIFI SOFTAP status

azz-zza
Posts: 45
Joined: Tue Sep 17, 2019 2:58 am

WIFI SOFTAP status

Postby azz-zza » Tue Jul 07, 2020 10:09 pm

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.

Who is online

Users browsing this forum: No registered users and 51 guests