-1

I see that WifiManager has tools to initiate a WPS connection with a Wi-Fi network, but I see nothing that could actually check if WPS is available or not.

So, how to check if the current Wi-Fi network supports WPS?

Qantas 94 Heavy
  • 15,750
  • 31
  • 68
  • 83

1 Answers1

0

ScanResult has capabilities (doc) field that contains the info:

example values:

[WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][WPS][ESS]
[WPA2-PSK-CCMP][WPS][ESS]

or without

[WPA-PSK-TKIP][ESS]
[WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP-preauth][ESS]
Gawcio
  • 1,125
  • 1
  • 9
  • 17