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)

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.