ESP8266 SPI WiFi Shield ("nice to have")

Although I am using WiFiManager, it seems I must always connect with specific SSID and PASSWD in WiFiSpi.begin(ssid, pass).

I tried WiFiSpi.begin() and WiFiSpi.begin("", "") and this will give error.

This defeats the very purpose of WiFiManager itself.

How can start WiFiSpi when WiFiManager has already connected to the last network?


WiFiManager will go into AP mode only if it does not find last connected SSID.

Is there a way to programmatically force it into AP mode, even if last SSID is available?