From 2e13c372f1419f08dab7797b244681f889dd9bcf Mon Sep 17 00:00:00 2001 From: Michal Hanus Date: Mon, 14 Apr 2025 22:04:32 +0200 Subject: nrfdemo --- nrfdemo/Kconfig | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 nrfdemo/Kconfig (limited to 'nrfdemo/Kconfig') 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" -- cgit v1.2.3