You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-07-27 15:01:49 +03:00
Tweaks
This commit is contained in:
@ -46,14 +46,20 @@ password_file pwfile
|
|||||||
|
|
||||||
Now `ctrl-x` to save and exit.
|
Now `ctrl-x` to save and exit.
|
||||||
|
|
||||||
You're almost done! We just have to create and populate the password file we just configured. The default user names are:
|
You're almost done! We just have to create and populate the password file we just configured. The default user info is:
|
||||||
* Arduino publisher:
|
* Arduino Subscriber:
|
||||||
* Username: TestUser
|
* Username: TestUser
|
||||||
* Password: TestUser
|
* Password: TestUser
|
||||||
|
|
||||||
|
* Python Subscriber:
|
||||||
|
* Username: TestPy
|
||||||
|
* Password: TestPy
|
||||||
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
touch pwfile #create the password file
|
touch pwfile #create the password file
|
||||||
|
mosquitto_passwd pwfile TestUser #Enter and confirm password when prompted
|
||||||
|
mosquitto_passwd pwfile TestPy #Enter and confirm password when prompted
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user