forked from edgexfoundry/device-rest-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-2way-rest-device.yaml
99 lines (98 loc) · 2.25 KB
/
sample-2way-rest-device.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
name: "sample-2way-rest-device"
manufacturer: "HCL Corp."
description: "REST Devices that handle two-way comunication"
deviceResources:
- name: json
isHidden: false
description: "Test resource 1 Message"
properties:
valueType: "Object"
readWrite: "RW"
mediaType: "application/json"
- name: device-info
isHidden: false
description: "used to read device Info from the End device"
properties:
valueType: "String"
readWrite: "RW"
- name: int8
isHidden: false
description: "Int8 value"
properties:
valueType: "Int8"
readWrite: "RW"
- name: int16
isHidden: false
description: "Int16 value"
properties:
valueType: "Int16"
readWrite: "RW"
- name: int32
isHidden: false
description: "Int32 value"
properties:
valueType: "Int32"
readWrite: "RW"
- name: int64
isHidden: false
description: "Int64 value"
properties:
valueType: "Int64"
readWrite: "RW"
- name: uint8
isHidden: false
description: "Uint8 value"
properties:
valueType: "Uint8"
readWrite: "RW"
- name: uint16
isHidden: false
description: "Uint16 value"
properties:
valueType: "Uint16"
readWrite: "RW"
- name: uint32
isHidden: false
description: "Uint32 value"
properties:
valueType: "Uint32"
readWrite: "RW"
- name: uint64
isHidden: false
description: "Uint64 value"
properties:
valueType: "Uint64"
readWrite: "RW"
- name: float32
isHidden: true
description: "Float32 value"
properties:
valueType: "Float32"
readWrite: "RW"
- name: float64
isHidden: false
description: "Float64 value"
properties:
valueType: "Float64"
readWrite: "RW"
- name: jpeg
isHidden: false
description: "JPEG Image binary message"
properties:
valueType: "Binary"
readWrite: "R"
mediaType: "image/jpeg"
- name: png
isHidden: true
description: "PNG Image binary message"
properties:
valueType: "Binary"
readWrite: "R"
mediaType: "image/png"
- name: bool
isHidden: false
description: "Boolean value"
properties:
valueType: "Bool"
readWrite: "RW"
defaultValue: "true"