19 Aug 2019

MICA Container Development Video Tutorial

HARTING’s Edge Computer MICA® is a pioneer in virtualization for embedded devices and compact IoT gateways. On a very slim base system, the system uses Linux containers to virtualize applications on a field device. Each application can be isolated and encapsulated in its own container. Since MICA is designed as an open source IoT device, containers can be configured or developed by the user.

In a video tutorial, the MICA development team shows the individual facets of container development. The tutorial in English is a basic training for container development by users. The entire tutorial is built as a playlist of individual chapters; This makes it possible to selectively select individual modules.

10 Steps (Chapters) to develop your own MICA Container

  1. Introduction
    A quick overview of the MICA system architecture and the busybox and Debian development containers.
  2. hosts and resolv.conf entries
    Every MICA container has its own network settings. This video shows how to configure the container network settings and how to authenticate the container with the MICA single sign on service.
  3. Helper Libraries
    For C and C++ developers, HARTING provides some helper libraries that facilitate making calls to the JSON RPC interface. This video shows how to integrate them into your projects and how to work with JSON RPC calls.
  4. README
    Even the most intuitive software needs documentation. This video demonstrates how to create an online help file for MICA containers using Markdown.
  5. Diagnosis Container
    In this video we demonstrate how the MICA container lifecycle works by building a container that starts, monitors, and shuts down another container.
  6. Additional Network Container
    This video demonstrates how to get information about a container and reconfigure it by adding an additional network interface to a container.
  7. Get State JRPC
    This video demonstrates how to get information about a container and reconfigure it using the micarpc libray.
  8. Configure Callback Script
    In this video we demonstrate how to use callback functions to interactively pass parameters to a script running inside a container.
  9. Frontend Development
    MICA user interfaces use a mix of Javascript, CSS and HTML. This video shows you how to edit the web UI using the Mozilla code inspector and how to add and connect new UI controls.
  10. Cross Compile
    The last video in this playlist guides you through cross compiling C++ code for the MICA from a PC using the gcc-linareo toolchain.

You can find the complete MICA Container Development Tutorial Playlist here on YouTube…