Hey all,
I have setup and configured WiFi. Ping requests are going through successfully. However, when I upload a sketch the wpa_supplicant file disappears and I am at a lost. I noticed that all the example sketchs assume that a WiFi connection has to be established. In this case I have configured WiFi to run aromatically. How do I go about programming for a connection that already exists. Any suggestions are welcome.
Below is the simple sketch that determines if WiFi connectivity exists, what results is the removal of the wpa_supplicant. So not too sure whats going on underneath the hood here.
#include <WiFi.h>
int status = WL_IDLE_STATUS;
void setup() {
// put your setup code here, to run once:
if ( status != WL_CONNECTED) {
Serial.println("Couldn't get a WiFi connection");
}else{
Serial.println("WiFi connected!");
}
}