899349163860cf774847adaad35a542e024442e5
[apps/native/st-things-blind.git] / res / device_def.json
1 {
2   "device": [
3     {
4       "specification": {
5         "device": {
6           "deviceType": "oic.d.light",
7           "deviceName": "Smart Blind",
8           "specVersion": "core.1.1.0",
9           "dataModelVersion": "res.1.1.0"
10         },
11         "platform": {
12           "manufacturerName": "fAbr",
13           "manufacturerUrl": "http://www.samsung.com/sec/",
14           "manufacturingDate": "2017-08-31",
15           "modelNumber": "BLIND-01",
16           "platformVersion": "1.0",
17           "osVersion": "1.0",
18           "hardwareVersion": "1.0",
19           "firmwareVersion": "1.0",
20           "vendorId": "TizenVendor"
21         }
22       },
23       "resources": {
24         "single": [
25           {
26             "uri": "/capability/switch/main/0",
27             "types": [
28               "x.com.st.powerswitch"
29             ],
30             "interfaces": [
31               "oic.if.a",
32               "oic.if.baseline"
33             ],
34             "policy": 3
35           },
36           {
37             "uri": "/capability/illuminanceMeasurement/main/0",
38             "types": [
39               "oic.r.sensor.illuminance"
40             ],
41             "interfaces": [
42               "oic.if.s",
43               "oic.if.baseline"
44             ],
45             "policy": 3
46           }
47         ]
48       }
49     }
50   ],
51   "resourceTypes": [
52     {
53       "type": "x.com.st.powerswitch",
54       "properties": [
55         {
56           "key": "power",
57           "type": 3,
58           "mandatory": true,
59           "rw": 3
60         }
61       ]
62     },
63     {
64       "type": "oic.r.sensor.illuminance",
65       "properties": [
66         {
67           "key": "illuminance",
68           "type": 2,
69           "mandatory": true,
70           "rw": 1
71         }
72       ]
73     }
74   ],
75   "configuration": {
76     "easySetup": {
77       "connectivity": {
78         "type": 1,
79         "softAP": {
80           "setupId": "007",
81           "artik": false
82         }
83       },
84       "ownershipTransferMethod": 2
85     },
86     "wifi": {
87       "interfaces": 15,
88       "frequency": 1
89     },
90     "filePath": {
91       "svrdb": "artikserversecured.dat",
92       "provisioning": "provisioning.dat",
93       "certificate": "certificate.pem",
94       "privateKey": "privatekey.der"
95     }
96   }
97 }