Hello,
I'm working with the AP_SimpleWebServer example and trying to at least enable WEP security. So I've changed the call to start the AP from status = WiFi.beginAP(ssid)
to status = WiFi.beginAP(ssid, keyIndex, pass, channelNum)
seems to work with both 40 and 128-bit WEP keys. Great!
However, the little web server that the example starts seems to be broken with WEP on. I received a valid IP, and can ping the server's address, but Chrome reports ERR_CONNECTION_REFUSED.
From the example, it seems that this line (no. 106) WiFiClient client = server.available()
never returns true with WEP on, but works fine without it.
Any thoughts?
-Jeff