-
Notifications
You must be signed in to change notification settings - Fork 25
/
llrp.device.profile.yaml
156 lines (138 loc) · 3.96 KB
/
llrp.device.profile.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
name: "LLRP-Device-Profile"
manufacturer: "Intel"
model: "RFID Reader"
labels:
- "LLRP"
- "RFID"
description: "A generic device profile for readers that communicate over LLRP"
deviceResources:
-
name: "ReaderCapabilities"
description: "The capabilities of a reader"
properties:
valueType: "Object"
readWrite: "R"
-
name: "ReaderConfig"
description: "Current configuration info of a reader"
properties:
valueType: "Object"
readWrite: "RW"
-
name: "ROSpecID"
description: "Client-generated Reader Operation Specification Identifier"
properties:
valueType: "uint32"
readWrite: "W"
defaultValue: "1"
-
name: "AccessSpecID"
description: "Client-generated Access Specification Identifier"
properties:
valueType: "uint32"
readWrite: "W"
defaultValue: "1"
-
name: "ROSpec"
description: >-
An ROSpec is a "Reader Operation Specification", i.e.,
a declarative description of when and how
a reader should turn on its antennas and report data.
It's passed via EdgeX as a JSON object.
properties:
valueType: "Object"
readWrite: "RW"
-
name: "AccessSpec"
description: ""
properties:
valueType: "Object"
readWrite: "RW"
-
name: "ROAccessReport"
description: >-
An ROAccessReport is the main report type in LLRP.
They contain the TagReportData or RFSurveyReportData,
as well as any Custom parameter data.
isHidden: true # resource is only async
properties:
valueType: "Object"
readWrite: "R"
-
name: "ReaderEventNotification"
description: >-
Readers generate Reader Event Notifications for a variety of events,
including changes in connectivity, antenna additions/removals,
GPIO state changes, new report data, and exception events.
Some event notifications are configurable.
isHidden: true # resource is only async
properties:
valueType: "Object"
readWrite: "R"
-
name: "Action"
description: >-
EdgeX's Device Service SDK only distinguishes between "GET" and "PUT",
and all PUT parameters must be defined deviceResources.
Since we won't have, e.g., information about the HTTP path used in a request,
this resource exists only to distinguish actions to take on other resources.
properties:
valueType: "String"
readWrite: "W"
deviceCommands:
-
name: enableROSpec
isHidden: false
readWrite: "W"
resourceOperations:
- { deviceResource: "ROSpecID"}
- { deviceResource: "Action", defaultValue: "Enable" }
-
name: startROSpec
isHidden: false
readWrite: "W"
resourceOperations:
- { deviceResource: "ROSpecID" }
- { deviceResource: "Action", defaultValue: "Start" }
-
name: stopROSpec
isHidden: false
readWrite: "W"
resourceOperations:
- { deviceResource: "ROSpecID"}
- { deviceResource: "Action", defaultValue: "Stop" }
-
name: disableROSpec
isHidden: false
readWrite: "W"
resourceOperations:
- { deviceResource: "ROSpecID"}
- { deviceResource: "Action", defaultValue: "Disable" }
-
name: deleteROSpec
isHidden: false
readWrite: "W"
resourceOperations:
- { deviceResource: "ROSpecID"}
- { deviceResource: "Action", defaultValue: "Delete" }
-
name: enableAccessSpec
isHidden: false
readWrite: "W"
resourceOperations:
- { deviceResource: "AccessSpecID" }
- { deviceResource: "Action", defaultValue: "Enable" }
-
name: disableAccessSpec
isHidden: false
readWrite: "W"
resourceOperations:
- { deviceResource: "AccessSpecID"}
- { deviceResource: "Action", defaultValue: "Disable" }
-
name: deleteAccessSpec
isHidden: false
readWrite: "W"
resourceOperations:
- { deviceResource: "AccessSpecID"}
- { deviceResource: "Action", defaultValue: "Delete" }