/** * strings_en.h * engligh strings for * WiFiManager, a library for the ESP8266/Arduino platform * for configuration of WiFi credentials using a Captive Portal * * @author Creator tzapu * @author tablatronix * @version 0.0.0 * @license MIT */ #ifndef _WM_STRINGS_H_ #define _WM_STRINGS_H_ #ifndef WIFI_MANAGER_OVERRIDE_STRINGS // !!! THIS DOES NOT WORK, you cannot define in a sketch, if anyone one knows how to order includes to be able to do this help! const char HTTP_HEAD_START[] PROGMEM = "{v}"; const char HTTP_SCRIPT[] PROGMEM = ""; const char HTTP_HEAD_END[] PROGMEM = "
"; const char HTTP_ROOT_MAIN[] PROGMEM = "

{v}

WiFiManager

"; const char * const HTTP_PORTAL_MENU[] PROGMEM = { "

\n", // MENU_WIFI "

\n", // MENU_WIFINOSCAN "

\n", // MENU_INFO "

\n",//MENU_PARAM "

\n", // MENU_CLOSE "

\n",// MENU_RESTART "

\n", // MENU_EXIT "

\n", // MENU_ERASE "

" // MENU_SEP }; // const char HTTP_PORTAL_OPTIONS[] PROGMEM = strcat(HTTP_PORTAL_MENU[0] , HTTP_PORTAL_MENU[3] , HTTP_PORTAL_MENU[7]); const char HTTP_PORTAL_OPTIONS[] PROGMEM = ""; const char HTTP_ITEM_QI[] PROGMEM = ""; // rssi icons const char HTTP_ITEM_QP[] PROGMEM = "
{r}%
"; // rssi percentage const char HTTP_ITEM[] PROGMEM = "
{v}{qi}{qp}
"; // {q} = HTTP_ITEM_QI, {r} = HTTP_ITEM_QP // const char HTTP_ITEM[] PROGMEM = "
{v} {R} {r}% {q} {e}
"; // test all tokens const char HTTP_FORM_START[] PROGMEM = "
"; const char HTTP_FORM_WIFI[] PROGMEM = "
"; const char HTTP_FORM_WIFI_END[] PROGMEM = ""; const char HTTP_FORM_STATIC_HEAD[] PROGMEM = "

"; const char HTTP_FORM_END[] PROGMEM = "

"; const char HTTP_FORM_LABEL[] PROGMEM = ""; const char HTTP_FORM_PARAM_HEAD[] PROGMEM = "

"; const char HTTP_FORM_PARAM[] PROGMEM = "
"; const char HTTP_SCAN_LINK[] PROGMEM = "
"; const char HTTP_SAVED[] PROGMEM = "
Saving Credentials
Trying to connect ESP to network.
If it fails reconnect to AP to try again
"; const char HTTP_PARAMSAVED[] PROGMEM = "
Saved
"; const char HTTP_END[] PROGMEM = "
"; const char HTTP_ERASEBTN[] PROGMEM = "
"; const char HTTP_STATUS_ON[] PROGMEM = "
Connected to {v}
with IP {i}
"; const char HTTP_STATUS_OFF[] PROGMEM = "
Not Connected to {v}{r}
"; const char HTTP_STATUS_OFFPW[] PROGMEM = "
Authentication Failure"; // STATION_WRONG_PASSWORD, no eps32 const char HTTP_STATUS_OFFNOAP[] PROGMEM = "
AP not found"; // WL_NO_SSID_AVAIL const char HTTP_STATUS_OFFFAIL[] PROGMEM = "
Could not Connect"; // WL_CONNECT_FAILED const char HTTP_STATUS_NONE[] PROGMEM = "
No AP set
"; const char HTTP_BR[] PROGMEM = "
"; const char HTTP_STYLE[] PROGMEM = ""; const char HTTP_HELP[] PROGMEM = "

Available Pages


" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "
PageFunction
/Menu page.
/wifiShow WiFi scan results and enter WiFi configuration.(/0wifi noscan)
/wifisaveSave WiFi configuration information and configure device. Needs variables supplied.
/paramParameter page
/infoInformation page
/closeClose the captiveportal popup,configportal will remain active
/exitExit Config Portal, configportal will close
/restartReboot the device
/eraseErase WiFi configuration and reboot Device. Device will not reconnect to a network until new WiFi configuration data is entered.
" "

More information about WiFiManager at https://github.com/tzapu/WiFiManager."; #ifdef JSTEST const char HTTP_JS[] PROGMEM = ""; #endif // Info html #ifdef ESP32 const char HTTP_INFO_esphead[] PROGMEM = "

esp32


"; const char HTTP_INFO_chiprev[] PROGMEM = "
Chip Rev
{1}
"; const char HTTP_INFO_lastreset[] PROGMEM = "
Last reset reason
CPU0: {1}
CPU1: {2}
"; const char HTTP_INFO_aphost[] PROGMEM = "
Acccess Point Hostname
{1}
"; #else const char HTTP_INFO_esphead[] PROGMEM = "

esp8266


"; const char HTTP_INFO_flashsize[] PROGMEM = "
Real Flash Size
{1} bytes
"; const char HTTP_INFO_fchipid[] PROGMEM = "
Flash Chip ID
{1}
"; const char HTTP_INFO_corever[] PROGMEM = "
Core Version
{1}
"; const char HTTP_INFO_bootver[] PROGMEM = "
Boot Version
{1}
"; const char HTTP_INFO_memsketch[] PROGMEM = "
Memory - Sketch Size
Used / Total bytes
{1} / {2}"; const char HTTP_INFO_memsmeter[] PROGMEM = "
"; const char HTTP_INFO_lastreset[] PROGMEM = "
Last reset reason
{1}
"; #endif const char HTTP_INFO_freeheap[] PROGMEM = "
Memory - Free Heap
{1} bytes available
"; const char HTTP_INFO_wifihead[] PROGMEM = "

WiFi


