Kaa client C SDK
|
To build the Kaa C SDK, do the following:
Specific build options are described in the README and in the official online documentation.
If you use GNU Compiler, add the linker flag -lkaac to link against a dynamic library or -lkaac_s to link against a static library.
Before building a user application with the Kaa library, the developer must implement the following functions in the user-space code:
Next, the kaa_context_t
instance should be created:
To communicate with Kaa servers, at least one transport channel must be added for both Bootstrap server and Operations server.
You may use the reference implementation (kaa_tcp_channel_create) or provide your own channel (for more details see kaa_transport_channel_interface_t
):
To finish the Kaa C SDK initialization, execute the following command:
For more information about functions supported by the Kaa C SDK, see our Programming guide:
To better familiarize yourself with Kaa C SDK, you may look at our demo application.
Find the demo source code in the 'example' directory located in the root of the Kaa project.