summaryrefslogtreecommitdiff
path: root/nrfdemo/Kconfig
diff options
context:
space:
mode:
authorMichal Hanus <hanus.michal@divelit.cz>2025-04-23 13:43:14 +0200
committerMichal Hanus <hanus.michal@divelit.cz>2025-04-23 13:43:14 +0200
commitd1c04e8b36bc206eb520f7b79183d5c015855252 (patch)
tree469857024814e16b8ed27c52c5b8689358455f33 /nrfdemo/Kconfig
parent851d92974af6cefa00de1379dad8b8076c2dd107 (diff)
parent0dee9f28ef79d54ec06f460b5e1deb10a8efd303 (diff)
Merge remote-tracking branch 'refs/remotes/xyz/master'
Diffstat (limited to 'nrfdemo/Kconfig')
-rw-r--r--nrfdemo/Kconfig60
1 files changed, 60 insertions, 0 deletions
diff --git a/nrfdemo/Kconfig b/nrfdemo/Kconfig
new file mode 100644
index 0000000..c3d8f29
--- /dev/null
+++ b/nrfdemo/Kconfig
@@ -0,0 +1,60 @@
+#
+# Copyright (c) 2020 Nordic Semiconductor ASA
+# Copyright (c) 2024 Conexio Technologies, Inc
+#
+# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
+#
+
+menu "Cellfund Lesson 4 Exercise"
+
+config MQTT_PUB_TOPIC
+ string "MQTT publish topic"
+ default "agr/test"
+
+config MQTT_SUB_TOPIC
+ string "MQTT subscribe topic"
+ default "agr/testic"
+
+config MQTT_CLIENT_ID
+ string "MQTT Client ID"
+ help
+ Use a custom Client ID string. If not set, the client ID will be
+ generated based on IMEI number (for nRF91 Series based targets) or
+ randomly (for other platforms).
+ default ""
+
+config MQTT_BROKER_HOSTNAME
+ string "MQTT broker hostname"
+ default "mikehanus.xyz"
+
+config MQTT_BROKER_PORT
+ int "MQTT broker port"
+ default 1883
+
+config MQTT_MESSAGE_BUFFER_SIZE
+ int "MQTT message buffer size"
+ default 128
+
+config MQTT_PAYLOAD_BUFFER_SIZE
+ int "MQTT payload buffer size"
+ default 128
+
+config BUTTON_EVENT_PUBLISH_MSG
+ string "The message to publish on a button event"
+ default "Hello from Conexio Stratus DK"
+
+config TURN_LED_ON_CMD
+ string "Command to turn on LED"
+ default "LEDON"
+
+config TURN_LED_OFF_CMD
+ string "Command to turn off LED"
+ default "LEDOFF"
+
+config MQTT_RECONNECT_DELAY_S
+ int "Seconds to delay before attempting to reconnect to the broker."
+ default 60
+
+endmenu
+
+source "Kconfig.zephyr"