Page 1 of 1

Detailed Information about softAP Connection event

Posted: Tue Mar 05, 2019 7:07 am
by Manusel
Hey folks,
I'm pretty new to the esp32 and the IDF too and am trying to get started with something easier (of course). So what I had in mind was just modifying the examples softAP pre made WiFi Hotspot program a little. For example just making it show a bit more information when a new station has connected or showing the typed password when someone tries connecting with a wrong password.
But unfortunately I just cant find where these variables for the connection event are or how they are called. The only one there is is the MACSTR but I cant even find in which file this one is instantiated :?

Re: Detailed Information about softAP Connection event

Posted: Tue Mar 05, 2019 8:45 am
by jcsbanks
Search terms in the esp-idf GitHub repo or the esp-idf folder can help for code and documentation. Or your IDE if you use one might help. Or use Google with the term and "ESP32".

In this case the WiFi event handler can access useful info when there is a connection to the soft AP.

Unfortunately I cannot tell when the password entered is wrong as no event is raised.