Skip to content

Commit

Permalink
update version and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Rair committed Dec 22, 2017
1 parent 26e23d3 commit f4c4b65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## AndMqtt
android mqttclient
```
compile 'com.rairmmd:andmqtt:1.0.2'
```


## 如何使用
### 1、初始化
Expand Down Expand Up @@ -38,7 +42,7 @@ AndMqtt.getInstance().init(this);

### 3.连接服务器
```
AndMqtt.getInstance().connect(new ConnectBuilder().setServer("服务器地址")
AndMqtt.getInstance().connect(new MqttConnect().setServer("服务器地址")
.setPort(端口号), new IMqttActionListener() {
@Override
public void onSuccess(IMqttToken asyncActionToken) {
Expand Down
2 changes: 1 addition & 1 deletion andmqtt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apply plugin: 'com.jfrog.bintray'
def siteUrl = 'https://github.com/Rairmmd/AndMqtt'
def gitUrl = 'https://github.com/Rairmmd/AndMqtt.git'
group = "com.rairmmd"
version = "1.0.0" //这个是版本号,必须填写
version = "1.0.2" //这个是版本号,必须填写

android {
compileSdkVersion 26
Expand Down

0 comments on commit f4c4b65

Please sign in to comment.