summaryrefslogtreecommitdiff
path: root/res/device_def.json
diff options
context:
space:
mode:
Diffstat (limited to 'res/device_def.json')
-rw-r--r--res/device_def.json119
1 files changed, 0 insertions, 119 deletions
diff --git a/res/device_def.json b/res/device_def.json
deleted file mode 100644
index c2eb821..0000000
--- a/res/device_def.json
+++ /dev/null
@@ -1,119 +0,0 @@
-{
- "device": [
- {
- "specification": {
- "device": {
- "deviceType": "x.wwst.d.basic",
- "deviceName": "distance",
- "specVersion": "core.1.1.0",
- "dataModelVersion": "res.1.1.0"
- },
- "platform": {
- "manufacturerName": "*** YOUR DEVICE NAME ***",
- "manufacturerUrl": "http://www.samsung.com/sec/",
- "manufacturingDate": "2017-11-29",
- "modelNumber": "DIST-01",
- "platformVersion": "1.0",
- "osVersion": "1.0",
- "hardwareVersion": "1.0",
- "firmwareVersion": "1.0",
- "vendorId": "*** YOUR VENDOR ID ***"
- }
- },
- "resources": {
- "single": [
- {
- "uri": "/capability/presenceSensor/main/0",
- "types": [
- "oic.r.sensor.presence"
- ],
- "interfaces": [
- "oic.if.s",
- "oic.if.baseline"
- ],
- "policy": 3
- },
- {
- "uri": "/capability/switch/main/0",
- "types": [
- "x.com.st.powerswitch"
- ],
- "interfaces": [
- "oic.if.a",
- "oic.if.baseline"
- ],
- "policy": 3
- },
- {
- "uri": "/capability/illuminanceMeasurement/main/0",
- "types": [
- "oic.r.sensor.illuminance"
- ],
- "interfaces": [
- "oic.if.s",
- "oic.if.baseline"
- ],
- "policy": 3
- }
- ]
- }
- }
- ],
- "resourceTypes": [
- {
- "type": "oic.r.sensor.presence",
- "properties": [
- {
- "key": "value",
- "type": 0,
- "mandatory": false,
- "rw": 1
- }
- ]
- },
- {
- "type": "x.com.st.powerswitch",
- "properties": [
- {
- "key": "power",
- "type": 3,
- "mandatory": true,
- "rw": 3
- }
- ]
- },
- {
- "type": "oic.r.sensor.illuminance",
- "properties": [
- {
- "key": "illuminance",
- "type": 2,
- "mandatory": true,
- "rw": 1
- }
- ]
- }
- ],
- "configuration": {
- "easySetup": {
- "connectivity": {
- "type": 1,
- "softAP": {
- "setupId": "001",
- "artik": false
- }
- },
- "ownershipTransferMethod": 2
- },
- "wifi": {
- "interfaces": 15,
- "frequency": 1
- },
- "filePath": {
- "svrdb": "artikserversecured.dat",
- "provisioning": "provisioning.dat",
- "certificate": "certificate.pem",
- "privateKey": "privatekey.der"
- }
- }
-} \ No newline at end of file