"; const char HTTP_INFO_uptime[] PROGMEM = "
Uptime
{1} Mins {2} Secs
"; const char HTTP_INFO_chipid[] PROGMEM = "
Chip ID
{1}
"; const char HTTP_INFO_idesize[] PROGMEM = "
Flash Size
{1} bytes
"; const char HTTP_INFO_sdkver[] PROGMEM = "
SDK Version
{1}
"; const char HTTP_INFO_cpufreq[] PROGMEM = "
CPU Frequency
{1}MHz
"; const char HTTP_INFO_apip[] PROGMEM = "
Access Point IP
{1}
"; const char HTTP_INFO_apmac[] PROGMEM = "
Access Point MAC
{1}
"; const char HTTP_INFO_apssid[] PROGMEM = "
SSID
{1}
"; const char HTTP_INFO_apbssid[] PROGMEM = "
BSSID
{1}
"; const char HTTP_INFO_staip[] PROGMEM = "
Station IP
{1}
"; const char HTTP_INFO_stagw[] PROGMEM = "
Station Gateway
{1}
"; const char HTTP_INFO_stasub[] PROGMEM = "
Station Subnet
{1}
"; const char HTTP_INFO_dnss[] PROGMEM = "
DNS Server
{1}
"; const char HTTP_INFO_host[] PROGMEM = "
Hostname
{1}
"; const char HTTP_INFO_stamac[] PROGMEM = "
Station MAC
{1}
"; const char HTTP_INFO_conx[] PROGMEM = "
Connected
{1}
"; const char HTTP_INFO_autoconx[] PROGMEM = "
Autoconnect
{1}
"; const char HTTP_INFO_temp[] PROGMEM = "
Temperature
{1} C° / {2} F°
"; // Strings const char S_y[] PROGMEM = "Yes"; const char S_n[] PROGMEM = "No"; const char S_enable[] PROGMEM = "Enabled"; const char S_disable[] PROGMEM = "Disabled"; const char S_GET[] PROGMEM = "GET"; const char S_POST[] PROGMEM = "POST"; const char S_NA[] PROGMEM = "Unknown"; const char S_passph[] PROGMEM = "********"; const char S_titlewifisaved[] PROGMEM = "Credentials Saved"; const char S_titlewifisettings[] PROGMEM = "Settings Saved"; const char S_titlewifi[] PROGMEM = "Config ESP"; const char S_titleinfo[] PROGMEM = "Info"; const char S_titleparam[] PROGMEM = "Setup"; const char S_titleparamsaved[] PROGMEM = "Setup Saved"; const char S_titleexit[] PROGMEM = "Exit"; const char S_titlereset[] PROGMEM = "Reset"; const char S_titleerase[] PROGMEM = "Erase"; const char S_titleclose[] PROGMEM = "Close"; const char S_options[] PROGMEM = "options"; const char S_nonetworks[] PROGMEM = "No networks found. Refresh to scan again."; const char S_staticip[] PROGMEM = "Static IP"; const char S_staticgw[] PROGMEM = "Static Gateway"; const char S_staticdns[] PROGMEM = "Static DNS"; const char S_subnet[] PROGMEM = "Subnet"; const char S_exiting[] PROGMEM = "Exiting"; const char S_resetting[] PROGMEM = "Module will reset in a few seconds."; const char S_closing[] PROGMEM = "You can close the page, portal will continue to run"; const char S_error[] PROGMEM = "An Error Occured"; const char S_notfound[] PROGMEM = "File Not Found\n\n"; const char S_uri[] PROGMEM = "URI: "; const char S_method[] PROGMEM = "\nMethod: "; const char S_args[] PROGMEM = "\nArguments: "; const char S_parampre[] PROGMEM = "param_"; // debug strings const char D_HR[] PROGMEM = "--------------------"; // END WIFI_MANAGER_OVERRIDE_STRINGS #endif // ----------------------------------------------------------------------------------------------- // DO NOT EDIT BELOW THIS LINE const uint8_t _nummenutokens = 9; const char * const _menutokens[9] PROGMEM = { "wifi", "wifinoscan", "info", "param", "close", "restart", "exit", "erase", "sep" }; const char R_root[] PROGMEM = "/"; const char R_wifi[] PROGMEM = "/wifi"; const char R_wifinoscan[] PROGMEM = "/0wifi"; const char R_wifisave[] PROGMEM = "/wifisave"; const char R_info[] PROGMEM = "/info"; const char R_param[] PROGMEM = "/param"; const char R_paramsave[] PROGMEM = "/paramsave"; const char R_restart[] PROGMEM = "/restart"; const char R_exit[] PROGMEM = "/exit"; const char R_close[] PROGMEM = "/close"; const char R_erase[] PROGMEM = "/erase"; const char R_status[] PROGMEM = "/status"; //Strings const char S_ip[] PROGMEM = "ip"; const char S_gw[] PROGMEM = "gw"; const char S_sn[] PROGMEM = "sn"; const char S_dns[] PROGMEM = "dns"; // softap ssid default prefix #ifdef ESP8266 const char S_ssidpre[] PROGMEM = "ESP"; #elif defined(ESP32) const char S_ssidpre[] PROGMEM = "ESP32"; #else const char S_ssidpre[] PROGMEM = "WM"; #endif //Tokens //@todo consolidate and reduce const char T_ss[] PROGMEM = "{"; // token start sentinel const char T_es[] PROGMEM = "}"; // token end sentinel const char T_1[] PROGMEM = "{1}"; // @token 1 const char T_2[] PROGMEM = "{2}"; // @token 2 const char T_v[] PROGMEM = "{v}"; // @token v const char T_I[] PROGMEM = "{I}"; // @token I const char T_i[] PROGMEM = "{i}"; // @token i const char T_n[] PROGMEM = "{n}"; // @token n const char T_p[] PROGMEM = "{p}"; // @token p const char T_t[] PROGMEM = "{t}"; // @token t const char T_l[] PROGMEM = "{l}"; // @token l const char T_c[] PROGMEM = "{c}"; // @token c const char T_e[] PROGMEM = "{e}"; // @token e const char T_q[] PROGMEM = "{q}"; // @token q const char T_r[] PROGMEM = "{r}"; // @token r const char T_R[] PROGMEM = "{R}"; // @token R const char T_h[] PROGMEM = "{h}"; // @token h // http const char HTTP_HEAD_CL[] PROGMEM = "Content-Length"; const char HTTP_HEAD_CT[] PROGMEM = "text/html"; const char HTTP_HEAD_CT2[] PROGMEM = "text/plain"; const char HTTP_HEAD_CORS[] PROGMEM = "Access-Control-Allow-Origin"; const char HTTP_HEAD_CORS_ALLOW_ALL[] PROGMEM = "*"; const char * const WIFI_STA_STATUS[] PROGMEM { "WL_IDLE_STATUS", // 0 STATION_IDLE "WL_NO_SSID_AVAIL", // 1 STATION_NO_AP_FOUND "WL_SCAN_COMPLETED", // 2 "WL_CONNECTED", // 3 STATION_GOT_IP "WL_CONNECT_FAILED", // 4 STATION_CONNECT_FAIL, STATION_WRONG_PASSWORD(NI) "WL_CONNECTION_LOST", // 5 "WL_DISCONNECTED", // 6 "WL_STATION_WRONG_PASSWORD" // 7 KLUDGE }; #ifdef ESP32 const char * const AUTH_MODE_NAMES[] PROGMEM { "OPEN", "WEP", "WPA_PSK", "WPA2_PSK", "WPA_WPA2_PSK", "WPA2_ENTERPRISE", "MAX" }; #elif defined(ESP8266) const char * const AUTH_MODE_NAMES[] PROGMEM { "", "", "WPA_PSK", // 2 ENC_TYPE_TKIP "", "WPA2_PSK", // 4 ENC_TYPE_CCMP "WEP", // 5 ENC_TYPE_WEP "", "OPEN", //7 ENC_TYPE_NONE "WPA_WPA2_PSK", // 8 ENC_TYPE_AUTO }; #endif const char* const WIFI_MODES[] PROGMEM = { "NULL", "STA", "AP", "STA+AP" }; #ifdef ESP32 // as 2.5.2 // typedef struct { // char cc[3]; /**< country code string */ // uint8_t schan; /**< start channel */ // uint8_t nchan; /**< total channel number */ // int8_t max_tx_power; /**< This field is used for getting WiFi maximum transmitting power, call esp_wifi_set_max_tx_power to set the maximum transmitting power. */ // wifi_country_policy_t policy; /**< country policy */ // } wifi_country_t; const wifi_country_t WM_COUNTRY_US{"US",1,11,CONFIG_ESP32_PHY_MAX_TX_POWER,WIFI_COUNTRY_POLICY_AUTO}; const wifi_country_t WM_COUNTRY_CN{"CN",1,13,CONFIG_ESP32_PHY_MAX_TX_POWER,WIFI_COUNTRY_POLICY_AUTO}; const wifi_country_t WM_COUNTRY_JP{"JP",1,14,CONFIG_ESP32_PHY_MAX_TX_POWER,WIFI_COUNTRY_POLICY_AUTO}; #elif defined(ESP8266) // typedef struct { // char cc[3]; /**< country code string */ // uint8_t schan; /**< start channel */ // uint8_t nchan; /**< total channel number */ // uint8_t policy; /**< country policy */ // } wifi_country_t; const wifi_country_t WM_COUNTRY_US{"US",1,11,WIFI_COUNTRY_POLICY_AUTO}; const wifi_country_t WM_COUNTRY_CN{"CN",1,13,WIFI_COUNTRY_POLICY_AUTO}; const wifi_country_t WM_COUNTRY_JP{"JP",1,14,WIFI_COUNTRY_POLICY_AUTO}; #endif #endif