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.
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.
Git submodule is used to upkeep the project dependency with the c-mesh-api library.
Once this repository is cloned, please synchronize it to get the c-mesh-api code at the right place.
git submodule update --init
From current folder, execute this command to build the sinkService
make
Built sinkService will be generated under build/ folder.