# Looking for Minimal C++ Server-Client Example to Get Started with libcyphal. (OpenCyphal Beginner)

**URL:** <https://forum.opencyphal.org/t/looking-for-minimal-c-server-client-example-to-get-started-with-libcyphal-opencyphal-beginner/2815>\
**Category:** LibCyphal\
**Created:** [June 4, 2026, 8:10am UTC](https://forum.opencyphal.org/t/looking-for-minimal-c-server-client-example-to-get-started-with-libcyphal-opencyphal-beginner/2815 "2026-06-04T08:10:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy27182](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/andy27182/32/1725_2.png) [@andy27182](https://forum.opencyphal.org/u/andy27182)\
**Post date:** [June 4, 2026, 8:10am UTC](https://forum.opencyphal.org/t/looking-for-minimal-c-server-client-example-to-get-started-with-libcyphal-opencyphal-beginner/2815/1 "2026-06-04T08:10:39Z")

</div>

Hi,

I’m learning OpenCyphal and libcyphal. I’ve set up my development environment via DevContainer and cloned the libcyphal repository successfully.

However, I’ve tried to cmake and make but cannot build a minimal runnable application on my own.

My goal is: implement two independent Cyphal nodes running as separate Linux processes, a RPC server (thermostat device) and a RPC client (temperature controller). The client sends target temperature values to the server to adjust its internal temperature via OpenCyphal communication over UDP (local inter-process communication without physical CAN hardware).

Could anyone share a ready-to-compile minimal C++ sample project or provide a complete CMake setup tailored for libcyphal? A simple out-of-box example would help me quickly understand the core API, transport initialization, DSDL code generation and service RPC workflow of libcyphal.

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [June 5, 2026, 12:09pm UTC](https://forum.opencyphal.org/t/looking-for-minimal-c-server-client-example-to-get-started-with-libcyphal-opencyphal-beginner/2815/2 "2026-06-05T12:09:27Z")

</div>

If you are building from scratch, I strongly suggest starting with Cy instead of libcyphal; it comes with examples and offers a much easier to use API: [GitHub - OpenCyphal-Garage/cy: Cyphal v1.1 in C: robust decentralized pub/sub with optional reliability and service discovery in a few thousand lines of code. · GitHub](https://github.com/OpenCyphal-Garage/cy)

We also have a new Python implementation if you’re interested: [GitHub - OpenCyphal/pycyphal: Python implementation of the Cyphal protocol stack. · GitHub](https://github.com/OpenCyphal/pycyphal)

This is all marked as a work in progress but it is approaching the point where one could call it reasonably stable. Additional context here: [V1.1 early draft preview by pavel-kirienko · Pull Request #151 · OpenCyphal/specification · GitHub](https://github.com/OpenCyphal/specification/pull/151)
