Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 19528

wpa_supplicant disappears!

$
0
0

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!");

  }

}


Viewing all articles
Browse latest Browse all 19528

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>