Error -109 is returned in the GeneralEventHandler() when the given password is incorrect. I would like to know how to invoke this error using the auto connect connection policy or by passing the saved profile into WlanConnect. The reason for this is to provide feedback to the user when they add a profile via an HTML webpage, and notify them if the password was incorrect. At the moment, my options seem to be to take in the SSID and password from the HTML webpage using USER Tokens and call sl_wlanconnect() with them, but I would obviously like their SSID/password to be stored as a profile via the __SL_P_P.A and __SL_P_P.C tokens without first passing through my application.
From my testing, it does not appear that a General Event Error -109 occurs when SimpleLink autoconnect attempts connecting to an SSID with an incorrect password pair. I have only seen General Event Error -109 invoked when I manually connect to an SSID with an incorrect passwork, like this:
sl_WlanConnect("SSID_Network","Incorrect_Password");
Thank you,
Tom