-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Update to the last version of nonos-sdk V2, WiFi addons #5210
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 9 commits
c06f086
58a1279
5130d4c
c128eba
12e99ef
c16cb09
16196de
b0903fd
ed9a363
4b51aa2
1d7421f
16e624d
3f0c601
bc93686
944863f
a911131
9bcbcf3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,7 @@ static bool sta_config_equal(const station_config& lhs, const station_config& rh | |
// ----------------------------------------------------------------------------------------------------------------------- | ||
|
||
bool ESP8266WiFiSTAClass::_useStaticIp = false; | ||
bool ESP8266WiFiSTAClass::_useInsecureWEP = false; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this here on purpose, or did it slip in? I'm ok with what I see of the code, but given the nature of this functionality I suggest splitting it into its own PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All points above are addressed your way. |
||
|
||
/** | ||
* Start Wifi connection | ||
|
@@ -127,6 +128,7 @@ wl_status_t ESP8266WiFiSTAClass::begin(const char* ssid, const char *passphrase, | |
} | ||
|
||
conf.threshold.rssi = -127; | ||
conf.open_and_wep_mode_disable = !(_useInsecureWEP || *conf.password == 0); | ||
|
||
// TODO(#909): set authmode to AUTH_WPA_PSK if passphrase is provided | ||
conf.threshold.authmode = AUTH_OPEN; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v2.1.0-10-g509eae8 | ||
v2.2.0-28-g89920dc |
Uh oh!
There was an error while loading. Please reload this page.