Skip to content

Commit

Permalink
improved language translation support
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarzen committed Feb 16, 2024
1 parent e9c1f5f commit 22f886a
Show file tree
Hide file tree
Showing 11 changed files with 291 additions and 58 deletions.
39 changes: 38 additions & 1 deletion platformio/include/_locale.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,34 @@ extern const char *TXT_UNITS_PRES_POUNDSPERSQUAREINCH;
extern const char *TXT_UNITS_DIST_KILOMETERS;
extern const char *TXT_UNITS_DIST_MILES;

// LAST REFRESH
// MISCELLANEOUS MESSAGES
// Title Case
extern const char *TXT_LOW_BATTERY;
extern const char *TXT_NETWORK_NOT_AVAILABLE;
extern const char *TXT_TIME_SYNCHRONIZATION_FAILED;
extern const char *TXT_WIFI_CONNECTION_FAILED;
// First Word Capitalized
extern const char *TXT_ATTEMPTING_HTTP_REQ;
extern const char *TXT_AWAKE_FOR;
extern const char *TXT_BATTERY_VOLTAGE;
extern const char *TXT_CONNECTING_TO;
extern const char *TXT_COULD_NOT_CONNECT_TO;
extern const char *TXT_ENTERING_DEEP_SLEEP_FOR;
extern const char *TXT_READING_FROM;
extern const char *TXT_FAILED;
extern const char *TXT_SUCCESS;
extern const char *TXT_UNKNOWN;
// All Lowercase
extern const char *TXT_NOT_FOUND;
extern const char *TXT_READ_FAILED;
// Complete
extern const char *TXT_FAILED_TO_GET_TIME;
extern const char *TXT_HIBERNATING_INDEFINITELY_NOTICE;
extern const char *TXT_REFERENCING_OLDER_TIME_NOTICE;
extern const char *TXT_WAITING_FOR_SNTP;
extern const char *TXT_LOW_BATTERY_VOLTAGE;
extern const char *TXT_VERY_LOW_BATTERY_VOLTAGE;
extern const char *TXT_CRIT_LOW_BATTERY_VOLTAGE;

// ALERTS
extern const std::vector<String> ALERT_URGENCY;
Expand Down Expand Up @@ -229,4 +255,15 @@ extern const char *TXT_DESERIALIZATION_ERROR_INVALID_INPUT;
extern const char *TXT_DESERIALIZATION_ERROR_NO_MEMORY;
extern const char *TXT_DESERIALIZATION_ERROR_TOO_DEEP;

// WIFI STATUS
extern const char *TXT_WL_NO_SHIELD;
extern const char *TXT_WL_IDLE_STATUS;
extern const char *TXT_WL_NO_SSID_AVAIL;
extern const char *TXT_WL_SCAN_COMPLETED;
extern const char *TXT_WL_CONNECTED;
extern const char *TXT_WL_CONNECT_FAILED;
extern const char *TXT_WL_CONNECTION_LOST;
extern const char *TXT_WL_DISCONNECTED;


#endif
2 changes: 1 addition & 1 deletion platformio/include/renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ void drawOutlookGraph(owm_hourly_t *const hourly, tm timeInfo);
void drawStatusBar(const String &statusStr, const String &refreshTimeStr,
int rssi, double batVoltage);
void drawError(const uint8_t *bitmap_196x196,
const String &errMsgLn1, const String &errMsgLn2);
const String &errMsgLn1, const String &errMsgLn2="");

