Skip to content

Commit 37cab7c

Browse files
authored
Add document for unique client_id, resolve #132
1 parent c7eda33 commit 37cab7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ make ESPPORT=/dev/ttyUSB0 flash
4444

4545
See file: `user/user_main.c`
4646

47+
**Notes**
48+
- 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
4749

4850
**Publish message and Subscribe**
4951

@@ -64,7 +66,7 @@ MQTT_InitLWT(&mqttClient, "/lwt", "offline", 0, 0);
6466
6567
```
6668

67-
#Default configuration
69+
# Default configuration
6870

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

0 commit comments

Comments
 (0)