This repository contains code of Veides SDK for C language. It allows C developers to easily connect and interact with Veides platform.
Jump to:
- OpenSSL development package
- CMake 3.5.0 or later
- libcurl
- Paho MQTT C - optionally built and installed by this library
VEIDES_WITH_STREAM_HUB_CLIENT
- Include building of Stream Hub client library. Default:ON
VEIDES_WITH_API_CLIENT
- Include building of API client library. Default:ON
VEIDES_BUILD_DEPENDENCIES
- Either build dependent libraries or use system libraries. Default:OFF
VEIDES_INSTALL_DEPENDENCIES
- Whether dependencies should be installed in the system or not. Default:OFF
VEIDES_BUILD_TESTS
- Set to ON to build the tests. Default:OFF
VEIDES_BUILD_SAMPLES
- To build samples or not to build. Default:ON
You can pass above configuration settings as command line options, for example to enable building dependencies and tests:
cmake .. -DVEIDES_BUILD_DEPENDENCIES=ON -DVEIDES_BUILD_TESTS=ON
To build Veides SDk from source, follow steps below:
git clone https://github.com/Veides/veides-sdk-c.git
cd veides-sdk-c
mkdir build && cd build
# Pass configuration settings if needed
cmake ..
make
When library is built, you can install Veides SDK with:
sudo make install
To uninstall Veides SDK:
sudo make uninstall
NOTE: If
VEIDES_INSTALL_DEPENDENCIES
option is set toON
, dependencies will automatically be installed by CMake after they're built.
- SSL/TLS: By default, this library uses encrypted connection
- Auto Reconnection: Client support automatic reconnect to Veides Stream Hub in case of a network issue
- Methods operations: Use your application to invoke methods on agent