Skip to main content
Version: 5.0

Getting Started

About Release v5

When using the Demo Examples, make sure that you are in the right repository on Acklio's GitLab!

Select "Release" in the drop-down list!

Tag release

About the Demo Examples

Ubuntu

The Demo examples to deploy on the device (i.e. the board) as well as Acklio IPCore and Acklio VPN Agent run in a Linux environment (Ubuntu 20.04).

Our Demo examples aim to demonstrate how Acklio Software help the communication between heterogeneous protocols and create a bridge between IoT and IP worlds for fluid data exchange.

With these examples, you will be able to demonstrate locally (possibly on the same computer running Linux) how Acklio FullSDK empowers the device to communicate with Cloud applications.

  • Use cases 1 and 3 use AT Modem binary application integrating Acklio FullSDK library.
  • Use case 2 is a reference design for integrating Acklio FullSDK library in an STMicroelectronics environment using FreeRTOS.
Demo Purposes

Start by reading the Demo Purpose page of each example to get:

  • Context on the use case, each example illustrating a different LoRa stack;
  • A diagram to visualize the data exchange;
  • Recommendations on hardware and software requirements;
  • And a detailed view to the functioning of the Demo.

Prerequisites

As the Demo examples are running over LoRa, a LoRa Network Server (LNS) must be configured first.

Acklio IPcore supports many LNS:

  • For the Demo purpose, we suggest to use The Things Stack and follow the configuration steps here.
  • You can also use Actility LNS and get help for the configuration here
  • If you are very familiar with Linux, you can configure a Chirpstack LNS.

Quick View on the Demo Steps

Below is the general process you should follow to use the Demo examples, from repository to logs.

For a detailed process for each Demo, see:

1️⃣ Generic Steps

Start with the configuration of the flow in Acklio IPCore.

StepAction
ACreate the destination of the flow: configure the IP network, then download and set up Acklio VPN agent.
BSelect your LNS connector and bind it to your LNS to create the source of the flow.
CActivate SCHC at both sides of the flow: select a SCHC template, then configure the device profile.
DProvision the device, then check and save to finalize the configuration of the flow.

2️⃣ Specific Step: Build & Flash

The "build & flash" step depends on the use case.

Use CaseProcessAdditional
UDP ClientRead the AT Modem Firmware pageRead the AT Commands page
FreeRTOS Client ServerRead the Expansion Package for STM32 page
DLMS using GuruxRead the AT Modem Firmware pageRead the AT Commands page

3️⃣ Other Specific Steps

Now go through the last specific steps. They are performed on the device, simulated by a board.

StepAction
EAdd the IP address of the application to the interface and enables IPv6 forwarding.
Fa. Run the Demo example.
b. Observe and test the way device and Cloud are addressed.
c. Observe the device synchronization and the end-to-end exchange of packets between the device and the destination application.

How to Clone the Project Repositories

Recover the project locally by cloning it from GitLab. There are two ways to clone a repository, as detailed hereinafter.

Go to the root of the repository and select a project. The illustration below shows the project for Use Case 3 "DLMS using Gurux".

Git Clone

This table lists the three available Demo use cases and the corresponding repositories on Acklio's GitLab.

Use CaseProject on GitLab
UDP ClientOpen the repository 🔗
FreeRTOS UDP Client ServerOpen the repository 🔗
DLMS using GuruxOpen the repository 🔗

Open the email received from Acklio which contains your credentials.

Credit: docs.gitlab

Clone with HTTPS when you want to authenticate each time you perform an operation between your computer and GitLab.

  1. Go to your project’s landing page and select Clone. Copy the URL for Clone with HTTPS.
  2. Open a terminal and go to the directory where you want to clone the files.
  3. Run the following command. Git automatically creates a folder with the repository name and downloads the files there.
git clone https://gitlab.com/gitlab-tests/sample-project.git
  1. GitLab requests your username and password:
    • If you have 2FA enabled for your account, you must use a Personal Access Token with read_repository or write_repository permissions instead of your account’s password.
    • If you don’t have 2FA enabled, use your account’s password.
  2. To view the files, go to the new directory:
cd sample-project

Clone with SSH

Credit: docs.gitlab

Clone with SSH when you want to authenticate only one time. This requires a dedicated SSH key.

  1. Authenticate with GitLab by following the instructions in the SSH documentation.
  2. Go to your project’s landing page and select Clone. Copy the URL for Clone with SSH.
  3. Open a terminal and go to the directory where you want to clone the files. Git automatically creates a folder with the repository name and downloads the files there.
  4. Run this command:
git clone git@gitlab.com:gitlab-tests/sample-project.git
  1. To view the files, go to the new directory:
cd sample-project