Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Commit d85138b

Browse files
committed
support mqtt auth and version
1 parent adf64a2 commit d85138b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ A configuration file `sunricher.properties` is needed and must be located beside
1313

1414
```
1515
mqttServer=<protocol and host of MQTT broker>
16-
mqttUsername=<mqtt username>
17-
mqttPassword=<mqtt password>
16+
mqttUsername=<mqtt username, can be empty>
17+
mqttPassword=<mqtt password, can be empty>
18+
mqttVersion=<mqtt version, can be empty, defaults to 3>
1819
logLevel=<log level, e.g. ERROR,WARN,INFO,DEBUG,TRACE>
1920
ledHost=<host of sunricher device>
2021
topic=<mqtt topic>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.magcode</groupId>
55
<artifactId>sunricher-mqtt</artifactId>
6-
<version>2.0.1</version>
6+
<version>2.0.2</version>
77
<repositories>
88
<repository>
99
<id>Eclipse Paho Repo</id>

0 commit comments

Comments
 (0)