Skip to content

Commit

Permalink
[iot][kawaii-mqtt] Demo程序宏定义支持
Browse files Browse the repository at this point in the history
  • Loading branch information
liYony authored and mysterywolf committed Nov 13, 2023
1 parent e4f7d39 commit 616fbb4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions iot/kawaii-mqtt/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 616fbb4

Please sign in to comment.