8e118035f1dd40c6adb7a57e0fa91bda3fe8d2b2
[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": "*** YOUR DEVICE NAME ***",
8           "specVersion": "core.1.1.0",
9           "dataModelVersion": "res.1.1.0"
10         },
11         "platform": {
12           "manufacturerName": "*** YOUR MNID ***",
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": "*** YOUR VENDOR ID ***"
21         }
22       },
23       "resources": {
24         "single": [
25           {
26             "uri": "/capability/illuminanceMeasurement/main/0",
27             "types": [
28               "oic.r.sensor.illuminance"
29             ],
30             "interfaces": [
31               "oic.if.s",
32               "oic.if.baseline"
33             ],
34             "policy": 3
35           },
36           {
37             "uri": "/capability/doorControl/main/0",
38             "types": [
39               "x.com.st.doorcontrol"
40             ],
41             "interfaces": [
42               "oic.if.baseline",
43               "oic.if.a"
44             ],
45             "policy": 3
46           }
47         ]
48       }
49     }
50   ],
51   "resourceTypes": [
52     {
53       "type": "oic.r.sensor.illuminance",
54       "properties": [
55         {
56           "key": "illuminance",
57           "type": 2,
58           "mandatory": true,
59           "rw": 1
60         }
61       ]
62     },
63     {
64       "type": "x.com.st.doorcontrol",
65       "properties": [
66         {
67           "key": "doorState",
68           "type": 3,
69           "mandatory": true,
70           "rw": 3
71         }
72       ]
73     }
74   ],
75   "configuration": {
76     "easySetup": {
77       "connectivity": {
78         "type": 1,
79         "softAP": {
80           "setupId": "*** YOUR SETUPID ***",
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 }