From 15d0655fdd1c28d2977d5bec11bbe6b8f84f2e26 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Wed, 21 Aug 2019 19:39:58 +0700 Subject: [PATCH] update code --- waterishos-gen2-mesh/waterishos-gen2-mesh.ino | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/waterishos-gen2-mesh/waterishos-gen2-mesh.ino b/waterishos-gen2-mesh/waterishos-gen2-mesh.ino index 073d2ea..c122ded 100644 --- a/waterishos-gen2-mesh/waterishos-gen2-mesh.ino +++ b/waterishos-gen2-mesh/waterishos-gen2-mesh.ino @@ -5,10 +5,8 @@ #define FIRMWARE_ID 0x1337 #define FIRMWARE_VER "0.1" -wifi_conn networks[] = {WIFI_CONN("ssid 1", NETWORK_PASSWORD, NULL, 0),WIFI_CONN("ssid 2", NETWORK_PASSWORD, NULL, 0),NULL,}; -const char* mesh_password = MESH_PASSWORD; -const char* mqtt_server = MQTT_SERVER; -const int mqtt_port = MQTT_PORT; +wifi_conn networks[] = {WIFI_CONN("ssid 1", "Password", NULL, 0),WIFI_CONN("ssid 2", "Another Password", NULL, 0),NULL,}; + String ID = String(ESP.getChipId());