From 5fee86b9f04a900ac8d04fe99027ba70cfb5cfc8 Mon Sep 17 00:00:00 2001 From: Tyeth Gundry Date: Thu, 21 Nov 2024 17:46:25 +0000 Subject: [PATCH 1/3] Update ConfigJson.cpp - set default password to blank and ssid to unset-ssid --- src/provisioning/ConfigJson.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/provisioning/ConfigJson.cpp b/src/provisioning/ConfigJson.cpp index b43d7d2ff..00c12a33a 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 +} From b3b81e4944b9c4269e146b069682e256ca025328 Mon Sep 17 00:00:00 2001 From: Tyeth Gundry Date: Thu, 21 Nov 2024 18:16:32 +0000 Subject: [PATCH 2/3] Update library.properties - bump version to 1.0.0-beta.94 --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 00e4afd2d..82be4896d 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 From ecc98848f2df1bca5d217158d3985df21cefb457 Mon Sep 17 00:00:00 2001 From: Tyeth Gundry Date: Thu, 21 Nov 2024 18:17:06 +0000 Subject: [PATCH 3/3] Update Wippersnapper.h - bump version to 1.0.0-beta.94 --- src/Wippersnapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wippersnapper.h b/src/Wippersnapper.h index 0c418eab2..ede523228 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