Show Contents

# Set up your project for Cloud Connector

To work with this API, you must:

1. Include the cloudconnector.h header file in your application source code:

>     #include <cloudconnector.h>

2. Link against the Cloud Connector static library, which is already included in the precompiled toolchain. See Application development.

> The library provides a pkg-config file, cloudconnector.pc, installed in the toolchain. To configure the proper compilation flags and linked libraries, add the following lines in your makefile:

>     [...]

>     CFLAGS += $(shell pkg-config --cflags cloudconnector)
>     LDLIBS += $(shell pkg-config --libs --static cloudconnector)

>     [...]

Note Only one connection from the device to Remote Manager can be established at the same time. This means the device can only be running one application that is managing the connection to Remote Manager.

The Cloud Connector API includes other features that allow you to perform the following actions:

- Start Cloud Connector
- Receive data from Remote Manager
- Send data to Remote Manager

© 2018 Digi International Inc. All rights reserved.
Set up your project for Cloud Connector updated on 22 January 2018 02:43:38 PM