diff --git a/esp3d/src/core/commands/ESP420.cpp b/esp3d/src/core/commands/ESP420.cpp index b3ac1c4a..1428cf67 100644 --- a/esp3d/src/core/commands/ESP420.cpp +++ b/esp3d/src/core/commands/ESP420.cpp @@ -81,7 +81,7 @@ #if defined(AUTHENTICATION_FEATURE) #include "../../modules/authentication/authentication_service.h" #endif // AUTHENTICATION_FEATURE -#if defined(SSDP_FEATURE) +#if defined(SSDP_FEATURE) && defined(ARDUINO_ARCH_ESP32) #include #endif // SSDP_FEATURE #if defined(MDNS_FEATURE) @@ -312,7 +312,12 @@ void ESP3DCommands::ESP420(int cmd_params_pos, ESP3DMessage* msg) { } #if defined (SSDP_FEATURE) // SSDP enabled + #if defined(ARDUINO_ARCH_ESP32) tmpstr = SSDP.started() ? "ON (" + String(SSDP.localIP().toString()) + ")" : "OFF"; + #endif // ARDUINO_ARCH_ESP32 + #if defined(ARDUINO_ARCH_ESP8266) + tmpstr = "ON" ; + #endif // ARDUINO_ARCH_ESP8266 if (!dispatchIdValue(json, "SSDP", tmpstr.c_str(), target, requestId, false)) { return; } diff --git a/esp3d/src/include/esp3d_version.h b/esp3d/src/include/esp3d_version.h index e561326c..e3a93eb7 100644 --- a/esp3d/src/include/esp3d_version.h +++ b/esp3d/src/include/esp3d_version.h @@ -22,7 +22,7 @@ #define _VERSION_ESP3D_H // version and sources location -#define FW_VERSION "3.0.0.a247" +#define FW_VERSION "3.0.0.a248" #define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0" #endif //_VERSION_ESP3D_H diff --git a/info.json b/info.json index 2e93cfc1..a91a05d8 100644 --- a/info.json +++ b/info.json @@ -1,3 +1,3 @@ { - "version": "3.0.0.a247" + "version": "3.0.0.a248" } \ No newline at end of file