Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By beic
#68746 Hi there,

I'm trying to use:

Code: Select allWiFi.encryptionType();


but, I got error message says:
Code: Select allno matching function for call to 'ESP8266WiFiClass::encryptionType()'


I have included
Code: Select all#include <ESP8266WiFi.h>
, using core version 2.3.0

Can someone tell me why is it not working?

Thank you!

Regards
User avatar
By martinayotte
#68762 The function WiFi.encryptionType(uint8_t networkItem); need the networkItem argument ...

Check the example how it is used :

esp8266/2.3.0/libraries/ESP8266WiFi/examples/WiFiScan/WiFiScan.ino
User avatar
By beic
#68768
martinayotte wrote:The function WiFi.encryptionType(uint8_t networkItem); need the networkItem argument ...

Check the example how it is used :

esp8266/2.3.0/libraries/ESP8266WiFi/examples/WiFiScan/WiFiScan.ino


Hi martinayotte,

Yes, I saw that, but I wish to get encryption type from already connected device to be able to display it.

Regards