- Notifications
You must be signed in to change notification settings - Fork13.3k
WiFi STA encryptionType() getter added#9114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Conversation
| if (event->event == EVENT_STAMODE_AUTHMODE_CHANGE) { | ||
| auto& src = event->event_info.auth_change; | ||
| WiFi.authMode = src.new_mode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Is this is a side-effect of attempted authmode (i.e. wpa3 downgrade to wpa2) or event that always happen every connection?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
after every connection.
src.old_mode is 0
| protected: | ||
| friendclassESP8266WiFiGenericClass; | ||
| uint8_t authMode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
-1 default?
reset to -1 on disconnect?
Arduino WiFi API has this function.
in ESP8266WiFi library scan result has encryptionType() but STA didn't have it.
I found this way to implement it.