The main object of this module is to provide the C++ zenoh based uTransport
IMPORTANT NOTE: This project is under active development
This module contains the implementation for pub-sub and RPC API`s defined in the uProtocol spec
- Compiler: GCC/G++ 11 or Clang 13
- Ubuntu 22.04
- conan : 1.59 or latest 2.X
- install up-cpp library https://github.com/eclipse-uprotocol/up-cpp
- install zenoh-c , using the following instructions https://github.com/eclipse-zenoh/zenoh-c/tree/master
$ git clone https://github.com/eclipse-uprotocol/up-client-zenoh-cpp.git
To add up-client-zenoh-cpp to your conan build dependencies, simply add the following to your conanfile.txt:
[requires]
up-cpp-client-zenoh/0.1
protobuf/3.21.12
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
NOTE: If using conan version 1.59 Ensure that the conan profile is configured to use ABI 11 (libstdc++11: New ABI.) standards according to https://docs.conan.io/en/1.60/howtos/manage_gcc_abi.html
$ cd up-cpp-client-zenoh
$ mkdir build
$ cd build
$ conan install ../
$ cmake ../ -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
$ cmake --build . --config Release -- -j
$ cd up-cpp-client-zenoh
$ conan create .
Give a ⭐️ if this project helped you!