C++
You can integrate the Ditto SDK into C++ projects to develop for Linux and iOS platforms.
For a complete overview of the platforms, transports, and devices the C# SDK supports, select C++ from the Directory of Compatibility Maps.
For the API reference, see Ditto 4.7.1 API Reference Documentation.
To install the C++ SDK:
Fetch and extract the Ditto package. (Downloading and Unpacking Ditto)
Configure your app to link to the Ditto static library. (Linking to Ditto)
Download Ditto.tar.gz and unpack an archive containing the libditto.a static library and Ditto header:
Add -lditto as a compilation step in the main.cpp source file:
For instructions on adding cross-platform Bluetooth Low Energy (LE) capabilities, see Bluetooth on Linux.
BlueZ is the official Bluetooth protocol stack implementation for Linux systems to communicate with other Bluetooth-enabled platforms.
From the source code of your app, using #include <Ditto.h>, import Ditto and provide your access credentials: