MeowLucian / OM2M_tutorials

:globe_with_meridians: IOT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OM2M_tutorials

OM2M tools for IOT(Internet Of Things).

This example is using OM2M to implement getting the phone's gps and transmitting to server.

OM2M_01


Virtual Environment Hardware setting

Open VMware as administer

  • CPU core
  • Memory
  • Bridge network

bridge_01

Edit -> Virtual Network Editor

bridge_02

Ubuntu OS setting

  • All settings -> Displays -> 1440 x 900

VMware tools installation

Copy VMware Tools 10.1.15-6627299.tar.gz to Desktop

cd /home
cd iotclass
cd Desktop
tar zxvf VMware-Tools-10.1.15-6627299.tar.gz
cd vmware-tools-distrib
sudo su -c ./vmware-install.pl
yes

Start OM2M IN-CSE

cd org.eclipse.om2m/org.eclipse.om2m.site.in-cse/target/products/in-cse/linux/gtk/x86_64
sh start.sh

Start OM2M MN-CSE

Open new terminal window

cd org.eclipse.om2m/org.eclipse.om2m.site.mn-cse/target/products/mn-cse/linux/gtk/x86_64
sh start.sh

OM2M Resource Tree Tool

http://localhost:8080/webpage

username: admin

password: admin

webpage_01

webpage_02

Start Node-red

Open new terminal window

sudo node-red

password: iotclass

http://127.0.0.1:1880/

  • Grid

setting_01

  • MN-CSE Flow

node_red_01

  • IN-CSE Flow

node_red_02

  • Export

setting_02

  • Deploy MN-CSE

webpage_03

  • Deploy IN-CSE

webpage_04

  • Postman Post

postman_01

webpage_05

  • Web locations check

http://localhost:1880/locations

locations_check

  • Xml file check

xml_check

About

:globe_with_meridians: IOT