From 810e6027feca62865386f90b3ef433bf6e747351 Mon Sep 17 00:00:00 2001 From: scott park Date: Fri, 18 Jan 2019 14:49:58 +0900 Subject: tizen 5.0 update Change-Id: I3719f36057dbb2c8983e7248940f95aa905eca15 Signed-off-by: scott park --- shared/res/illuminance.png | Bin 57662 -> 0 bytes shared/res/master.json | 18 ++++++++++++++++ shared/res/resource.json | 52 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) delete mode 100644 shared/res/illuminance.png create mode 100644 shared/res/master.json create mode 100644 shared/res/resource.json (limited to 'shared') diff --git a/shared/res/illuminance.png b/shared/res/illuminance.png deleted file mode 100644 index 9765b1b..0000000 Binary files a/shared/res/illuminance.png and /dev/null differ diff --git a/shared/res/master.json b/shared/res/master.json new file mode 100644 index 0000000..4ec9a65 --- /dev/null +++ b/shared/res/master.json @@ -0,0 +1,18 @@ +{ + "devices": [ + { + "deviceType": "x.wwst.d.basic", + "deviceName": "*** YOUR DEVICE NAME ***", + "mnid": "*** YOUR NMID ***", + "vid": "*** YOUR VENDOR ID ***" + } + ], + "configuration": { + "easySetup": { + "mode": 1, + "setupId": "*** YOUR SETUP ID ***" + }, + "otm": 2, + "crtType": 1 + } +} \ No newline at end of file diff --git a/shared/res/resource.json b/shared/res/resource.json new file mode 100644 index 0000000..1a4eda9 --- /dev/null +++ b/shared/res/resource.json @@ -0,0 +1,52 @@ +{ + "resources": { + "single": [ + { + "uri": "/capability/switch/main/0", + "types": [ + "x.com.st.powerswitch" + ], + "interfaces": [ + "oic.if.a", + "oic.if.baseline" + ] + }, + { + "uri": "/capability/illuminanceMeasurement/main/0", + "types": [ + "oic.r.sensor.illuminance" + ], + "interfaces": [ + "oic.if.s", + "oic.if.baseline" + ] + } + ] + }, + "resourceTypes": [ + { + "type": "x.com.st.powerswitch", + "properties": [ + { + "key": "power", + "type": "string", + "readOnly": 3, + "mandatory": true, + "isArray": false + } + ] + }, + { + "type": "oic.r.sensor.illuminance", + "properties": [ + { + "key": "illuminance", + "type": "double", + "readOnly": 1, + "mandatory": true, + "isArray": false + } + ] + } + ] +} \ No newline at end of file -- cgit v1.2.3