Debian Codegraph @

data/qmi-service-pdc.json

raw
1 [
2 // *********************************************************************************
3 { "name" : "PDC",
4 "type" : "Service",
5 "description" : "Persistent Device Configuration" },
6
7 // *********************************************************************************
8 { "name" : "QMI Client PDC",
9 "type" : "Client",
10 "since" : "1.18" },
11
12 // *********************************************************************************
13 { "name" : "QMI Message PDC",
14 "type" : "Message-ID-Enum" },
15
16 // *********************************************************************************
17 { "name" : "QMI Indication PDC",
18 "type" : "Indication-ID-Enum" },
19
20 // *********************************************************************************
21 { "common-ref" : "Config Type",
22 "name" : "Config Type",
23 "id" : "0x1",
24 "type" : "TLV",
25 "format" : "guint32",
26 "public-format" : "QmiPdcConfigurationType" },
27
28 { "common-ref" : "Indication Result",
29 "name" : "Indication Result",
30 "id" : "0x01",
31 "type" : "TLV",
32 "format" : "guint16" },
33
34 // *********************************************************************************
35 { "common-ref" : "Config Type And Id",
36 "name" : "Type With Id v2",
37 "id" : "0x01",
38 "since" : "1.32",
39 "type" : "TLV",
40 "format" : "sequence",
41 "contents" : [ { "name" : "Config Type",
42 "format" : "guint32",
43 "public-format" : "QmiPdcConfigurationType"},
44 { "name" : "Id",
45 "format" : "array",
46 "size-prefix-format" : "guint8",
47 "array-element" : { "format" : "guint8" }} ]},
48
49 // *********************************************************************************
50 { "common-ref" : "Token",
51 "name" : "Token",
52 "id" : "0x10",
53 "type" : "TLV",
54 "format" : "guint32"},
55
56 // *********************************************************************************
57 { "name" : "Reset",
58 "type" : "Message",
59 "service" : "PDC",
60 "id" : "0x0000",
61 "since" : "1.18",
62 "output" : [ { "common-ref" : "Operation Result" } ] },
63
64 // *********************************************************************************
65 { "name" : "Register",
66 "type" : "Message",
67 "service" : "PDC",
68 "id" : "0x20",
69 "since" : "1.18",
70 "input" : [ { "name" : "Enable Reporting",
71 "id" : "0x10",
72 "mandatory" : "yes",
73 "type" : "TLV",
74 "since" : "1.18",
75 "format" : "guint8",
76 "public-format" : "gboolean"},
77 { "name" : "Enable Refresh",
78 "id" : "0x11",
79 "type" : "TLV",
80 "since" : "1.32",
81 "format" : "guint8",
82 "public-format" : "gboolean"}],
83 "output" : [ { "common-ref" : "Operation Result" } ] },
84
85 // *********************************************************************************
86 { "name" : "Config Change",
87 "type" : "Message",
88 "service" : "PDC",
89 "id" : "0x21",
90 "since" : "1.18",
91 "input" : [ { "common-ref" : "Config Type And Id" } ],
92 "output" : [ { "common-ref" : "Operation Result" },
93 { "common-ref" : "Config Type And Id" } ] },
94
95 // *********************************************************************************
96 { "name" : "Get Selected Config",
97 "type" : "Message",
98 "service" : "PDC",
99 "id" : "0x22",
100 "since" : "1.18",
101 "input" : [ { "common-ref" : "Config Type",
102 "since" : "1.18" },
103 { "common-ref" : "Token",
104 "since" : "1.18" }],
105 "output" : [ { "common-ref" : "Operation Result" },
106 { "common-ref" : "Token",
107 "since" : "1.18" }]},
108
109 { "name" : "Get Selected Config",
110 "type" : "Indication",
111 "service" : "PDC",
112 "id" : "0x22",
113 "since" : "1.18",
114 "output" : [ { "common-ref" : "Token",
115 "since" : "1.18" },
116 { "common-ref" : "Indication Result",
117 "since" : "1.18" },
118 { "name" : "Active Id",
119 "id" : "0x11",
120 "type" : "TLV",
121 "since" : "1.18",
122 "format" : "array",
123 "size-prefix-format" : "guint8",
124 "array-element" : { "format" : "guint8" } },
125 { "name" : "Pending Id",
126 "id" : "0x12",
127 "type" : "TLV",
128 "since" : "1.18",
129 "format" : "array",
130 "size-prefix-format" : "guint8",
131 "array-element" : { "format" : "guint8" } }]},
132
133 // *********************************************************************************
134 { "name" : "Set Selected Config",
135 "type" : "Message",
136 "service" : "PDC",
137 "id" : "0x23",
138 "since" : "1.18",
139 "input" : [ { "common-ref" : "Config Type And Id" },
140 { "common-ref" : "Token",
141 "since" : "1.18" }],
142 "output" : [ { "common-ref" : "Operation Result" },
143 { "common-ref" : "Token",
144 "since" : "1.18" }] },
145
146 { "name" : "Set Selected Config",
147 "type" : "Indication",
148 "service" : "PDC",
149 "id" : "0x23",
150 "since" : "1.18",
151 "output" : [ { "common-ref" : "Indication Result",
152 "since" : "1.18" },
153 { "common-ref" : "Token",
154 "since" : "1.18" }] },
155
156 // *********************************************************************************
157 { "name" : "List Configs",
158 "type" : "Message",
159 "service" : "PDC",
160 "id" : "0x24",
161 "since" : "1.18",
162 "input" : [ { "common-ref" : "Token",
163 "since" : "1.18" },
164 { "name" : "Config Type",
165 "id" : "0x11",
166 "mandatory" : "yes",
167 "type" : "TLV",
168 "since" : "1.18",
169 "format" : "guint32",
170 "public-format" : "QmiPdcConfigurationType" }],
171 "output" : [ { "common-ref" : "Operation Result" } ] },
172
173 { "name" : "List Configs",
174 "type" : "Indication",
175 "service" : "PDC",
176 "id" : "0x24",
177 "since" : "1.18",
178 "output" : [ { "common-ref" : "Token",
179 "since" : "1.18" },
180 { "common-ref" : "Indication Result",
181 "since" : "1.18" },
182 { "name" : "Configs",
183 "id" : "0x11",
184 "type" : "TLV",
185 "since" : "1.18",
186 "format" : "array",
187 "size-prefix-format" : "guint8",
188 "array-element" : { "name" : "Element",
189 "format" : "struct",
190 "contents" : [ { "name" : "Config Type",
191 "format" : "guint32",
192 "public-format" : "QmiPdcConfigurationType" },
193 { "name" : "Id",
194 "format" : "array",
195 "size-prefix-format" : "guint8",
196 "array-element" : { "format" : "guint8" } } ] } } ] },
197
198 // *********************************************************************************
199 { "name" : "Delete Config",
200 "type" : "Message",
201 "service" : "PDC",
202 "id" : "0x25",
203 "since" : "1.18",
204 "input" : [ { "common-ref" : "Config Type",
205 "since" : "1.18" },
206 { "common-ref" : "Token",
207 "since" : "1.18" },
208 { "name" : "Id",
209 "id" : "0x11",
210 "mandatory" : "yes",
211 "type" : "TLV",
212 "since" : "1.18",
213 "format" : "array",
214 "size-prefix-format" : "guint8",
215 "array-element" : { "format" : "guint8" }}],
216 "output" : [ { "common-ref" : "Operation Result" },
217 { "common-ref" : "Token",
218 "since" : "1.18" }] },
219
220 // *********************************************************************************
221 { "name" : "Load Config",
222 "type" : "Message",
223 "service" : "PDC",
224 "id" : "0x26",
225 "since" : "1.18",
226 "input" : [ { "name" : "Config Chunk",
227 "id" : "0x1",
228 "type" : "TLV",
229 "since" : "1.18",
230 "format" : "sequence",
231 "contents" : [ { "name" : "Type",
232 "format" : "guint32",
233 "public-format" : "QmiPdcConfigurationType"},
234 { "name" : "Id",
235 "format" : "array",
236 "size-prefix-format" : "guint8",
237 "array-element" : { "format" : "guint8" }},
238 { "name" : "Total Size",
239 "format" : "guint32" },
240 { "name" : "Chunk",
241 "format" : "array",
242 "size-prefix-format" : "guint16",
243 "array-element" : { "format" : "guint8" }}]},
244 { "common-ref" : "Token",
245 "since" : "1.18"}],
246 "output" : [ { "common-ref" : "Operation Result" },
247 { "common-ref" : "Token",
248 "since" : "1.18" }] },
249
250 { "name" : "Load Config",
251 "type" : "Indication",
252 "service" : "PDC",
253 "id" : "0x26",
254 "since" : "1.18",
255 "output" : [ { "common-ref" : "Token",
256 "since" : "1.18" },
257 { "common-ref" : "Indication Result",
258 "since" : "1.18" },
259 { "name" : "Received",
260 "id" : "0x11",
261 "type" : "TLV",
262 "since" : "1.18",
263 "format" : "guint32" },
264 { "name" : "Remaining Size",
265 "id" : "0x12",
266 "type" : "TLV",
267 "since" : "1.18",
268 "format" : "guint32" },
269 { "name" : "Frame Reset",
270 "id" : "0x13",
271 "type" : "TLV",
272 "since" : "1.18",
273 "format" : "guint8",
274 "public-format" : "gboolean" }
275 ] },
276
277 // *********************************************************************************
278 { "name" : "Activate Config",
279 "type" : "Message",
280 "service" : "PDC",
281 "id" : "0x27",
282 "since" : "1.18",
283 "input" : [ { "common-ref" : "Config Type",
284 "since" : "1.18" },
285 { "common-ref" : "Token",
286 "since" : "1.18" }],
287 "output" : [ { "common-ref" : "Operation Result" },
288 { "common-ref" : "Token",
289 "since" : "1.18" }] },
290
291 { "name" : "Activate Config",
292 "type" : "Indication",
293 "service" : "PDC",
294 "id" : "0x27",
295 "since" : "1.18",
296 "output" : [ { "common-ref" : "Indication Result",
297 "since" : "1.18" },
298 { "common-ref" : "Token",
299 "since" : "1.18" }] },
300
301 // *********************************************************************************
302 { "name" : "Get Config Info",
303 "type" : "Message",
304 "service" : "PDC",
305 "id" : "0x28",
306 "since" : "1.18",
307 "input" : [ { "common-ref" : "Config Type And Id" },
308 { "common-ref" : "Token",
309 "since" : "1.18" }],
310 "output" : [ { "common-ref" : "Operation Result" } ] },
311
312 { "name" : "Get Config Info",
313 "type" : "Indication",
314 "service" : "PDC",
315 "id" : "0x28",
316 "since" : "1.18",
317 "output" : [ { "common-ref" : "Token",
318 "since" : "1.18" },
319 { "common-ref" : "Indication Result",
320 "since" : "1.18" },
321 { "name" : "Total Size",
322 "id" : "0x11",
323 "type" : "TLV",
324 "since" : "1.18",
325 "format" : "guint32" },
326 { "name" : "Description",
327 "id" : "0x12",
328 "type" : "TLV",
329 "since" : "1.18",
330 "format" : "string",
331 "size-prefix-format" : "guint8"},
332 { "name" : "Version",
333 "id" : "0x13",
334 "type" : "TLV",
335 "since" : "1.18",
336 "format" : "guint32" }
337 ] },
338
339 // *********************************************************************************
340 { "name" : "Get Config Limits",
341 "type" : "Message",
342 "service" : "PDC",
343 "id" : "0x29",
344 "since" : "1.18",
345 "input" : [ { "common-ref" : "Config Type",
346 "since" : "1.18" },
347 { "common-ref" : "Token",
348 "since" : "1.18" }],
349 "output" : [ { "common-ref" : "Operation Result" },
350 { "common-ref" : "Token",
351 "since" : "1.18" },
352 { "name" : "Maximum Size",
353 "id" : "0x11",
354 "type" : "TLV",
355 "since" : "1.18",
356 "format" : "guint64" },
357 { "name" : "Current Size",
358 "id" : "0x12",
359 "type" : "TLV",
360 "since" : "1.18",
361 "format" : "guint64" }] },
362
363 // *********************************************************************************
364 { "name" : "Get Default Config Info",
365 "type" : "Message",
366 "service" : "PDC",
367 "id" : "0x2A",
368 "since" : "1.18",
369 "input" : [ { "common-ref" : "Config Type",
370 "since" : "1.18" },
371 { "common-ref" : "Token",
372 "since" : "1.18" }],
373 "output" : [ { "common-ref" : "Operation Result" },
374 { "common-ref" : "Token",
375 "since" : "1.18" },
376 { "name" : "Version",
377 "id" : "0x11",
378 "type" : "TLV",
379 "since" : "1.18",
380 "format" : "guint32" },
381 { "name" : "Total Size",
382 "id" : "0x12",
383 "type" : "TLV",
384 "since" : "1.18",
385 "format" : "guint32" },
386 { "name" : "Description",
387 "id" : "0x13",
388 "type" : "TLV",
389 "since" : "1.18",
390 "format" : "string" }
391 ] },
392
393 // *********************************************************************************
394 { "name" : "Deactivate Config",
395 "type" : "Message",
396 "service" : "PDC",
397 "id" : "0x2B",
398 "since" : "1.18",
399 "input" : [ { "common-ref" : "Config Type",
400 "since" : "1.18" },
401 { "common-ref" : "Token",
402 "since" : "1.18" }],
403 "output" : [ { "common-ref" : "Operation Result" },
404 { "common-ref" : "Token",
405 "since" : "1.18" }] },
406
407 { "name" : "Deactivate Config",
408 "type" : "Indication",
409 "service" : "PDC",
410 "id" : "0x2B",
411 "since" : "1.18",
412 "output" : [ { "common-ref" : "Indication Result",
413 "since" : "1.18" },
414 { "common-ref" : "Token",
415 "since" : "1.18" }] },
416
417 // *********************************************************************************
418 { "name" : "Refresh",
419 "type" : "Indication",
420 "service" : "PDC",
421 "id" : "0x2F",
422 "since" : "1.32",
423 "output" : [ { "name" : "Refresh Event",
424 "id" : "0x01",
425 "mandatory" : "yes",
426 "type" : "TLV",
427 "since" : "1.32",
428 "format" : "guint32",
429 "public-format" : "QmiPdcRefreshEventType" },
430 { "name" : "Subscription ID",
431 "id" : "0x10",
432 "type" : "TLV",
433 "since" : "1.32",
434 "format" : "guint32" },
435 { "name" : "Slot ID",
436 "id" : "0x11",
437 "type" : "TLV",
438 "since" : "1.32",
439 "format" : "guint32" }] }
440 ]