This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:remotelab:ume:smartme:m2 [2019/10/29 11:16] – pczekalski | en:iot-open:remotelab:ume:smartme:m2 [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== M2: MQTT to subscribe to a topic to receive messages ==== | + | ==== IM2: MQTT to subscribe to a topic to receive messages ==== |
| MQTT is one of the most commonly used protocols in IoT projects. It stands for Message Queuing Telemetry Transport. In addition, it is designed as a lightweight messaging protocol that provides publish/ | MQTT is one of the most commonly used protocols in IoT projects. It stands for Message Queuing Telemetry Transport. In addition, it is designed as a lightweight messaging protocol that provides publish/ | ||
| Line 42: | Line 42: | ||
| It will be possible to display the value of the temperature, | It will be possible to display the value of the temperature, | ||
| Start | Start | ||
| - | This exercise is to be considered as closely related to the M1 exercise. This means that if you want to reproduce a complete experiment, you have to book at least two nodes of the lab, and then you have to run both M1 and M2 sketches, one per node. | + | This exercise is to be considered as closely related to the M1 exercise. This means that if you want to reproduce a complete experiment, you have to book at least two nodes of the lab, and then you have to run both IM1 and IM2 sketches, one per node. |
| === Steps === | === Steps === | ||
| Line 138: | Line 138: | ||
| </ | </ | ||
| - | === IM1_sub.cpp === | + | === IM2_sub.cpp === |
| <code c> | <code c> | ||
| #include < | #include < | ||