diff --git a/library.properties b/library.properties index 00e4afd2..82be4896 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Adafruit WipperSnapper -version=1.0.0-beta.93 +version=1.0.0-beta.94 author=Adafruit maintainer=Adafruit sentence=Arduino application for Adafruit.io WipperSnapper diff --git a/src/Wippersnapper.h b/src/Wippersnapper.h index 0c418eab..ede52322 100644 --- a/src/Wippersnapper.h +++ b/src/Wippersnapper.h @@ -142,7 +142,7 @@ #endif #define WS_VERSION \ - "1.0.0-beta.93" ///< WipperSnapper app. version (semver-formatted) + "1.0.0-beta.94" ///< WipperSnapper app. version (semver-formatted) // Reserved Adafruit IO MQTT topics #define TOPIC_IO_THROTTLE "/throttle" ///< Adafruit IO Throttle MQTT Topic diff --git a/src/provisioning/ConfigJson.cpp b/src/provisioning/ConfigJson.cpp index b43d7d2f..00c12a33 100644 --- a/src/provisioning/ConfigJson.cpp +++ b/src/provisioning/ConfigJson.cpp @@ -22,8 +22,8 @@ void convertToJson(const networkConfig &src, JsonVariant dst) { // Extracts a network configuration structure from a JSON variant void convertFromJson(JsonVariantConst src, networkConfig &dst) { - strlcpy(dst.ssid, src["network_ssid"] | "testvar", sizeof(dst.ssid)); - strlcpy(dst.pass, src["network_password"] | "testvar", sizeof(dst.pass)); + strlcpy(dst.ssid, src["network_ssid"] | "unset-ssid", sizeof(dst.ssid)); + strlcpy(dst.pass, src["network_password"] | "", sizeof(dst.pass)); } // Converts a secretsConfig structure to a JSON variant @@ -83,4 +83,4 @@ void convertFromJson(JsonVariantConst src, displayConfig &dst) { dst.height = src["height"] | 64; dst.rotation = src["rotation"] | 0; dst.spiConfig = src["spi_config"]; -} \ No newline at end of file +}