summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorscott park <scott.park@dignsys.com>2019-01-18 14:49:58 +0900
committerscott park <scott.park@dignsys.com>2019-01-18 15:13:59 +0900
commit810e6027feca62865386f90b3ef433bf6e747351 (patch)
tree111e5717d9ceaca0b79e177f15d5063aa423f697 /shared
parent073f5f70a5abda4500d8ca52aff0377ffce1dd00 (diff)
downloadilluminance-sensor-master.tar.gz
illuminance-sensor-master.tar.bz2
illuminance-sensor-master.zip
tizen 5.0 updateHEADmaster
Change-Id: I3719f36057dbb2c8983e7248940f95aa905eca15 Signed-off-by: scott park <scott.park@dignsys.com>
Diffstat (limited to 'shared')
-rw-r--r--shared/res/illuminance.pngbin57662 -> 0 bytes
-rw-r--r--shared/res/master.json18
-rw-r--r--shared/res/resource.json52
3 files changed, 70 insertions, 0 deletions
diff --git a/shared/res/illuminance.png b/shared/res/illuminance.png
deleted file mode 100644
index 9765b1b..0000000
--- a/shared/res/illuminance.png
+++ /dev/null
Binary files 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