Skip to content

IoTKETI/nCube-Thyme-Android

Repository files navigation

&Cube-Thyme for Android

Introduction

&Cube-Thyme is an open source IoT device application entity based on the oneM2M (http://www.oneM2M.org) standard. &Cube-Thyme consists of three versions: Node.js version, Java version and Android version.

Connectivity stucture

&Cube-Thyme implementation of oneM2M ADN-AE can be connected to MN-CSE or IN-CSE.

Developement Environment

&Cube-Thyme for Android is written in Java targeting Android application.


- [Android Studio] Download and install Android Studio from the URL.(https://developer.android.com/studio/index.html)

Configuration

  • Open the &Cube-Thyme for Android project
  • Modify default configuration file "nCubeSetting.java" per your setting
{
    "useprotocol": "http",
    "cse": {
        "cbhost": "203.253.128.161",    //CSE host IP
        "cbport": "7579",               //CSE http hosting port
        "cbname": "Mobius",
        "cbcseid": "/Mobius",
        "mqttport": "1883"              //CSE mqtt broaker port
    },
    "ae": {
        "aeid": "S",
        "appid": "0.2.481.1.1",
        "appname": "ae-test1",          //AE name
        "appport": "9727",
        "bodytype": "xml",
        "tasport": "3105"
    },
    "cnt": [
        {
            "parentpath": "/ae-test1",
            "ctname": "cnt-co2"
        },
        {
            "parentpath": "/ae-test1",
            "ctname": "cnt-led"
        }
    ],
    "sub": [
        {
            "parentpath": "/ae-test1/cnt-led",
            "subname": "sub-ctrl",
            "nu": "mqtt://AUTOSET"
        }
    ]

Dependency External Libraries

This is the list of external library dependencies for &Cube:Thyme Android

  • org.json
  • org.apache.http
  • org.eclipse.paho.client.mqttv3

Document

If you want more details please dowload the full installation guide document.

Author

Nak-Myoung Sung (nmsung@keti.re.kr; diesnm201@gmail.com)

Releases

No releases published

Packages

No packages published

Languages