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