The monitoring service will be implemented as a basic systemd service, meaning that it will be started by the operating system when the system starts, and the service can be monitored and restarted using all the regular systemd tools.

We will have the following dependencies:

  • POCO
  • WiringPi
  • libmosquittopp (and libmosquitto)

The libmosquitto dependency ( is used to add MQTT support. The libmosquittopp dependency is a wrapper around the C-based API to provide a class-based interface, which makes integration into C++ projects easier.

The POCO framework ( is a highly portable set of C++ APIs, which provides everything from network-related functions (including ...

Get Hands-On Embedded Programming with C++17 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.