Does not work in AP only mode (ESP32)
rljonesau opened this issue · comments
I was never able to establish a connection when using AP only mode on an ESP32 (never tried an 8266).
I have changed the code in handle() to do this about line 548 (commented out below) and I can now use a telnet client when using the AP connection:
```
if (!listening) {
wifi_mode_t currentMode = WiFi.getMode();
bool isAPEnabled = ((currentMode & WIFI_MODE_AP) != 0);
bool isSTAconnected = WiFi.status() == WL_CONNECTED;
// if (WiFi.status() != WL_CONNECTED) {
if (!isSTAconnected && !isAPEnabled)
return;
}
Fixed with version 1.2