Get Started with IoTivity Interactions on the ARTIK10 and Tizen

A curious mind recently asked me to share materials about the OCF SmartHome demo, or perhaps I should call it the “Minimalist Smart Switch” instead. The demo was displayed at the Embedded Linux Conference in Berlin, and featured IoTivity running on an ARTIK10 SoC that connected to a Tizen Gear S2 Smartwatch; both run Tizen OS.

Get Started with IoTivity Interactions on the ARTIK10 and Tizen - ocf

You will find more technical details in the following slide deck.

Install Tizen and IoTivity

If you want to run it this demo, you can download the system image and uncompress the archive directly to the SD card using QEMU tools.

lsblk # will list all your disks
disk=/dev/sdTODO # update with your disk id
sudo qemu-img convert -p "${file}" "${disk}"

Once this is completed, insert the SD card into the ARTIK10 and turn it on; it will boot Tizen and launch the IoTivity server. For more information about this, check out the previous blog posts about booting tizen on ARTIK and building software for Tizen OS. These will show you how to rebuild the latest version of IoTivity from scratch.

Of course, this can be adapted to other hardware like the ARTIK5 and maybe the ARTIK7 too, it would be a good idea to bookmark this page as a reference for Tizen on ARTIK. If you run into issues, feel free to ask about them in the ARTIK forums.

Note, You can also do it again on Yocto OS using meta-artik too, but using Tizen will save you the time and resources to rebuild everything.

Setup the Tizen Clients

For IoTivity clients on mobile devices, like the Samsung Z1, or smartwatches, such as the Samsung GearS2, the clients need a little preparation. Most of it’s documented in the Tizen page on the IoTivity wiki. I will also be personally available to assist developers at next the Tizen community meeting (2016-11-28 09h@UTC), which has more details on the Wiki’s Meeting page.

What’s Next for Tizen and IoTivity?

Micro-controllers have recently been a focus of some of my work. I shared some hints are shared in the following presentation “From Arduino Microcontrollers to Tizen using IoTivity” which I presented at IoT With the Best 2016.

Others at the Samsung Open Source Group have worked on more constrained devices by bridging different technologies together, including JerryScript, 6LoWPAN, and more. This was demonstrated at the recent Samsung Open Source Conference .

One likely challenge for ARTIK0 owners will be running iotivity-constrained on operating systems Iotivity supports, such as RIOT, Zephyr, and Tizen RT. If you’re one of these people, please keep us updated in the Tizen IRC channel, or the mailing lists!

Get Started with IoTivity Interactions on the ARTIK10 and Tizen - lfelc

Thanks to Luis De Bethencourt for helping me with the pictures of the Gear S2 on my wrist :-)

Author: Phil Coval

Philippe is committed to free software and open hardware and is deeply involved in the Tizen and IoTivity communities.

4 thoughts on “Get Started with IoTivity Interactions on the ARTIK10 and Tizen”

  1. Hello Mr. Coval. My name is Junyoung Jung.
    And I’m a Computer Engineering Student for Kyung Hee Univ. in Korea
    I do following your posts on Samsung Open Source Group, “Get Started with IoTivity Interactions on the ARTIK10 and Tizen” and “How to Boot Tizen on ARTIK”
    I really thank you about these posts.
    But I have a problem.
    You posted about this…

    ARTIK10 # version
    U-Boot (Jun 20 2016 – 15:27:02) for ARTIK10
    gcc (Tizen/Linaro GCC 4.9.2 2015.02) 4.9.2
    GNU ld (GNU Binutils) 2.25.0 Linaro 2015_01-2
    ARTIK10 # env default -f ;
    ARTIK10 # set rootdev 1 ; set rootpart 3 ; boot

    However, my ARTIK10 didn’t boot.
    ARTIK10 prints about this…

    ARTIK10 # boot
    reading zImage
    5339682 bytes read in 106097 ms (48.8 KiB/s)
    reading exynos5422-artik10.dtb
    69754 bytes read in 123002 ms (0 Bytes/s)
    reading uInitrd
    1353683 bytes read in 27736 ms (46.9 KiB/s)
    ## Loading init Ramdisk from Legacy Image at 43000000 …
    Bad Header Checksum
    Ramdisk image is corrupt or invalid

    How can I boot ARTIK10 on Tizen?
    Can you help me?

  2. Hi, Mr Coval.
    The artik10 has many RF supported, I guess you enable the bluetooth to connnect to the gear s2.
    My question is that is it possible to use the iovitity to act as a “IoT hub”, to manage all the connections such as ble, wifi and zigbee in artik10? do you have such ideas?
    Thank you.

Comments are closed.