mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Merge branch 'gpio-redesign' of http://github.com/fvanroie/hasp-lvgl into gpio-redesign
This commit is contained in:
commit
8017be47db
@ -30,7 +30,7 @@ PosixDevice::PosixDevice()
|
||||
// LOG_VERBOSE(0,"Version: %s", uts.version);
|
||||
// LOG_VERBOSE(0,"Machine: %s", uts.machine);
|
||||
|
||||
char version[128];
|
||||
char version[256];
|
||||
snprintf(version, sizeof(version), "%s %s", uts.sysname, uts.release);
|
||||
_core_version = version;
|
||||
_chip_model = uts.machine;
|
||||
|
@ -946,11 +946,11 @@ void dispatch_output_statusupdate(const char*, const char*)
|
||||
strcat(data, buffer);
|
||||
#endif
|
||||
|
||||
snprintf_P(buffer, sizeof(buffer), PSTR("\"heapFree\":%u,\"heapFrag\":%u,\"core\":\"%s\","),
|
||||
snprintf_P(buffer, sizeof(buffer), PSTR("\"heapFree\":%zu,\"heapFrag\":%u,\"core\":\"%s\","),
|
||||
haspDevice.get_free_heap(), haspDevice.get_heap_fragmentation(), haspDevice.get_core_version());
|
||||
strcat(data, buffer);
|
||||
|
||||
snprintf_P(buffer, sizeof(buffer), PSTR("\"canUpdate\":\"false\",\"page\":%u,\"numPages\":%u,"),
|
||||
snprintf_P(buffer, sizeof(buffer), PSTR("\"canUpdate\":\"false\",\"page\":%u,\"numPages\":%zu,"),
|
||||
haspPages.get(), haspPages.count());
|
||||
strcat(data, buffer);
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
#define D_MQTT_SUBSCRIBED "Subscribed to %s"
|
||||
#define D_MQTT_NOT_SUBSCRIBED "Failed to subscribe to %s"
|
||||
#define D_MQTT_HA_AUTO_DISCOVERY "Register HA auto-discovery"
|
||||
#define D_MQTT_PAYLOAD_TOO_LONG "Payload too long (%d bytes)"
|
||||
#define D_MQTT_PAYLOAD_TOO_LONG "Payload too long (%zu bytes)"
|
||||
|
||||
#define D_TELNET_CLOSING_CONNECTION "Closing session from %s"
|
||||
#define D_TELNET_CLIENT_LOGIN_FROM "Client login from %s"
|
||||
@ -87,7 +87,7 @@
|
||||
#define D_DISPATCH_REBOOT "Rebooting the MCU now!"
|
||||
|
||||
#define D_JSON_FAILED "JSON parsing failed:"
|
||||
#define D_JSONL_FAILED "JSONL parsing failed at line %d"
|
||||
#define D_JSONL_FAILED "JSONL parsing failed at line %zu"
|
||||
#define D_JSONL_SUCCEEDED "Jsonl fully parsed"
|
||||
|
||||
#define D_OTA_CHECK_UPDATE "Checking updates URL: %s"
|
||||
|
@ -47,7 +47,7 @@
|
||||
#define D_MQTT_SUBSCRIBED "Feliratkozva: %s"
|
||||
#define D_MQTT_NOT_SUBSCRIBED "Nem sikerült feliratkozni: %s"
|
||||
#define D_MQTT_HA_AUTO_DISCOVERY "Regisztrálás HA automatikus felfedezésre"
|
||||
#define D_MQTT_PAYLOAD_TOO_LONG "$$$Payload too long (%d bytes)"
|
||||
#define D_MQTT_PAYLOAD_TOO_LONG "$$$Payload too long (%zu bytes)"
|
||||
|
||||
#define D_TELNET_CLOSING_CONNECTION "Munkamenet befejezése %s-el"
|
||||
#define D_TELNET_CLIENT_LOGIN_FROM "Kliens bejelentkezés innen: %s"
|
||||
@ -87,7 +87,7 @@
|
||||
#define D_DISPATCH_REBOOT "Az MCU most újraindul!"
|
||||
|
||||
#define D_JSON_FAILED "JSON elemzése nem sikerült:"
|
||||
#define D_JSONL_FAILED "JSONL elemzése meghiúsult a %d vonalnál"
|
||||
#define D_JSONL_FAILED "JSONL elemzése meghiúsult a %zu vonalnál"
|
||||
#define D_JSONL_SUCCEEDED "JSONL teljes körűen elemezve"
|
||||
|
||||
#define D_OTA_CHECK_UPDATE "A frissítések ellenőrzése az URL-en: %s"
|
||||
|
@ -47,7 +47,7 @@
|
||||
#define D_MQTT_SUBSCRIBED "Ingeschreven op %s"
|
||||
#define D_MQTT_NOT_SUBSCRIBED "Inschrijving op %s mislukt"
|
||||
#define D_MQTT_HA_AUTO_DISCOVERY "Registeren HA auto-configuratie"
|
||||
#define D_MQTT_PAYLOAD_TOO_LONG "Payload is te lang (%d bytes)"
|
||||
#define D_MQTT_PAYLOAD_TOO_LONG "Payload is te lang (%zu bytes)"
|
||||
|
||||
#define D_TELNET_CLOSING_CONNECTION "Sessie sluiten van %s"
|
||||
#define D_TELNET_CLIENT_LOGIN_FROM "Client aangemeld van %s"
|
||||
@ -86,7 +86,7 @@
|
||||
#define D_DISPATCH_REBOOT "De MCU wordt herstart!"
|
||||
|
||||
#define D_JSON_FAILED "JSON verwerking mislukt:"
|
||||
#define D_JSONL_FAILED "JSONL verwerking mislukt op lijn %d"
|
||||
#define D_JSONL_FAILED "JSONL verwerking mislukt op lijn %zu"
|
||||
#define D_JSONL_SUCCEEDED "Jsonl volledig verwerkt"
|
||||
|
||||
#define D_OTA_CHECK_UPDATE "Controle update URL: %s"
|
||||
|
@ -47,7 +47,7 @@
|
||||
#define D_MQTT_SUBSCRIBED "Abonat la %s"
|
||||
#define D_MQTT_NOT_SUBSCRIBED "Abonarea la %s a eșuat"
|
||||
#define D_MQTT_HA_AUTO_DISCOVERY "Înregistrare la auto-descoperire în HA"
|
||||
#define D_MQTT_PAYLOAD_TOO_LONG "$$$Payload too long (%d bytes)"
|
||||
#define D_MQTT_PAYLOAD_TOO_LONG "$$$Payload too long (%zu bytes)"
|
||||
|
||||
#define D_TELNET_CLOSING_CONNECTION "Terminarea sesiunii de la %s"
|
||||
#define D_TELNET_CLIENT_LOGIN_FROM "Conectare client de la %s"
|
||||
@ -87,7 +87,7 @@
|
||||
#define D_DISPATCH_REBOOT "MCU-ul repornește acum!"
|
||||
|
||||
#define D_JSON_FAILED "Analiza JSON a eșuat:"
|
||||
#define D_JSONL_FAILED "Analiza JSONL a eșuat la linia %d"
|
||||
#define D_JSONL_FAILED "Analiza JSONL a eșuat la linia %zu"
|
||||
#define D_JSONL_SUCCEEDED "Analiza JSONL completă"
|
||||
|
||||
#define D_OTA_CHECK_UPDATE "Verificare la URL-ul actualizărilor: %s"
|
||||
|
Loading…
x
Reference in New Issue
Block a user