remove personal info from device_def.json
[apps/native/st-things-co2-meter.git] / res / device_def.json
1 {
2   "device": [
3     {
4       "specification": {
5         "device": {
6           "deviceType": "x.wwst.d.basic",
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://",
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": "!!!YOUR_VENDOR_ID!!!"
21         }
22       },
23       "resources": {
24         "single": [
25           {
26             "uri": "/capability/airQualitySensor/main/0",
27             "types": [
28               "x.com.st.airqualitylevel"
29             ],
30             "interfaces": [
31               "oic.if.s",
32               "oic.if.baseline"
33             ],
34             "policy": 3
35           }
36         ]
37       }
38     }
39   ],
40   "resourceTypes": [
41     {
42       "type": "x.com.st.airqualitylevel",
43       "properties": [
44         {
45           "key": "airQuality",
46           "type": 2,
47           "mandatory": true,
48           "rw": 1
49         },
50         {
51           "key": "range",
52           "type": 7,
53           "mandatory": true,
54           "rw": 1
55         }
56       ]
57     }
58   ],
59   "configuration": {
60     "easySetup": {
61       "connectivity": {
62         "type": 1,
63         "softAP": {
64           "setupId": "!!!YOUR_ONBOARDING_ID!!!",
65           "artik": false
66         }
67       },
68       "ownershipTransferMethod": 2
69     },
70     "wifi": {
71       "interfaces": 15,
72       "frequency": 1
73     },
74     "filePath": {
75       "svrdb": "artikserversecured.dat",
76       "provisioning": "provisioning.dat",
77       "certificate": "certificate.pem",
78       "privateKey": "privatekey.der"
79     }
80   }
81 }