mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-02-22 21:43:07 +01:00
|
…
|
||
|---|---|---|
| .. | ||
| main.cpp | ||
| Makefile | ||
| readme.txt | ||
| temperature_conversion.cpp | ||
| temperature_conversion.h | ||
This is a simple example of the C++ library mosquittopp. It is a client that subscribes to the topic temperature/celsius which should have temperature data in text form being published to it. It reads this data as a Celsius temperature, converts to Fahrenheit and republishes on temperature/fahrenheit.