File tree Expand file tree Collapse file tree 3 files changed +106
-0
lines changed
Expand file tree Collapse file tree 3 files changed +106
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ # Kconfig file for package FreeMQTT
3+ menuconfig PKG_USING_FREEMQTT
4+ bool "FreeMQTT:From coreMQTT Client Library"
5+ default n
6+ select RT_USING_LWIP
7+ select RT_USING_POSIX_FS
8+ select RT_USING_POSIX_SOCKET
9+
10+ if PKG_USING_FREEMQTT
11+
12+ config PKG_FREEMQTT_PATH
13+ string
14+ default "/packages/iot/FreeMQTT"
15+
16+ choice
17+ prompt "Version"
18+ help
19+ Select the package version
20+
21+ config PKG_USING_FREEMQTT_V100
22+ bool "v1.0.0"
23+
24+ config PKG_USING_FREEMQTT_LATEST_VERSION
25+ bool "latest"
26+ endchoice
27+
28+ config MQTT_CLIENT_ID
29+ string "mqtt client ID"
30+ default "freemqtt"
31+
32+ config MQTT_USERNAME
33+ string "mqtt name"
34+ default "free"
35+
36+ config MQTT_PASSWORD
37+ string "mqtt password"
38+ default "free"
39+
40+ config MQTT_BROKER_ADDRESS
41+ string "mqtt broker address"
42+ default "broker.emqx.io"
43+
44+ config MQTT_BROKER_PORT
45+ int "mqtt broker port"
46+ default 1883
47+
48+ config MQTT_TOPIC_SUB
49+ string "mqtt topic subscribe"
50+ default "free/topic/sub"
51+
52+ config MQTT_TOPIC_PUB
53+ string "mqtt topic publish"
54+ default "free/topic/pub"
55+
56+ config MQTT_KEEP_ALIVE
57+ int "mqtt keep alive"
58+ default 60
59+
60+ config MQTT_BUF_SIZE
61+ int "mqtt buffer size"
62+ default 4096
63+
64+ config PKG_FREEMQTT_VER
65+ string
66+ default "v1.0.0" if PKG_USING_FREEMQTT_V100
67+ default "latest" if PKG_USING_FREEMQTT_LATEST_VERSION
68+
69+ endif
70+
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " FreeMQTT" ,
3+ "description" : " Ported from CoreMQTT" ,
4+ "description_zh" : " CoreMQTT的RT-Thread移植版本" ,
5+ "enable" : " PKG_USING_FREEMQTT" ,
6+ "keywords" : [
7+ " FreeMQTT" ,
8+ " MQTT" ,
9+ " iot"
10+ ],
11+ "category" : " iot" ,
12+ "author" : {
13+ "name" : " Yaochenger" ,
14+ 15+ "github" : " Yaochenger"
16+ },
17+ "license" : " MIT" ,
18+ "repository" : " https://github.com/Yaochenger/FreeMQTT" ,
19+ "icon" : " unknown" ,
20+ "homepage" : " https://github.com/Yaochenger/FreeMQTT#readme" ,
21+ "doc" : " https://github.com/Yaochenger/FreeMQTT/blob/master/README.md" ,
22+ "site" : [
23+ {
24+ "version" : " v1.0.0" ,
25+ "URL" : " https://github.com/Yaochenger/FreeMQTT/archive/refs/tags/1.1.0.zip" ,
26+ "filename" : " FreeMQTT-1.0.0.zip"
27+ },
28+ {
29+ "version" : " latest" ,
30+ "URL" : " https://github.com/Yaochenger/FreeMQTT.git" ,
31+ "filename" : " FreeMQTT.zip" ,
32+ "VER_SHA" : " master"
33+ }
34+ ]
35+ }
Original file line number Diff line number Diff line change @@ -70,4 +70,5 @@ source "$PKGS_DIR/packages/iot/lhc_modbus/Kconfig"
7070source "$PKGS_DIR/packages/iot/qmodbus/Kconfig"
7171source "$PKGS_DIR/packages/iot/p-net-rtt/Kconfig"
7272source "$PKGS_DIR/packages/iot/OpENer/Kconfig"
73+ source "$PKGS_DIR/packages/iot/FreeMQTT/Kconfig"
7374endmenu
You can’t perform that action at this time.
0 commit comments