Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Commands for the example in the video. Open up two PuTTY instances, both connecting to your Raspberry Pi server:
- In one instance use this command:
- mosquitto_sub -v -t 'iot1/sensor1'
- In the other instance use this command:
- mosquitto_pub -t 'iot1/sensor1' -m 'MQTT is cool!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement