summaryrefslogtreecommitdiff
path: root/nrfdemo/Kconfig
diff options
context:
space:
mode:
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"