main/Kconfig.projbuild

changeset 5
b1f38105ca7e
parent 4
d0155c16e992
child 9
1659bd3c7a2b
--- a/main/Kconfig.projbuild	Wed Mar 29 21:39:07 2023 +0200
+++ b/main/Kconfig.projbuild	Thu Mar 30 17:05:05 2023 +0200
@@ -40,17 +40,48 @@
 
     endmenu
 
-    config ESP_WIFI_SSID
-        string "WiFi SSID"
-        default "myssid"
-        help
-            SSID (network name) to connect to.
+    menu "WiFi settings"
+
+    	config ESP_WIFI_SSID
+            string "WiFi SSID"
+            default "myssid"
+            help
+            	SSID (network name) to connect to.
+
+        config ESP_WIFI_PASSWORD
+            string "WiFi Password"
+            default "mypassword"
+            help
+            	WiFi password (WPA or WPA2) to use.
+
+    endmenu
+
+    menu "MQTT server"
 
-    config ESP_WIFI_PASSWORD
-        string "WiFi Password"
-        default "mypassword"
-        help
-            WiFi password (WPA or WPA2) to use.
+    config MQTT_SERVER
+	string "MQTT server"
+	default "mqtt.eclipseprojects.io"
+	help
+	    The MQTT server to connect to
+
+    config MQTT_PORT
+	int "MQTT port number"
+	default 1883
+	help
+	    The MQTT server port
 
+    config MQTT_USER
+	string "MQTT username"
+	default ""
+	help
+	    The optional MQTT username.
+
+    config MQTT_PASS
+	string "MQTT password"
+	default "letmein"
+	help
+	    The optional MQTT password for the username.
+
+    endmenu
 
 endmenu

mercurial