Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cumulocity-iot/cumulocity-sdk-c
Cumulocity C++ Library is an asynchronous, event-driven networking library to ease your development for connecting to the Cumulocity cloud. The library uses Cumulocity's self invented SmartREST protocol for M2M communication which targets any device that are capable of running embedded Linux.
https://github.com/cumulocity-iot/cumulocity-sdk-c
client cplusplus cumulocity-client cumulocity-iot iot-analytics
Last synced: 21 days ago
JSON representation
Cumulocity C++ Library is an asynchronous, event-driven networking library to ease your development for connecting to the Cumulocity cloud. The library uses Cumulocity's self invented SmartREST protocol for M2M communication which targets any device that are capable of running embedded Linux.
- Host: GitHub
- URL: https://github.com/cumulocity-iot/cumulocity-sdk-c
- Owner: Cumulocity-IoT
- License: mit
- Created: 2021-06-23T11:46:02.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-08T13:00:07.000Z (over 3 years ago)
- Last Synced: 2024-12-20T17:16:28.871Z (21 days ago)
- Topics: client, cplusplus, cumulocity-client, cumulocity-iot, iot-analytics
- Language: C++
- Homepage:
- Size: 3.35 MB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Cumulocity C++ Library #
Cumulocity C++ Library is an asynchronous, event-driven networking library to ease your development for connecting to the Cumulocity cloud. The library uses Cumulocity's self invented SmartREST protocol for M2M communication which targets any device that are capable of running embedded Linux.
### Prerequisites ###
* *C++ 11*
* *Linux* >= 2.6.32
* *libcurl* >= 7.57.0
* *Lua* >= 5.1 (optional, for Lua support)### How to build the library? ###
* Download the source code:
```
#!bashgit clone [email protected]:m2m/cumulocity-sdk-c.git
```* Pull in all sub-module dependencies.
```
#!bash
git submodule init
git submodule update
```* Define your init.mk with device specific CPPFLAGS, CXXFLAGS, LDFLAGS, LDLIBS (see common.mk for reference), and CXX if cross compiling.
* Copy the template *Makefile*:```
#!bashcp Makefile.template Makefile
```* Customize the *Makefile* to your needs.
* Build the library in *debug* mode:```
#!bashmake
```* Starts developing your Cumulocity agent and link it to the library with **-lsera**.
* Build the library in *release* mode for production release:```
#!bashmake release
```### FAQ ###
* I encountered an error when building the library.
Try removing all intermediate build files first and start a new clean build:```
#!bashmake clean
```
* How can I enable *Lua* support when building the library?
*Lua* support is disabled by default, to enable *Lua* support, add:```
#!bashSR_PLUGIN_LUA:=1
```
to your init.mk.* How can I contact Cumulocity in case I have questions?
You can reach us by email at Software AG Cumulocity IoT