Is it possible to stop launching softAP if the P1 is unable to connect to a WiFi network?

Hi @ScruffR,
Thanks for replying I tried this app

SYSTEM_MODE(SEMI_AUTOMATIC);
SYSTEM_THREAD(ENABLED);

void setup()
{	
	WiFi.on();
        WiFi.listen(false);
}

void loop()
{
}

The access point won’t shut down.