Kaa releases
Shortcuts
Skip to end of metadata
Go to start of metadata

This guide explains how to build applications for QNX Neutrino RTOS 6.6 based on the Kaa C endpoint SDK (further, the C SDK). 

NOTE: The further instructions are expected to be executed on the host machine.

Host OS: Ubuntu 14.04 LTS 64-bit.

Target OS: QNX Neutrino RTOS 6.6.

Installing QNX® Software Development Platform

To install QNX Software Development Platform (SDP), proceed as follows:

  1. Register as a developer and download the following components:
  2. Install SDPNote: It is recommended to install SDP in the default directory (for Linux platforms, it is /opt/qnx660).
  3. Install Apply Patch and Header Files Patch.

Configuring the environment

  1. Set the path to the root directory of SDP.

    Default: /opt/qnx660


  2. Set the target architecture.


    Supported architectures:

    • gcc_ntoarmv7le_cpp-ne
    • gcc_ntox86_cpp-ne
    • gcc_ntox86_gpp
    • gcc_ntoarmv7le
    • gcc_ntox86
    • gcc_ntoarmv7le_cpp
    • gcc_ntoarmv7le_gpp
    • gcc_ntox86_cpp

    Default: gcc_ntox86


  3. Set paths to host and target SDP files.

Installing third-party components for C SDK

The following third-party components must be installed before building the C SDK.

To install these libraries, proceed as follows:

  1. Set the path to the directory where third-party dependencies will be put after build.

  2. Install OpenSSL.

Creating applications based on C SDK

Building C SDK

Before creating applications based on the C SDK, you should obtain the C SDK and build it into a static library. To do so, generate the C SDK in Admin UI, then extract the archive, cd to it and execute the following steps:

For more details on building the C SDK for Linux, please refer to this page.

Example

To quickly start with the Kaa IoT platform, you can download one of Kaa demo applications from the Kaa Sandbox and run it on on a target machine with QNX Neutrino RTOS.
For this example, you need to download the notification demo from the Kaa Sandbox to your host machine. Build it and export an executable file to the target machine. Then run the demo, as follows

  1. Build the demo.

    Host
  2. Export the executable file to the target machine.

    Host
  3. Run the demo.

    Target

If the build is successful you will see the following output on the target terminal:


Copyright © 2014-2015, CyberVision, Inc.

  • No labels