#endif
14 changes: 8 additions & 6 deletions platformio/src/client_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
wl_status_t startWiFi(int &wifiRSSI)
{
WiFi.mode(WIFI_STA);
Serial.printf("Connecting to '%s'", WIFI_SSID);
Serial.printf("%s '%s'", TXT_CONNECTING_TO, WIFI_SSID);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

// timeout if WiFi does not connect in WIFI_TIMEOUT ms from now
Expand All @@ -81,7 +81,7 @@ wl_status_t startWiFi(int &wifiRSSI)
}
else
{
Serial.printf("Could not connect to '%s'\n", WIFI_SSID);
Serial.printf("%s '%s'\n", TXT_COULD_NOT_CONNECT_TO, WIFI_SSID);
}
return connection_status;
} // startWiFi
Expand All @@ -103,7 +103,7 @@ bool printLocalTime(tm *timeInfo)
int attempts = 0;
while (!getLocalTime(timeInfo) && attempts++ < 3)
{
Serial.println("Failed to obtain time");
Serial.println(TXT_FAILED_TO_GET_TIME);
return false;
}
Serial.println(timeInfo, "%A, %B %d, %Y %H:%M:%S");
Expand All @@ -124,7 +124,7 @@ bool waitForSNTPSync(tm *timeInfo)
if ((sntp_get_sync_status() == SNTP_SYNC_STATUS_RESET)
&& (millis() < timeout))
{
Serial.print("Waiting for SNTP synchronization.");
Serial.print(TXT_WAITING_FOR_SNTP);
delay(100); // ms
while ((sntp_get_sync_status() == SNTP_SYNC_STATUS_RESET)
&& (millis() < timeout))
Expand Down Expand Up @@ -166,7 +166,8 @@ bool waitForSNTPSync(tm *timeInfo)

uri += "&appid=" + OWM_APIKEY;

Serial.println("Attempting HTTP Request: " + sanitizedUri);
Serial.print(TXT_ATTEMPTING_HTTP_REQ);
Serial.println(": " + sanitizedUri);
int httpResponse = 0;
while (!rxSuccess && attempts < 3)
{
Expand Down Expand Up @@ -230,7 +231,8 @@ bool waitForSNTPSync(tm *timeInfo)
+ "&start=" + startStr + "&end=" + endStr
+ "&appid={API key}";

Serial.println("Attempting HTTP Request: " + sanitizedUri);
Serial.print(TXT_ATTEMPTING_HTTP_REQ);
Serial.println(": " + sanitizedUri);
int httpResponse = 0;
while (!rxSuccess && attempts < 3)
{
Expand Down
16 changes: 8 additions & 8 deletions platformio/src/display_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1684,14 +1684,14 @@ const char *getWifiStatusPhrase(wl_status_t status)
{
switch (status)
{
case WL_NO_SHIELD: return "No Shield";
case WL_IDLE_STATUS: return "Idle";
case WL_NO_SSID_AVAIL: return "No SSID Available";
case WL_SCAN_COMPLETED: return "Scan Complete";
case WL_CONNECTED: return "Connected";
case WL_CONNECT_FAILED: return "Connection Failed";
case WL_CONNECTION_LOST: return "Connection Lost";
case WL_DISCONNECTED: return "Disconnected";
case WL_NO_SHIELD: return TXT_WL_NO_SHIELD;
case WL_IDLE_STATUS: return TXT_WL_IDLE_STATUS;
case WL_NO_SSID_AVAIL: return TXT_WL_NO_SSID_AVAIL;
case WL_SCAN_COMPLETED: return TXT_WL_SCAN_COMPLETED;
case WL_CONNECTED: return TXT_WL_CONNECTED;
case WL_CONNECT_FAILED: return TXT_WL_CONNECT_FAILED;
case WL_CONNECTION_LOST: return TXT_WL_CONNECTION_LOST;
case WL_DISCONNECTED: return TXT_WL_DISCONNECTED;

default: return "";
}
Expand Down
40 changes: 38 additions & 2 deletions platformio/src/locales/locale_de_DE.inc
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,34 @@ const char *TXT_UNITS_PRES_POUNDSPERSQUAREINCH = "lb/in\xB2";
const char *TXT_UNITS_DIST_KILOMETERS = "km";
const char *TXT_UNITS_DIST_MILES = "mi";

// LAST REFRESH
const char *TXT_UNKNOWN = "Unbekannt";
// MISCELLANEOUS MESSAGES
// Title Case
const char *TXT_LOW_BATTERY = "Low Battery";
const char *TXT_NETWORK_NOT_AVAILABLE = "Network Not Available";
const char *TXT_TIME_SYNCHRONIZATION_FAILED = "Time Synchronization Failed";
const char *TXT_WIFI_CONNECTION_FAILED = "WiFi Connection Failed";
// First Word Capitalized
const char *TXT_ATTEMPTING_HTTP_REQ = "Attempting HTTP request";
const char *TXT_AWAKE_FOR = "Awake for";
const char *TXT_BATTERY_VOLTAGE = "Battery voltage";
const char *TXT_CONNECTING_TO = "Connecting to";
const char *TXT_COULD_NOT_CONNECT_TO = "Could not connect to";
const char *TXT_ENTERING_DEEP_SLEEP_FOR = "Entering deep sleep for";
const char *TXT_READING_FROM = "Reading from";
const char *TXT_FAILED = "Failed";
const char *TXT_SUCCESS = "Success";
const char *TXT_UNKNOWN = "Unknown";
// All Lowercase
const char *TXT_NOT_FOUND = "not found";
const char *TXT_READ_FAILED = "read failed";
// Complete Sentences
const char *TXT_FAILED_TO_GET_TIME = "Failed to get the time!";
const char *TXT_HIBERNATING_INDEFINITELY_NOTICE = "Hibernating without wake time!";
const char *TXT_REFERENCING_OLDER_TIME_NOTICE = "Failed to syncronize time before deep-sleep, referencing older time.";
const char *TXT_WAITING_FOR_SNTP = "Waiting for SNTP synchronization.";
const char *TXT_LOW_BATTERY_VOLTAGE = "Low battery voltage!";
const char *TXT_VERY_LOW_BATTERY_VOLTAGE = "Very low battery voltage!";
const char *TXT_CRIT_LOW_BATTERY_VOLTAGE = "Critically low battery voltage!";

// ALERTS
// The display can show up to 2 alerts, but alerts can be unpredictible in
Expand Down Expand Up @@ -396,3 +422,13 @@ const char *TXT_DESERIALIZATION_ERROR_INCOMPLETE_INPUT = "Deserialization Incomp
const char *TXT_DESERIALIZATION_ERROR_INVALID_INPUT = "Deserialization Invalid Input";
const char *TXT_DESERIALIZATION_ERROR_NO_MEMORY = "Deserialization No Memory";
const char *TXT_DESERIALIZATION_ERROR_TOO_DEEP = "Deserialization Too Deep";

// WIFI STATUS
const char *TXT_WL_NO_SHIELD = "No Shield";
const char *TXT_WL_IDLE_STATUS = "Idle";
const char *TXT_WL_NO_SSID_AVAIL = "No SSID Available";
const char *TXT_WL_SCAN_COMPLETED = "Scan Complete";
const char *TXT_WL_CONNECTED = "Connected";
const char *TXT_WL_CONNECT_FAILED = "Connection Failed";
const char *TXT_WL_CONNECTION_LOST = "Connection Lost";
const char *TXT_WL_DISCONNECTED = "Disconnected";
38 changes: 37 additions & 1 deletion platformio/src/locales/locale_en_GB.inc
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,34 @@ const char *TXT_UNITS_PRES_POUNDSPERSQUAREINCH = "lb/in\xB2";
const char *TXT_UNITS_DIST_KILOMETERS = "km";
const char *TXT_UNITS_DIST_MILES = "mi";

// LAST REFRESH
// MISCELLANEOUS MESSAGES
// Title Case
const char *TXT_LOW_BATTERY = "Low Battery";
const char *TXT_NETWORK_NOT_AVAILABLE = "Network Not Available";
const char *TXT_TIME_SYNCHRONIZATION_FAILED = "Time Synchronization Failed";
const char *TXT_WIFI_CONNECTION_FAILED = "WiFi Connection Failed";
// First Word Capitalized
const char *TXT_ATTEMPTING_HTTP_REQ = "Attempting HTTP request";
const char *TXT_AWAKE_FOR = "Awake for";
const char *TXT_BATTERY_VOLTAGE = "Battery voltage";
const char *TXT_CONNECTING_TO = "Connecting to";
const char *TXT_COULD_NOT_CONNECT_TO = "Could not connect to";
const char *TXT_ENTERING_DEEP_SLEEP_FOR = "Entering deep sleep for";
const char *TXT_READING_FROM = "Reading from";
const char *TXT_FAILED = "Failed";
const char *TXT_SUCCESS = "Success";
const char *TXT_UNKNOWN = "Unknown";
// All Lowercase
const char *TXT_NOT_FOUND = "not found";
const char *TXT_READ_FAILED = "read failed";
// Complete Sentences
const char *TXT_FAILED_TO_GET_TIME = "Failed to get the time!";
const char *TXT_HIBERNATING_INDEFINITELY_NOTICE = "Hibernating without wake time!";
const char *TXT_REFERENCING_OLDER_TIME_NOTICE = "Failed to syncronize time before deep-sleep, referencing older time.";
const char *TXT_WAITING_FOR_SNTP = "Waiting for SNTP synchronization.";
const char *TXT_LOW_BATTERY_VOLTAGE = "Low battery voltage!";
const char *TXT_VERY_LOW_BATTERY_VOLTAGE = "Very low battery voltage!";
const char *TXT_CRIT_LOW_BATTERY_VOLTAGE = "Critically low battery voltage!";

// ALERTS
// The display can show up to 2 alerts, but alerts can be unpredictible in
Expand Down Expand Up @@ -388,3 +414,13 @@ const char *TXT_DESERIALIZATION_ERROR_INCOMPLETE_INPUT = "Deserialization Incomp
const char *TXT_DESERIALIZATION_ERROR_INVALID_INPUT = "Deserialization Invalid Input";
const char *TXT_DESERIALIZATION_ERROR_NO_MEMORY = "Deserialization No Memory";
const char *TXT_DESERIALIZATION_ERROR_TOO_DEEP = "Deserialization Too Deep";

// WIFI STATUS
const char *TXT_WL_NO_SHIELD = "No Shield";
const char *TXT_WL_IDLE_STATUS = "Idle";
const char *TXT_WL_NO_SSID_AVAIL = "No SSID Available";
const char *TXT_WL_SCAN_COMPLETED = "Scan Complete";
const char *TXT_WL_CONNECTED = "Connected";
const char *TXT_WL_CONNECT_FAILED = "Connection Failed";
const char *TXT_WL_CONNECTION_LOST = "Connection Lost";
const char *TXT_WL_DISCONNECTED = "Disconnected";
38 changes: 37 additions & 1 deletion platformio/src/locales/locale_en_US.inc
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,34 @@ const char *TXT_UNITS_PRES_POUNDSPERSQUAREINCH = "lb/in\xB2";
const char *TXT_UNITS_DIST_KILOMETERS = "km";
const char *TXT_UNITS_DIST_MILES = "mi";

// LAST REFRESH
// MISCELLANEOUS MESSAGES
// Title Case
const char *TXT_LOW_BATTERY = "Low Battery";
const char *TXT_NETWORK_NOT_AVAILABLE = "Network Not Available";
const char *TXT_TIME_SYNCHRONIZATION_FAILED = "Time Synchronization Failed";
const char *TXT_WIFI_CONNECTION_FAILED = "WiFi Connection Failed";
// First Word Capitalized
const char *TXT_ATTEMPTING_HTTP_REQ = "Attempting HTTP request";
const char *TXT_AWAKE_FOR = "Awake for";
const char *TXT_BATTERY_VOLTAGE = "Battery voltage";
const char *TXT_CONNECTING_TO = "Connecting to";
const char *TXT_COULD_NOT_CONNECT_TO = "Could not connect to";
const char *TXT_ENTERING_DEEP_SLEEP_FOR = "Entering deep sleep for";
const char *TXT_READING_FROM = "Reading from";
const char *TXT_FAILED = "Failed";
const char *TXT_SUCCESS = "Success";
const char *TXT_UNKNOWN = "Unknown";
// All Lowercase
const char *TXT_NOT_FOUND = "not found";
const char *TXT_READ_FAILED = "read failed";
// Complete Sentences
const char *TXT_FAILED_TO_GET_TIME = "Failed to get the time!";
const char *TXT_HIBERNATING_INDEFINITELY_NOTICE = "Hibernating without wake time!";
const char *TXT_REFERENCING_OLDER_TIME_NOTICE = "Failed to syncronize time before deep-sleep, referencing older time.";
const char *TXT_WAITING_FOR_SNTP = "Waiting for SNTP synchronization.";
const char *TXT_LOW_BATTERY_VOLTAGE = "Low battery voltage!";
const char *TXT_VERY_LOW_BATTERY_VOLTAGE = "Very low battery voltage!";
const char *TXT_CRIT_LOW_BATTERY_VOLTAGE = "Critically low battery voltage!";

// ALERTS
// The display can show up to 2 alerts, but alerts can be unpredictible in
Expand Down Expand Up @@ -388,3 +414,13 @@ const char *TXT_DESERIALIZATION_ERROR_INCOMPLETE_INPUT = "Deserialization Incomp
const char *TXT_DESERIALIZATION_ERROR_INVALID_INPUT = "Deserialization Invalid Input";
const char *TXT_DESERIALIZATION_ERROR_NO_MEMORY = "Deserialization No Memory";
const char *TXT_DESERIALIZATION_ERROR_TOO_DEEP = "Deserialization Too Deep";

// WIFI STATUS
const char *TXT_WL_NO_SHIELD = "No Shield";
const char *TXT_WL_IDLE_STATUS = "Idle";
const char *TXT_WL_NO_SSID_AVAIL = "No SSID Available";
const char *TXT_WL_SCAN_COMPLETED = "Scan Complete";
const char *TXT_WL_CONNECTED = "Connected";
const char *TXT_WL_CONNECT_FAILED = "Connection Failed";
const char *TXT_WL_CONNECTION_LOST = "Connection Lost";
const char *TXT_WL_DISCONNECTED = "Disconnected";
38 changes: 37 additions & 1 deletion platformio/src/locales/locale_fr_FR.inc
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,34 @@ const char *TXT_UNITS_PRES_POUNDSPERSQUAREINCH = "lb/in\xB2";
const char *TXT_UNITS_DIST_KILOMETERS = "km";
const char *TXT_UNITS_DIST_MILES = "mi";

// LAST REFRESH
// MISCELLANEOUS MESSAGES
// Title Case
const char *TXT_LOW_BATTERY = "Low Battery";
const char *TXT_NETWORK_NOT_AVAILABLE = "Network Not Available";
const char *TXT_TIME_SYNCHRONIZATION_FAILED = "Time Synchronization Failed";
const char *TXT_WIFI_CONNECTION_FAILED = "WiFi Connection Failed";
// First Word Capitalized
const char *TXT_ATTEMPTING_HTTP_REQ = "Attempting HTTP request";
const char *TXT_AWAKE_FOR = "Awake for";
const char *TXT_BATTERY_VOLTAGE = "Battery voltage";
const char *TXT_CONNECTING_TO = "Connecting to";
const char *TXT_COULD_NOT_CONNECT_TO = "Could not connect to";
const char *TXT_ENTERING_DEEP_SLEEP_FOR = "Entering deep sleep for";
const char *TXT_READING_FROM = "Reading from";
const char *TXT_FAILED = "Failed";
const char *TXT_SUCCESS = "Success";
const char *TXT_UNKNOWN = "Unknown";
// All Lowercase
const char *TXT_NOT_FOUND = "not found";
const char *TXT_READ_FAILED = "read failed";
// Complete Sentences
const char *TXT_FAILED_TO_GET_TIME = "Failed to get the time!";
const char *TXT_HIBERNATING_INDEFINITELY_NOTICE = "Hibernating without wake time!";
const char *TXT_REFERENCING_OLDER_TIME_NOTICE = "Failed to syncronize time before deep-sleep, referencing older time.";
const char *TXT_WAITING_FOR_SNTP = "Waiting for SNTP synchronization.";
const char *TXT_LOW_BATTERY_VOLTAGE = "Low battery voltage!";
const char *TXT_VERY_LOW_BATTERY_VOLTAGE = "Very low battery voltage!";
const char *TXT_CRIT_LOW_BATTERY_VOLTAGE = "Critically low battery voltage!";

// ALERTS
// The display can show up to 2 alerts, but alerts can be unpredictible in
Expand Down Expand Up @@ -396,3 +422,13 @@ const char *TXT_DESERIALIZATION_ERROR_INCOMPLETE_INPUT = "Deserialization Incomp
const char *TXT_DESERIALIZATION_ERROR_INVALID_INPUT = "Deserialization Invalid Input";
const char *TXT_DESERIALIZATION_ERROR_NO_MEMORY = "Deserialization No Memory";
const char *TXT_DESERIALIZATION_ERROR_TOO_DEEP = "Deserialization Too Deep";

// WIFI STATUS
const char *TXT_WL_NO_SHIELD = "No Shield";
const char *TXT_WL_IDLE_STATUS = "Idle";
const char *TXT_WL_NO_SSID_AVAIL = "No SSID Available";
const char *TXT_WL_SCAN_COMPLETED = "Scan Complete";
const char *TXT_WL_CONNECTED = "Connected";
const char *TXT_WL_CONNECT_FAILED = "Connection Failed";
const char *TXT_WL_CONNECTION_LOST = "Connection Lost";
const char *TXT_WL_DISCONNECTED = "Disconnected";
40 changes: 38 additions & 2 deletions platformio/src/locales/locale_nl_BE.inc
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,34 @@ const char *TXT_UNITS_PRES_POUNDSPERSQUAREINCH = "lb/in\xB2";
const char *TXT_UNITS_DIST_KILOMETERS = "km";
const char *TXT_UNITS_DIST_MILES = "mi";

// LAST REFRESH
const char *TXT_UNKNOWN = "Onbekend";
// MISCELLANEOUS MESSAGES
// Title Case
const char *TXT_LOW_BATTERY = "Low Battery";
const char *TXT_NETWORK_NOT_AVAILABLE = "Network Not Available";
const char *TXT_TIME_SYNCHRONIZATION_FAILED = "Time Synchronization Failed";
const char *TXT_WIFI_CONNECTION_FAILED = "WiFi Connection Failed";
// First Word Capitalized
const char *TXT_ATTEMPTING_HTTP_REQ = "Attempting HTTP request";
const char *TXT_AWAKE_FOR = "Awake for";
const char *TXT_BATTERY_VOLTAGE = "Battery voltage";
const char *TXT_CONNECTING_TO = "Connecting to";
const char *TXT_COULD_NOT_CONNECT_TO = "Could not connect to";
const char *TXT_ENTERING_DEEP_SLEEP_FOR = "Entering deep sleep for";
const char *TXT_READING_FROM = "Reading from";
const char *TXT_FAILED = "Failed";
const char *TXT_SUCCESS = "Success";
const char *TXT_UNKNOWN = "Unknown";
// All Lowercase
const char *TXT_NOT_FOUND = "not found";
const char *TXT_READ_FAILED = "read failed";
// Complete Sentences
const char *TXT_FAILED_TO_GET_TIME = "Failed to get the time!";
const char *TXT_HIBERNATING_INDEFINITELY_NOTICE = "Hibernating without wake time!";
const char *TXT_REFERENCING_OLDER_TIME_NOTICE = "Failed to syncronize time before deep-sleep, referencing older time.";
const char *TXT_WAITING_FOR_SNTP = "Waiting for SNTP synchronization.";
const char *TXT_LOW_BATTERY_VOLTAGE = "Low battery voltage!";
const char *TXT_VERY_LOW_BATTERY_VOLTAGE = "Very low battery voltage!";
const char *TXT_CRIT_LOW_BATTERY_VOLTAGE = "Critically low battery voltage!";

// ALERTS
// The display can show up to 2 alerts, but alerts can be unpredictible in
Expand Down Expand Up @@ -395,3 +421,13 @@ const char *TXT_DESERIALIZATION_ERROR_INCOMPLETE_INPUT = "Deserialization Incomp
const char *TXT_DESERIALIZATION_ERROR_INVALID_INPUT = "Deserialization Invalid Input";
const char *TXT_DESERIALIZATION_ERROR_NO_MEMORY = "Deserialization No Memory";
const char *TXT_DESERIALIZATION_ERROR_TOO_DEEP = "Deserialization Too Deep";

// WIFI STATUS
const char *TXT_WL_NO_SHIELD = "No Shield";
const char *TXT_WL_IDLE_STATUS = "Idle";
const char *TXT_WL_NO_SSID_AVAIL = "No SSID Available";
const char *TXT_WL_SCAN_COMPLETED = "Scan Complete";
const char *TXT_WL_CONNECTED = "Connected";
const char *TXT_WL_CONNECT_FAILED = "Connection Failed";
const char *TXT_WL_CONNECTION_LOST = "Connection Lost";
const char *TXT_WL_DISCONNECTED = "Disconnected";
Loading

0 comments on commit 22f886a

Please sign in to comment.