You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,12 @@ After installing the dependencies and this library, make sure you have all 3 pre
17
17
18
18
19
19
## MQTT Client Example
20
-
- Install [PubSubClient](https://github.com/knolleary/pubsubclient) - Manually, or from the Arduino *Library Manager*.
21
-
- Get a MQTT Broker running on your host, listening at least on `localhost`. I used [HiveMQ](www.hivemq.com).
22
-
- Run the **Protocol Gateway** on the same host, on the right COM port.
23
-
- Open and load the example from the Arduino *Examples menu*.
24
-
- When the Arduino is connected to the MQTT broker, it will publish a message and subscribe to the `led` topic.
25
-
- You can use another MQTT client like [MQTT.fx](http://mqttfx.jfx4ee.org) to publish characters `0` and `1` to the topic `led` to toggle the led on and off on the Arduino board.
20
+
1. Install [PubSubClient](https://github.com/knolleary/pubsubclient) - Manually, or from the Arduino *Library Manager*.
21
+
2. Get a MQTT Broker running on your host, listening at least on `localhost`. I used [HiveMQ](www.hivemq.com).
22
+
3. Open and upload the example from the Arduino *Examples menu*.
23
+
4. Run the **Protocol Gateway** on the same host, with the right COM port configuration.
24
+
5. When the Arduino is connected to the MQTT broker, it will publish a message and subscribe to the `led` topic.
25
+
6. You can use another MQTT client like [MQTT.fx](http://mqttfx.jfx4ee.org) to publish characters `0` and `1` to the topic `led` to toggle the led on and off on the Arduino board.
26
26
27
27
### Details
28
28
- The protocol provides the app an in order, duplicates free and error checked byte stream by adding a CRC32 and simple retry mechanism. See [this](https://en.wikibooks.org/wiki/Serial_Programming/Error_Correction_Methods) for background.
0 commit comments