mindsphere / mindconnect-MCL-C-agent

Agent in C language based on Mindconnect Library V4. By cloning or downloading this repository, you accept the MindSphere Development License Agreement, which you can read by following the link https://developer.mindsphere.io/license.html. You can find documentation in https://developer.mindsphere.io/resources…

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agent for MindSphere based on Mindconnect Library V4 and written in C
Compiled and tested on Raspberry Pi V4 with Raspbian Buster.

Principle: Raw Values are coming from data sources (sensors) that are obtained by data acqisition scripts written in python. The data are written in a file interface. 
The agent reads cyclically the file interface and transfers the data to mindsphere.
Using the file interface you can connect any possible data source like proprietary protocols or OPC or whatever ... 
How to write in the file interface see the documentation or check the python scripts attached.
The agent is reading a config file on start , containing all required informations like tenant name , certifcates etc...

Basic description based on the usage on the RPi see "RPi Demo Case Instructions V4.2.docx"

Used IDE : CodeBlocks 17.12 ( V20 may also work ...?)
http://www.codeblocks.org/downloads/5

Required Libraries:

Mindconnect Libraries with dependant libs like CURL , OpenSSL
on Github : 
https://github.com/mindsphere/mindconnect-lib
via MindSphere.io
https://developer.mindsphere.io/resources/mindconnect-lib-v4/resources-mclib-overview.html

Libconfig for reading and writing the Config file:
https://hyperrealm.github.io/libconfig/

Any questions ? 
Horst.Rieger@Siemens.Com

About

Agent in C language based on Mindconnect Library V4. By cloning or downloading this repository, you accept the MindSphere Development License Agreement, which you can read by following the link https://developer.mindsphere.io/license.html. You can find documentation in https://developer.mindsphere.io/resources…

License:Other


Languages

Language:C 86.8%Language:Python 13.2%