-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathDeviceShadowOverSomeipInterface.fdepl
173 lines (140 loc) · 4.95 KB
/
DeviceShadowOverSomeipInterface.fdepl
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import "platform:/plugin/org.genivi.commonapi.someip/deployment/CommonAPI-4-SOMEIP_deployment_spec.fdepl"
import "DeviceShadowOverSomeipInterface.fidl"
define org.genivi.commonapi.someip.deployment for interface commonapi.DeviceShadowOverSomeipInterface {
SomeIpServiceID = 0x1235
method getShadow {
SomeIpMethodID = 0x753A
SomeIpReliable = false
in {
shadowName {
SomeIpStringEncoding = utf8
}
}
out {
shadowDocument {
SomeIpStringEncoding = utf8
}
}
}
method updateShadow {
SomeIpMethodID = 0x753B
SomeIpReliable = false
in {
shadowName {
SomeIpStringEncoding = utf8
}
updateDocument {
SomeIpStringEncoding = utf8
}
}
out {
shadowDocument {
SomeIpStringEncoding = utf8
}
}
}
method deleteShadow {
SomeIpMethodID = 0x753C
SomeIpReliable = false
in {
shadowName {
SomeIpStringEncoding = utf8
}
}
}
broadcast shadowChanged {
SomeIpEventID = 0x753D
SomeIpEventGroups = { 0x753D }
out {
shadowName {
SomeIpStringEncoding = utf8
}
shadowDocument {
SomeIpStringEncoding = utf8
}
}
}
}
define org.genivi.commonapi.someip.deployment for provider as Service {
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface"
SomeIpInstanceID = 0x5679
}
// Add several instances for DeviceShadowOverSomeipInterface. Each of these instances can be initialized
// after the routing manager and they can be associated to separate FWE processes so that the
// data seen by each FWE process is isolated.
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface0"
SomeIpInstanceID = 0x5700
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface1"
SomeIpInstanceID = 0x5701
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface2"
SomeIpInstanceID = 0x5702
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface3"
SomeIpInstanceID = 0x5703
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface4"
SomeIpInstanceID = 0x5704
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface5"
SomeIpInstanceID = 0x5705
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface6"
SomeIpInstanceID = 0x5706
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface7"
SomeIpInstanceID = 0x5707
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface8"
SomeIpInstanceID = 0x5708
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface9"
SomeIpInstanceID = 0x5709
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface10"
SomeIpInstanceID = 0x570a
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface11"
SomeIpInstanceID = 0x570b
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface12"
SomeIpInstanceID = 0x570c
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface13"
SomeIpInstanceID = 0x570d
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface14"
SomeIpInstanceID = 0x570e
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface15"
SomeIpInstanceID = 0x570f
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface16"
SomeIpInstanceID = 0x5710
}
instance commonapi.DeviceShadowOverSomeipInterface {
InstanceId = "commonapi.DeviceShadowOverSomeipInterface17"
SomeIpInstanceID = 0x5711
}
}