From 616fbb41697d22b80ffadbd5a18b96282b1d3aaf Mon Sep 17 00:00:00 2001 From: liYony <941843540@qq.com> Date: Mon, 13 Nov 2023 21:59:44 +0800 Subject: [PATCH] =?UTF-8?q?[iot][kawaii-mqtt]=20Demo=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E5=AE=8F=E5=AE=9A=E4=B9=89=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iot/kawaii-mqtt/Kconfig | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/iot/kawaii-mqtt/Kconfig b/iot/kawaii-mqtt/Kconfig index 2ce1373b01..8b4ade4485 100644 --- a/iot/kawaii-mqtt/Kconfig +++ b/iot/kawaii-mqtt/Kconfig @@ -145,6 +145,36 @@ if PKG_USING_KAWAII_MQTT bool "enable kawaii mqtt test" default n + if PKG_USING_KAWAII_MQTT_TEST + config KAWAII_MQTT_HOST + string "mqtt host" + default "jiejie01.top" + + config KAWAII_MQTT_PORT + string "mqtt port" + default "1883" + + config KAWAII_MQTT_CLIENTID + string "mqtt client id" + default "rtthread001" + + config KAWAII_MQTT_USERNAME + string "mqtt username" + default "rt-thread" + + config KAWAII_MQTT_PASSWORD + string "mqtt password" + default "rt-thread" + + config KAWAII_MQTT_SUBTOPIC + string "mqtt subscribe topic" + default "rtt-sub" + + config KAWAII_MQTT_PUBTOPIC + string "mqtt publish topic" + default "rtt-pub" + endif + choice prompt "Version" default PKG_USING_KAWAII_MQTT_LATEST_VERSION