From 5b60ec2d11357d5314c51e3e75d586a0d2319f22 Mon Sep 17 00:00:00 2001 From: Ben Xu Date: Fri, 21 Jun 2024 00:02:58 -0700 Subject: [PATCH] set template server and wifi --- software/source/clients/esp32/src/client/client.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/software/source/clients/esp32/src/client/client.ino b/software/source/clients/esp32/src/client/client.ino index ce8ced5..ab4bc7d 100644 --- a/software/source/clients/esp32/src/client/client.ino +++ b/software/source/clients/esp32/src/client/client.ino @@ -541,7 +541,7 @@ void tryReconnectWiFi() { } void tryReconnectToServer() { preferences.begin("network", true); // Open Preferences with the "network" namespace in ReadOnly mode - const String SERVER_URL="sterling-snail-conversely.ngrok-free.app"; + const String SERVER_URL="SERVER URL HERE"; String serverURL = SERVER_URL; // Get stored server URL, if any // String serverURL = preferences.getString("server_url", ""); // Get stored server URL, if any preferences.end(); // Close the Preferences @@ -793,8 +793,8 @@ void setup() { Serial.setTxBufferSize(1024); // Set the transmit buffer size for the Serial object. WiFi.mode(WIFI_AP_STA); // Set WiFi mode to both AP and STA. - const String WIFI_NAME="gunner1"; - const String WIFI_PASSWORD="startup1"; + const String WIFI_NAME="WIFI NAME HERE"; + const String WIFI_PASSWORD="WIFI PASSWORD HERE"; // delay(100); // Short delay to ensure mode change takes effect // WiFi.softAPConfig(localIP, gatewayIP, subnetMask); // WiFi.softAP(ssid, password);