diff options
| author | Michal Hanus <hanus.michal@divelit.cz> | 2024-04-01 14:53:48 +0200 |
|---|---|---|
| committer | Michal Hanus <hanus.michal@divelit.cz> | 2024-04-01 14:53:48 +0200 |
| commit | e6318f51769ec684a713876460d89cfb3f595c11 (patch) | |
| tree | 787b0de93bf885ba9793ddeb8d86e1f4e562a8d6 /mqtt_simple/Kconfig | |
| parent | 1173bd81904c534b4b6d62e3f7e8e1b195b4cc4c (diff) | |
Diffstat (limited to 'mqtt_simple/Kconfig')
| -rw-r--r-- | mqtt_simple/Kconfig | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/mqtt_simple/Kconfig b/mqtt_simple/Kconfig new file mode 100644 index 0000000..8c7b93e --- /dev/null +++ b/mqtt_simple/Kconfig @@ -0,0 +1,78 @@ +# +# Copyright (c) 2020 Nordic Semiconductor ASA +# +# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause +# + +menu "MQTT simple sample" +config MQTT_PUB_TOPIC + string "MQTT publish topic" + default "pub/topic" + +config MQTT_SUB_TOPIC + string "MQTT subscribe topic" + default "subs/topic" + +config MQTT_CLIENT_ID + string "nrf" + help + Use a custom Client ID string. If not set, the client ID will be + generated based on IMEI number (for nRF9160 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 nRF91 MQTT Simple Sample" + +config BUTTON_EVENT_BTN_NUM + int "The button number" + default 1 + +config MQTT_RECONNECT_DELAY_S + int "Seconds to delay before attempting to reconnect to the broker" + default 60 + +config LTE_CONNECT_RETRY_DELAY_S + int "Seconds to delay before attempting to retry LTE connection" + default 120 + +config MQTT_TLS_SEC_TAG + int "TLS credentials security tag" + default 24 + +config MQTT_TLS_SESSION_CACHING + bool "Enable TLS session caching" + +config MQTT_TLS_PEER_VERIFY + int "Set peer verification level" + default 2 + help + Set to 0 for VERIFY_NONE, 1 for VERIFY_OPTIONAL, and 2 for + VERIFY_REQUIRED. + +endmenu + +menu "Zephyr Kernel" +source "Kconfig.zephyr" +endmenu + +module = MQTT_SIMPLE +module-str = MQTT Simple +source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config" |
