From 348d47a31dfbd2f5e3a7e275f09911f5e01f458c Mon Sep 17 00:00:00 2001 From: Ines Zhou Date: Wed, 21 Feb 2024 11:13:31 +0800 Subject: [PATCH] Delete ssid and password in wifi projects --- .../SwiftIOPlayground/11WiFi/JoiningWiFi/Sources/main.swift | 2 +- .../11WiFi/TemperatureDataLogger/Sources/main.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/SwiftIOPlayground/11WiFi/JoiningWiFi/Sources/main.swift b/Examples/SwiftIOPlayground/11WiFi/JoiningWiFi/Sources/main.swift index b3b26b3..1a5d617 100644 --- a/Examples/SwiftIOPlayground/11WiFi/JoiningWiFi/Sources/main.swift +++ b/Examples/SwiftIOPlayground/11WiFi/JoiningWiFi/Sources/main.swift @@ -19,7 +19,7 @@ do { print("ESP32 WiFi mode: \(wifiMode)") // Fill the SSID and password below. - try esp.joinAP(ssid: "TP-LINK_CD1C", password: "q1w2e3r4", timeout: 20000) + try esp.joinAP(ssid: "", password: "", timeout: 20000) print("ESP32 WiFi status: \(esp.wifiStatus)") let ipInfo = try esp.getStationIP() diff --git a/Examples/SwiftIOPlayground/11WiFi/TemperatureDataLogger/Sources/main.swift b/Examples/SwiftIOPlayground/11WiFi/TemperatureDataLogger/Sources/main.swift index d8a2aa6..1357ee6 100644 --- a/Examples/SwiftIOPlayground/11WiFi/TemperatureDataLogger/Sources/main.swift +++ b/Examples/SwiftIOPlayground/11WiFi/TemperatureDataLogger/Sources/main.swift @@ -23,7 +23,7 @@ do { print("ESP32 WiFi mode: \(wifiMode)") // Fill the SSID and password below. - try esp.joinAP(ssid: "TP-LINK_CD1C", password: "q1w2e3r4", timeout: 20000) + try esp.joinAP(ssid: "", password: "", timeout: 20000) print("ESP32 WiFi status: \(esp.wifiStatus)") let ipInfo = try esp.getStationIP()