The sink service is in charge of doing the interface between a physical device attached to a gateway through a uart port and the Dbus internal API.
On Debian 12, the following packages are needed to build:
cmake
git
libsystemd-dev
pkg-config
The sink service depends on c-mesh-api repository. It contains the low level library that implements the DualMCU API to communicate through an UART to a Wirepas node.
c-mesh-api is fetched automatically from git by CMake when the project is configured.
From current folder, execute following commands to build the sinkService
cmake -S . -B build
cmake --build buildBuilt sinkService will be generated under build/ folder.