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

Re: wpa_supplicant disappears!

$
0
0

Hey Intel_Raad,

 

Thanks for the reply, thought it's an outdated answer. I took a look a the source and well there are only 227 lines (previous answer called for changing lines 252, 253, and 254). However I found my answer. There are 3 calls to begin:

 

  1. int begin(char* ssid);
  2. int begin(char* ssid, uint8_t key_idx, const char* key);
  3. int begin(char* ssid, const char *passphrase);

 

I was setting the passphrase in the example sketch and that was calling into wifiSetPassphrase, which overrides the wpa_supplicant. So the answer is, don't set the passphrase if the device is configured to automatically start the WiFi connection.


Viewing all articles
Browse latest Browse all 18347

Trending Articles



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