mirror of https://github.com/arendst/Tasmota.git
Change wifi connectivity stability
Change wifi connectivity stability (#7602)
This commit is contained in:
parent
7ad63b4760
commit
3d00c4f093
|
@ -58,6 +58,7 @@ The following binary downloads have been compiled with ESP8266/Arduino library c
|
|||
- Change commands ``Prefix``, ``Ssid``, ``StateText``, ``NTPServer``, and ``FriendlyName`` displaying all items
|
||||
- Change IRremoteESP8266 library updated to v2.7.2
|
||||
- Change Zigbee command prefix from ``Zigbee*`` to ``Zb*``
|
||||
- Change wifi connectivity stability (#7602)
|
||||
- Fix Sonoff Bridge, Sc, L1, iFan03 and CSE7766 serial interface to forced speed, config and disable logging
|
||||
- Fix commands ``Display`` and ``Counter`` from overruling command processing (#7322)
|
||||
- Fix ``White`` added to light status (#7142)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
### 8.1.0.5 20200126
|
||||
|
||||
- Bump version
|
||||
- Change wifi connectivity stability (#7602)
|
||||
|
||||
### 8.1.0.4 20200116
|
||||
|
||||
|
|
|
@ -211,14 +211,17 @@ void WifiBegin(uint8_t flag, uint8_t channel)
|
|||
if (channel) {
|
||||
WiFi.begin(SettingsText(SET_STASSID1 + Settings.sta_active), SettingsText(SET_STAPWD1 + Settings.sta_active), channel, Wifi.bssid);
|
||||
// add debug output to console to show connected BSSID and channel for multi-AP installations
|
||||
AddLog_P2(LOG_LEVEL_INFO, PSTR(D_LOG_WIFI D_CONNECTING_TO_AP "%d %s Channel %d BSSId %s " D_IN_MODE " 11%c " D_AS " %s..."),
|
||||
Settings.sta_active +1, SettingsText(SET_STASSID1 + Settings.sta_active), channel, ToHex_P((unsigned char*)Wifi.bssid, 6, hex_char, sizeof(hex_char), ':'),kWifiPhyMode[WiFi.getPhyMode() & 0x3], my_hostname);
|
||||
AddLog_P2(LOG_LEVEL_INFO, PSTR(D_LOG_WIFI D_CONNECTING_TO_AP "%d %s Channel %d BSSId %s " D_IN_MODE " 11%c " D_AS " %s..."),
|
||||
Settings.sta_active +1, SettingsText(SET_STASSID1 + Settings.sta_active),
|
||||
channel, ToHex_P((unsigned char*)Wifi.bssid, 6, hex_char, sizeof(hex_char), ':'),
|
||||
kWifiPhyMode[WiFi.getPhyMode() & 0x3], my_hostname);
|
||||
} else {
|
||||
WiFi.begin(SettingsText(SET_STASSID1 + Settings.sta_active), SettingsText(SET_STAPWD1 + Settings.sta_active));
|
||||
AddLog_P2(LOG_LEVEL_INFO, PSTR(D_LOG_WIFI D_CONNECTING_TO_AP "%d %s " D_IN_MODE " 11%c " D_AS " %s..."),
|
||||
Settings.sta_active +1, SettingsText(SET_STASSID1 + Settings.sta_active), kWifiPhyMode[WiFi.getPhyMode() & 0x3], my_hostname);
|
||||
Settings.sta_active +1, SettingsText(SET_STASSID1 + Settings.sta_active),
|
||||
kWifiPhyMode[WiFi.getPhyMode() & 0x3], my_hostname);
|
||||
}
|
||||
|
||||
|
||||
#if LWIP_IPV6
|
||||
for (bool configured = false; !configured;) {
|
||||
uint16_t cfgcnt = 0;
|
||||
|
|
Loading…
Reference in New Issue