user58286: maybe this is a dumb question, but is there a way to test for wrong wifi password,
I know you can do WL_CONNECT to check if the password works, but is there a command for checking if the password is wrong? not just by waiting. 

user37622: The information is available on SDK level. If you include #include "user_interface.h", you can use function wifi_station_get_connect_status(). It returns one of:
STATION_GOT_IP
STATION_NO_AP_FOUND
STATION_CONNECT_FAIL
STATION_WRONG_PASSWORD
STATION_IDLE

The WiFi.status() function uses function wifi_station_get_connect_status(),  but returns WL_CONNECT_FAILED for STATION_WRONG_PASSWORD.

58286: <p>maybe this is a dumb question, but is there a way to test for wrong wifi password,</p>

<p>I know you can do WL_CONNECT to check if the password works, but is there a command for checking if the password is wrong? not just by waiting. </p>
 37622: <p>The information is available on SDK level. If you include <code>#include "user_interface.h"</code>, you can use function <code>wifi_station_get_connect_status()</code>. It returns one of:</p>

<pre><code>STATION_GOT_IP
STATION_NO_AP_FOUND
STATION_CONNECT_FAIL
STATION_WRONG_PASSWORD
STATION_IDLE
</code></pre>

<p>The <code>WiFi.status()</code> function uses function <code>wifi_station_get_connect_status()</code>,  but returns WL_CONNECT_FAILED for STATION_WRONG_PASSWORD.</p>
