zhouhan0126 / WIFIMANAGER-ESP32

wifimanager-esp32
MIT License
401 stars 135 forks source link

Recommendation for querying connection status #23

Open tbec opened 5 years ago

tbec commented 5 years ago

Hello. I want to start by thanking you for this wonderful library. It has saved my research group an incredible amount of time, and was very quick and intuitive to get running. I wanted to ask your recommendation. I would like to check whether my device is connected to an AP and has an IP address before running several tasks in main. How do you recommend doing this? Viewing the json data, checking the WIFI_MANAGER_WIFI_CONNECTED_BIT, or an existing esp function I haven't seen, etc. I'd just like to set it up in the least intrusive way possible to your library. Thank you!