X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=shared%2Fres%2Fresource.json;h=14d7ba565b37130038b0bbba46ef99b33c6d26c9;hb=e1fb5d830cf84b2926571421e2cfe4df45bbb2c7;hp=86e26f9e3c1d304011fb5fdbef7ddf677365208c;hpb=2a04482c9b50f90cef6b6be7d988cbd7e4ed0170;p=apps%2Fnative%2Fst-things-light.git diff --git a/shared/res/resource.json b/shared/res/resource.json index 86e26f9..14d7ba5 100644 --- a/shared/res/resource.json +++ b/shared/res/resource.json @@ -2,22 +2,22 @@ "resources": { "single": [ { - "uri": "/capability/switch/main/0", + "uri": "/capability/motionSensor/main/0", "types": [ - "x.com.st.powerswitch" + "oic.r.sensor.motion" ], "interfaces": [ - "oic.if.a", + "oic.if.s", "oic.if.baseline" ] }, { - "uri": "/capability/motionSensor/main/0", + "uri": "/capability/switch/main/0", "types": [ - "oic.r.sensor.motion" + "x.com.st.powerswitch" ], "interfaces": [ - "oic.if.s", + "oic.if.a", "oic.if.baseline" ] } @@ -25,25 +25,25 @@ }, "resourceTypes": [ { - "type": "x.com.st.powerswitch", + "type": "oic.r.sensor.motion", "properties": [ { - "key": "power", - "type": "string", - "readOnly": 3, - "mandatory": true, + "key": "value", + "type": "boolean", + "readOnly": 1, + "mandatory": false, "isArray": false } ] }, { - "type": "oic.r.sensor.motion", + "type": "x.com.st.powerswitch", "properties": [ { - "key": "value", - "type": "boolean", - "readOnly": 1, - "mandatory": false, + "key": "power", + "type": "string", + "readOnly": 3, + "mandatory": true, "isArray": false } ]