mirror of https://github.com/arendst/Tasmota.git
Show AP channel on webpage
Show channel number on webpage and wifiscan debug info. Add BSSid to wifiscan debug info
This commit is contained in:
parent
5623924813
commit
a60876378f
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "Мигане изкл."
|
#define D_BLINKOFF "Мигане изкл."
|
||||||
#define D_BOOT_COUNT "Брой на стартиранията"
|
#define D_BOOT_COUNT "Брой на стартиранията"
|
||||||
#define D_BRIGHTLIGHT "Яркост"
|
#define D_BRIGHTLIGHT "Яркост"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Бутон"
|
#define D_BUTTON "Бутон"
|
||||||
#define D_BY "от" // Written by me
|
#define D_BY "от" // Written by me
|
||||||
#define D_BYTES "Байта"
|
#define D_BYTES "Байта"
|
||||||
#define D_CELSIUS "Целзий"
|
#define D_CELSIUS "Целзий"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Въглероден диоксид"
|
#define D_CO2 "Въглероден диоксид"
|
||||||
#define D_CODE "код" // Button code
|
#define D_CODE "код" // Button code
|
||||||
#define D_COLDLIGHT "Хладна"
|
#define D_COLDLIGHT "Хладна"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "BlikáníVyp"
|
#define D_BLINKOFF "BlikáníVyp"
|
||||||
#define D_BOOT_COUNT "Počítadlo spuštění"
|
#define D_BOOT_COUNT "Počítadlo spuštění"
|
||||||
#define D_BRIGHTLIGHT "Světlý"
|
#define D_BRIGHTLIGHT "Světlý"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Tlačítko"
|
#define D_BUTTON "Tlačítko"
|
||||||
#define D_BY "by" // Written by me
|
#define D_BY "by" // Written by me
|
||||||
#define D_BYTES "Bytů"
|
#define D_BYTES "Bytů"
|
||||||
#define D_CELSIUS "°C"
|
#define D_CELSIUS "°C"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "CO2"
|
#define D_CO2 "CO2"
|
||||||
#define D_CODE "kód" // Button code
|
#define D_CODE "kód" // Button code
|
||||||
#define D_COLDLIGHT "Studené světlo"
|
#define D_COLDLIGHT "Studené světlo"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "BlinkenAus"
|
#define D_BLINKOFF "BlinkenAus"
|
||||||
#define D_BOOT_COUNT "Anzahl Startvorgänge"
|
#define D_BOOT_COUNT "Anzahl Startvorgänge"
|
||||||
#define D_BRIGHTLIGHT "hell"
|
#define D_BRIGHTLIGHT "hell"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Knopf"
|
#define D_BUTTON "Knopf"
|
||||||
#define D_BY "von" // Written by me
|
#define D_BY "von" // Written by me
|
||||||
#define D_BYTES "Bytes"
|
#define D_BYTES "Bytes"
|
||||||
#define D_CELSIUS "Celsius"
|
#define D_CELSIUS "Celsius"
|
||||||
|
#define D_CHANNEL "Kanal"
|
||||||
#define D_CO2 "CO²"
|
#define D_CO2 "CO²"
|
||||||
#define D_CODE "code" // Button code
|
#define D_CODE "code" // Button code
|
||||||
#define D_COLDLIGHT "kalt"
|
#define D_COLDLIGHT "kalt"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "Δεν αναβοσβήνει"
|
#define D_BLINKOFF "Δεν αναβοσβήνει"
|
||||||
#define D_BOOT_COUNT "Αριθμός εκκινήσεων"
|
#define D_BOOT_COUNT "Αριθμός εκκινήσεων"
|
||||||
#define D_BRIGHTLIGHT "Λαμπερό"
|
#define D_BRIGHTLIGHT "Λαμπερό"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Κουμπί"
|
#define D_BUTTON "Κουμπί"
|
||||||
#define D_BY "από" // Written by me
|
#define D_BY "από" // Written by me
|
||||||
#define D_BYTES "Bytes"
|
#define D_BYTES "Bytes"
|
||||||
#define D_CELSIUS "Κελσίου"
|
#define D_CELSIUS "Κελσίου"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Διοξείδιο του άνθρακα"
|
#define D_CO2 "Διοξείδιο του άνθρακα"
|
||||||
#define D_CODE "κώδικας" // Button code
|
#define D_CODE "κώδικας" // Button code
|
||||||
#define D_COLDLIGHT "Ψυχρός"
|
#define D_COLDLIGHT "Ψυχρός"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "BlinkOff"
|
#define D_BLINKOFF "BlinkOff"
|
||||||
#define D_BOOT_COUNT "Boot Count"
|
#define D_BOOT_COUNT "Boot Count"
|
||||||
#define D_BRIGHTLIGHT "Bright"
|
#define D_BRIGHTLIGHT "Bright"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Button"
|
#define D_BUTTON "Button"
|
||||||
#define D_BY "by" // Written by me
|
#define D_BY "by" // Written by me
|
||||||
#define D_BYTES "Bytes"
|
#define D_BYTES "Bytes"
|
||||||
#define D_CELSIUS "Celsius"
|
#define D_CELSIUS "Celsius"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Carbon dioxide"
|
#define D_CO2 "Carbon dioxide"
|
||||||
#define D_CODE "code" // Button code
|
#define D_CODE "code" // Button code
|
||||||
#define D_COLDLIGHT "Cold"
|
#define D_COLDLIGHT "Cold"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "BlinkOff"
|
#define D_BLINKOFF "BlinkOff"
|
||||||
#define D_BOOT_COUNT "Conteo Reinicios"
|
#define D_BOOT_COUNT "Conteo Reinicios"
|
||||||
#define D_BRIGHTLIGHT "Brillante"
|
#define D_BRIGHTLIGHT "Brillante"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Botón"
|
#define D_BUTTON "Botón"
|
||||||
#define D_BY "por" // Written by me
|
#define D_BY "por" // Written by me
|
||||||
#define D_BYTES "Bytes"
|
#define D_BYTES "Bytes"
|
||||||
#define D_CELSIUS "Celsius"
|
#define D_CELSIUS "Celsius"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "CO2"
|
#define D_CO2 "CO2"
|
||||||
#define D_CODE "código" // Button code
|
#define D_CODE "código" // Button code
|
||||||
#define D_COLDLIGHT "Fría"
|
#define D_COLDLIGHT "Fría"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "BlinkOff"
|
#define D_BLINKOFF "BlinkOff"
|
||||||
#define D_BOOT_COUNT "Nombre de boot"
|
#define D_BOOT_COUNT "Nombre de boot"
|
||||||
#define D_BRIGHTLIGHT "Luminosité"
|
#define D_BRIGHTLIGHT "Luminosité"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Bouton"
|
#define D_BUTTON "Bouton"
|
||||||
#define D_BY "par" // Written by me
|
#define D_BY "par" // Written by me
|
||||||
#define D_BYTES "Bytes"
|
#define D_BYTES "Bytes"
|
||||||
#define D_CELSIUS "Celsius"
|
#define D_CELSIUS "Celsius"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Dioxyde de carbone"
|
#define D_CO2 "Dioxyde de carbone"
|
||||||
#define D_CODE "code" // Button code
|
#define D_CODE "code" // Button code
|
||||||
#define D_COLDLIGHT "Froid"
|
#define D_COLDLIGHT "Froid"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "Villogás Ki"
|
#define D_BLINKOFF "Villogás Ki"
|
||||||
#define D_BOOT_COUNT "Bootolások száma"
|
#define D_BOOT_COUNT "Bootolások száma"
|
||||||
#define D_BRIGHTLIGHT "Max. fényerő"
|
#define D_BRIGHTLIGHT "Max. fényerő"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Gomb"
|
#define D_BUTTON "Gomb"
|
||||||
#define D_BY "tőle:" // Written by me
|
#define D_BY "tőle:" // Written by me
|
||||||
#define D_BYTES "Byte-ok"
|
#define D_BYTES "Byte-ok"
|
||||||
#define D_CELSIUS "Celsius"
|
#define D_CELSIUS "Celsius"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Szén-dioxid"
|
#define D_CO2 "Szén-dioxid"
|
||||||
#define D_CODE "kód" // Button code
|
#define D_CODE "kód" // Button code
|
||||||
#define D_COLDLIGHT "Hideg"
|
#define D_COLDLIGHT "Hideg"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "BlinkOff"
|
#define D_BLINKOFF "BlinkOff"
|
||||||
#define D_BOOT_COUNT "Numero di boot"
|
#define D_BOOT_COUNT "Numero di boot"
|
||||||
#define D_BRIGHTLIGHT "Luminoso"
|
#define D_BRIGHTLIGHT "Luminoso"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Pulsante"
|
#define D_BUTTON "Pulsante"
|
||||||
#define D_BY "da" // Written by me
|
#define D_BY "da" // Written by me
|
||||||
#define D_BYTES "Bytes"
|
#define D_BYTES "Bytes"
|
||||||
#define D_CELSIUS "Celsius"
|
#define D_CELSIUS "Celsius"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "CO2"
|
#define D_CO2 "CO2"
|
||||||
#define D_CODE "codice" // Button code
|
#define D_CODE "codice" // Button code
|
||||||
#define D_COLDLIGHT "Fredda"
|
#define D_COLDLIGHT "Fredda"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "KnipperUit"
|
#define D_BLINKOFF "KnipperUit"
|
||||||
#define D_BOOT_COUNT "Herstarts"
|
#define D_BOOT_COUNT "Herstarts"
|
||||||
#define D_BRIGHTLIGHT "Fel"
|
#define D_BRIGHTLIGHT "Fel"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "DrukKnop"
|
#define D_BUTTON "DrukKnop"
|
||||||
#define D_BY "door" // Written by me
|
#define D_BY "door" // Written by me
|
||||||
#define D_BYTES "Bytes"
|
#define D_BYTES "Bytes"
|
||||||
#define D_CELSIUS "Celsius"
|
#define D_CELSIUS "Celsius"
|
||||||
|
#define D_CHANNEL "Kanaal"
|
||||||
#define D_CO2 "Koolstofdioxide"
|
#define D_CO2 "Koolstofdioxide"
|
||||||
#define D_CODE "code" // Button code
|
#define D_CODE "code" // Button code
|
||||||
#define D_COLDLIGHT "Koud"
|
#define D_COLDLIGHT "Koud"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "MiganieWył"
|
#define D_BLINKOFF "MiganieWył"
|
||||||
#define D_BOOT_COUNT "Licznik uruchomienia"
|
#define D_BOOT_COUNT "Licznik uruchomienia"
|
||||||
#define D_BRIGHTLIGHT "Jasny"
|
#define D_BRIGHTLIGHT "Jasny"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Przycisk"
|
#define D_BUTTON "Przycisk"
|
||||||
#define D_BY "by" // Written by me
|
#define D_BY "by" // Written by me
|
||||||
#define D_BYTES "Bajtow"
|
#define D_BYTES "Bajtow"
|
||||||
#define D_CELSIUS "Celsiusza"
|
#define D_CELSIUS "Celsiusza"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Dwutlenku węgla"
|
#define D_CO2 "Dwutlenku węgla"
|
||||||
#define D_CODE "kod" // Button code
|
#define D_CODE "kod" // Button code
|
||||||
#define D_COLDLIGHT "Zimny"
|
#define D_COLDLIGHT "Zimny"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "Pulsar desligado"
|
#define D_BLINKOFF "Pulsar desligado"
|
||||||
#define D_BOOT_COUNT "Contagem de inicialização"
|
#define D_BOOT_COUNT "Contagem de inicialização"
|
||||||
#define D_BRIGHTLIGHT "Brilho"
|
#define D_BRIGHTLIGHT "Brilho"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Botão"
|
#define D_BUTTON "Botão"
|
||||||
#define D_BY "por" // Write by me
|
#define D_BY "por" // Write by me
|
||||||
#define D_BYTES "Bytes"
|
#define D_BYTES "Bytes"
|
||||||
#define D_CELSIUS "Celsius"
|
#define D_CELSIUS "Celsius"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Dióxido de carbono"
|
#define D_CO2 "Dióxido de carbono"
|
||||||
#define D_CODE "Código" // Button code
|
#define D_CODE "Código" // Button code
|
||||||
#define D_COLDLIGHT "Luz fria"
|
#define D_COLDLIGHT "Luz fria"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "Piscar desligado"
|
#define D_BLINKOFF "Piscar desligado"
|
||||||
#define D_BOOT_COUNT "Contagem de Inicialização"
|
#define D_BOOT_COUNT "Contagem de Inicialização"
|
||||||
#define D_BRIGHTLIGHT "Brilho"
|
#define D_BRIGHTLIGHT "Brilho"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Botão"
|
#define D_BUTTON "Botão"
|
||||||
#define D_BY "por" // Write by me
|
#define D_BY "por" // Write by me
|
||||||
#define D_BYTES "Bytes"
|
#define D_BYTES "Bytes"
|
||||||
#define D_CELSIUS "Celsius"
|
#define D_CELSIUS "Celsius"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Dioxido de Carbono"
|
#define D_CO2 "Dioxido de Carbono"
|
||||||
#define D_CODE "Código" // Button code
|
#define D_CODE "Código" // Button code
|
||||||
#define D_COLDLIGHT "Luz Fria"
|
#define D_COLDLIGHT "Luz Fria"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "Не Мигать"
|
#define D_BLINKOFF "Не Мигать"
|
||||||
#define D_BOOT_COUNT "Количество загрузок"
|
#define D_BOOT_COUNT "Количество загрузок"
|
||||||
#define D_BRIGHTLIGHT "Яркость"
|
#define D_BRIGHTLIGHT "Яркость"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Кнопка"
|
#define D_BUTTON "Кнопка"
|
||||||
#define D_BY "by" // Written by me
|
#define D_BY "by" // Written by me
|
||||||
#define D_BYTES "Байт"
|
#define D_BYTES "Байт"
|
||||||
#define D_CELSIUS "Цельсия"
|
#define D_CELSIUS "Цельсия"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Углекислый газ"
|
#define D_CO2 "Углекислый газ"
|
||||||
#define D_CODE "код" // Button code
|
#define D_CODE "код" // Button code
|
||||||
#define D_COLDLIGHT "Холодный"
|
#define D_COLDLIGHT "Холодный"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "BlinkOff"
|
#define D_BLINKOFF "BlinkOff"
|
||||||
#define D_BOOT_COUNT "Yeniden başlama sayısı"
|
#define D_BOOT_COUNT "Yeniden başlama sayısı"
|
||||||
#define D_BRIGHTLIGHT "Işık"
|
#define D_BRIGHTLIGHT "Işık"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Buton"
|
#define D_BUTTON "Buton"
|
||||||
#define D_BY "by" // Written by me
|
#define D_BY "by" // Written by me
|
||||||
#define D_BYTES "Bayt"
|
#define D_BYTES "Bayt"
|
||||||
#define D_CELSIUS "Derece"
|
#define D_CELSIUS "Derece"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Karbon dioksit"
|
#define D_CO2 "Karbon dioksit"
|
||||||
#define D_CODE "kod" // Button code
|
#define D_CODE "kod" // Button code
|
||||||
#define D_COLDLIGHT "Soğuk"
|
#define D_COLDLIGHT "Soğuk"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "Не блимати"
|
#define D_BLINKOFF "Не блимати"
|
||||||
#define D_BOOT_COUNT "Кіл-сть завант."
|
#define D_BOOT_COUNT "Кіл-сть завант."
|
||||||
#define D_BRIGHTLIGHT "Яскравість"
|
#define D_BRIGHTLIGHT "Яскравість"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "Кнопка"
|
#define D_BUTTON "Кнопка"
|
||||||
#define D_BY "by" // Written by me
|
#define D_BY "by" // Written by me
|
||||||
#define D_BYTES "Байт"
|
#define D_BYTES "Байт"
|
||||||
#define D_CELSIUS "Цельсія"
|
#define D_CELSIUS "Цельсія"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "Вуглек. газ"
|
#define D_CO2 "Вуглек. газ"
|
||||||
#define D_CODE "код" // Button code
|
#define D_CODE "код" // Button code
|
||||||
#define D_COLDLIGHT "Холодний"
|
#define D_COLDLIGHT "Холодний"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "闪烁关"
|
#define D_BLINKOFF "闪烁关"
|
||||||
#define D_BOOT_COUNT "启动次数"
|
#define D_BOOT_COUNT "启动次数"
|
||||||
#define D_BRIGHTLIGHT "亮"
|
#define D_BRIGHTLIGHT "亮"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "按钮"
|
#define D_BUTTON "按钮"
|
||||||
#define D_BY "汉化: killadm 作者:" // Written by me
|
#define D_BY "汉化: killadm 作者:" // Written by me
|
||||||
#define D_BYTES "大小:"
|
#define D_BYTES "大小:"
|
||||||
#define D_CELSIUS "摄氏"
|
#define D_CELSIUS "摄氏"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "二氧化碳"
|
#define D_CO2 "二氧化碳"
|
||||||
#define D_CODE "代码" // Button code
|
#define D_CODE "代码" // Button code
|
||||||
#define D_COLDLIGHT "冷"
|
#define D_COLDLIGHT "冷"
|
||||||
|
|
|
@ -60,10 +60,12 @@
|
||||||
#define D_BLINKOFF "閃爍關"
|
#define D_BLINKOFF "閃爍關"
|
||||||
#define D_BOOT_COUNT "啟動次數"
|
#define D_BOOT_COUNT "啟動次數"
|
||||||
#define D_BRIGHTLIGHT "亮度"
|
#define D_BRIGHTLIGHT "亮度"
|
||||||
|
#define D_BSSID "BSSId"
|
||||||
#define D_BUTTON "按鈕"
|
#define D_BUTTON "按鈕"
|
||||||
#define D_BY "by" // Written by me
|
#define D_BY "by" // Written by me
|
||||||
#define D_BYTES "大小:"
|
#define D_BYTES "大小:"
|
||||||
#define D_CELSIUS "攝氏"
|
#define D_CELSIUS "攝氏"
|
||||||
|
#define D_CHANNEL "Channel"
|
||||||
#define D_CO2 "二氧化碳"
|
#define D_CO2 "二氧化碳"
|
||||||
#define D_CODE "代碼" // Button code
|
#define D_CODE "代碼" // Button code
|
||||||
#define D_COLDLIGHT "冷"
|
#define D_COLDLIGHT "冷"
|
||||||
|
|
|
@ -254,7 +254,7 @@ const char HTTP_FORM_MODULE[] PROGMEM =
|
||||||
"<input id='w' name='w' value='6,1' hidden>"
|
"<input id='w' name='w' value='6,1' hidden>"
|
||||||
"<br/><b>" D_MODULE_TYPE "</b> ({mt)<br/><select id='g99' name='g99'></select><br/>";
|
"<br/><b>" D_MODULE_TYPE "</b> ({mt)<br/><select id='g99' name='g99'></select><br/>";
|
||||||
const char HTTP_LNK_ITEM[] PROGMEM =
|
const char HTTP_LNK_ITEM[] PROGMEM =
|
||||||
"<div><a href='#p' onclick='c(this)'>{v}</a> <span class='q'>{i} {r}%</span></div>";
|
"<div><a href='#p' onclick='c(this)'>{v}</a> ({w}) <span class='q'>{i} {r}%</span></div>";
|
||||||
const char HTTP_LNK_SCAN[] PROGMEM =
|
const char HTTP_LNK_SCAN[] PROGMEM =
|
||||||
"<div><a href='/w1'>" D_SCAN_FOR_WIFI_NETWORKS "</a></div><br/>";
|
"<div><a href='/w1'>" D_SCAN_FOR_WIFI_NETWORKS "</a></div><br/>";
|
||||||
const char HTTP_FORM_WIFI[] PROGMEM =
|
const char HTTP_FORM_WIFI[] PROGMEM =
|
||||||
|
@ -882,7 +882,7 @@ void HandleWifi(boolean scan)
|
||||||
//display networks in page
|
//display networks in page
|
||||||
for (int i = 0; i < n; i++) {
|
for (int i = 0; i < n; i++) {
|
||||||
if (-1 == indices[i]) { continue; } // skip dups
|
if (-1 == indices[i]) { continue; } // skip dups
|
||||||
snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_WIFI D_SSID " %s, " D_RSSI " %d"), WiFi.SSID(indices[i]).c_str(), WiFi.RSSI(indices[i]));
|
snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_WIFI D_SSID " %s, " D_BSSID " %s, " D_CHANNEL " %d, " D_RSSI " %d"), WiFi.SSID(indices[i]).c_str(), WiFi.BSSIDstr(indices[i]).c_str(), WiFi.channel(indices[i]), WiFi.RSSI(indices[i]));
|
||||||
AddLog(LOG_LEVEL_DEBUG);
|
AddLog(LOG_LEVEL_DEBUG);
|
||||||
int quality = WifiGetRssiAsQuality(WiFi.RSSI(indices[i]));
|
int quality = WifiGetRssiAsQuality(WiFi.RSSI(indices[i]));
|
||||||
|
|
||||||
|
@ -891,6 +891,7 @@ void HandleWifi(boolean scan)
|
||||||
String rssiQ;
|
String rssiQ;
|
||||||
rssiQ += quality;
|
rssiQ += quality;
|
||||||
item.replace(F("{v}"), WiFi.SSID(indices[i]));
|
item.replace(F("{v}"), WiFi.SSID(indices[i]));
|
||||||
|
item.replace(F("{w}"), String(WiFi.channel(indices[i])));
|
||||||
item.replace(F("{r}"), rssiQ);
|
item.replace(F("{r}"), rssiQ);
|
||||||
uint8_t auth = WiFi.encryptionType(indices[i]);
|
uint8_t auth = WiFi.encryptionType(indices[i]);
|
||||||
item.replace(F("{i}"), (ENC_TYPE_WEP == auth) ? F(D_WEP) : (ENC_TYPE_TKIP == auth) ? F(D_WPA_PSK) : (ENC_TYPE_CCMP == auth) ? F(D_WPA2_PSK) : (ENC_TYPE_AUTO == auth) ? F(D_AUTO) : F(""));
|
item.replace(F("{i}"), (ENC_TYPE_WEP == auth) ? F(D_WEP) : (ENC_TYPE_TKIP == auth) ? F(D_WPA_PSK) : (ENC_TYPE_CCMP == auth) ? F(D_WPA2_PSK) : (ENC_TYPE_AUTO == auth) ? F(D_AUTO) : F(""));
|
||||||
|
|
Loading…
Reference in New Issue