Skip to content

Commit

Permalink
Add document for unique client_id, resolve #132
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanpmt authored Jul 24, 2017
1 parent c7eda33 commit 37cab7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ make ESPPORT=/dev/ttyUSB0 flash

See file: `user/user_main.c`

**Notes**
- The client id needs to be unique. If not, When there are more than 2 clients use the same ClientID, the following logged-in client will kick the ahead logged-in client, and so on forever

**Publish message and Subscribe**

Expand All @@ -64,7 +66,7 @@ MQTT_InitLWT(&mqttClient, "/lwt", "offline", 0, 0);
```

#Default configuration
# Default configuration

See: **include/user_config.sample.h**

Expand Down

0 comments on commit 37cab7c

Please sign in to comment.