Replace CRLF to LF
[apps/native/co2-meter.git] / res / device_def.json
1 {
2   "device": [
3     {
4       "specification": {
5         "device": {
6           "deviceType": "x.wwst.d.basic",
7           "deviceName": "co2sensor",
8           "specVersion": "core.1.1.0",
9           "dataModelVersion": "res.1.1.0"
10         },
11         "platform": {
12           "manufacturerName": "fC3T",
13           "manufacturerUrl": "http://www.samsung.com/sec/",
14           "manufacturingDate": "2017-11-29",
15           "modelNumber": "NWSP-01",
16           "platformVersion": "1.0",
17           "osVersion": "1.0",
18           "hardwareVersion": "1.0",
19           "firmwareVersion": "1.0",
20           "vendorId": "vid_1001"
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/airQualitySensor/main/0",
38             "types": [
39               "x.com.st.airqualitylevel"
40             ],
41             "interfaces": [
42               "oic.if.s",
43               "oic.if.baseline"
44             ],
45             "policy": 3
46           },
47           {
48             "uri": "/capability/thermostatCoolingSetpoint/main/0",
49             "types": [
50               "x.com.st.temperature.cooling"
51             ],
52             "interfaces": [
53               "oic.if.a",
54               "oic.if.s",
55               "oic.if.baseline"
56             ],
57             "policy": 3
58           }
59         ]
60       }
61     }
62   ],
63   "resourceTypes": [
64     {
65       "type": "x.com.st.powerswitch",
66       "properties": [
67         {
68           "key": "power",
69           "type": 3,
70           "mandatory": true,
71           "rw": 3
72         }
73       ]
74     },
75     {
76       "type": "x.com.st.airqualitylevel",
77       "properties": [
78         {
79           "key": "airQuality",
80           "type": 2,
81           "mandatory": true,
82           "rw": 1
83         },
84         {
85           "key": "range",
86           "type": 7,
87           "mandatory": true,
88           "rw": 1
89         }
90       ]
91     },
92     {
93       "type": "x.com.st.temperature.cooling",
94       "properties": [
95         {
96           "key": "temperature",
97           "type": 2,
98           "mandatory": true,
99           "rw": 3
100         },
101         {
102           "key": "range",
103           "type": 7,
104           "mandatory": true,
105           "rw": 3
106         },
107         {
108           "key": "units",
109           "type": 3,
110           "mandatory": true,
111           "rw": 3
112         }
113       ]
114     }
115   ],
116   "configuration": {
117     "easySetup": {
118       "connectivity": {
119         "type": 1,
120         "softAP": {
121           "setupId": "001",
122           "artik": false
123         }
124       },
125       "ownershipTransferMethod": 2
126     },
127     "wifi": {
128       "interfaces": 15,
129       "frequency": 1
130     },
131     "filePath": {
132       "svrdb": "artikserversecured.dat",
133       "provisioning": "provisioning.dat",
134       "certificate": "certificate.pem",
135       "privateKey": "privatekey.der"
136     }
137   }
138 }