uqmi: print radio interfaces in serving system command
[project/uqmi.git] / data / qmi-service-uim.json
1
2 [
3 // *********************************************************************************
4 { "name" : "UIM",
5 "type" : "Service" },
6
7 // *********************************************************************************
8 { "name" : "QMI Client UIM",
9 "type" : "Client" },
10
11 // *********************************************************************************
12 { "name" : "QMI Message UIM",
13 "type" : "Message-ID-Enum" },
14
15 // *********************************************************************************
16 { "name" : "Reset",
17 "type" : "Message",
18 "service" : "UIM",
19 "id" : "0x0000",
20 "version" : "1.0",
21 "output" : [ { "common-ref" : "Operation Result" } ] },
22
23 // *********************************************************************************
24 { "name" : "Get Supported Messages",
25 "type" : "Message",
26 "service" : "UIM",
27 "id" : "0x001E",
28 "version" : "1.28",
29 "output" : [ { "common-ref" : "Operation Result" },
30 { "name" : "List",
31 "id" : "0x10",
32 "mandatory" : "no",
33 "type" : "TLV",
34 "format" : "array",
35 "size-prefix-format" : "guint16",
36 "array-element" : { "format" : "guint8" },
37 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
38
39 // *********************************************************************************
40 { "name" : "Read Transparent",
41 "type" : "Message",
42 "service" : "UIM",
43 "id" : "0x0020",
44 "version" : "1.0",
45 "input" : [ { "name" : "Session Information",
46 "id" : "0x01",
47 "mandatory" : "yes",
48 "type" : "TLV",
49 "format" : "sequence",
50 "contents" : [ { "name" : "Session Type",
51 "format" : "guint8",
52 "public-format" : "QmiUimSessionType" },
53 { "name" : "Application Identifier",
54 "format" : "string" } ] },
55 { "name" : "File",
56 "id" : "0x02",
57 "mandatory" : "yes",
58 "type" : "TLV",
59 "format" : "sequence",
60 "contents" : [ { "name" : "File ID",
61 "format" : "guint16" },
62 { "name" : "File Path",
63 "format" : "array",
64 "array-element" : { "format" : "guint8" } } ] },
65 { "name" : "Read Information",
66 "id" : "0x03",
67 "mandatory" : "yes",
68 "type" : "TLV",
69 "format" : "sequence",
70 "contents" : [ { "name" : "Offset",
71 "format" : "guint16" },
72 { "name" : "Length",
73 "format" : "guint16" } ] },
74 { "name" : "Response In Indication Token",
75 "id" : "0x10",
76 "mandatory" : "no",
77 "type" : "TLV",
78 "format" : "guint32" },
79 { "name" : "Encrypt Data",
80 "id" : "0x11",
81 "mandatory" : "no",
82 "type" : "TLV",
83 "format" : "guint8",
84 "public-format" : "gboolean" } ],
85 "output" : [ { "common-ref" : "Operation Result" },
86 { "name" : "Card result",
87 "id" : "0x10",
88 "mandatory" : "no",
89 "type" : "TLV",
90 "format" : "sequence",
91 "contents" : [ { "name" : "SW1",
92 "format" : "guint8" },
93 { "name" : "SW2",
94 "format" : "guint8" } ] },
95 { "name" : "Read result",
96 "id" : "0x11",
97 "mandatory" : "no",
98 "type" : "TLV",
99 "format" : "array",
100 "size-prefix-format" : "guint16",
101 "array-element" : { "format" : "guint8" },
102 "prerequisites" : [ { "common-ref" : "Success" } ] },
103 { "name" : "Response In Indication Token",
104 "id" : "0x12",
105 "mandatory" : "no",
106 "type" : "TLV",
107 "format" : "guint32",
108 "prerequisites" : [ { "common-ref" : "Success" } ] },
109 { "name" : "Encrypted Data",
110 "id" : "0x13",
111 "mandatory" : "no",
112 "type" : "TLV",
113 "format" : "guint8",
114 "public-format" : "gboolean",
115 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
116
117 // *********************************************************************************
118 { "name" : "Read Record",
119 "type" : "Message",
120 "service" : "UIM",
121 "id" : "0x0021",
122 "version" : "1.0",
123 "input" : [ { "name" : "Session Information",
124 "id" : "0x01",
125 "mandatory" : "yes",
126 "type" : "TLV",
127 "format" : "sequence",
128 "contents" : [ { "name" : "Session Type",
129 "format" : "guint8",
130 "public-format" : "QmiUimSessionType" },
131 { "name" : "Application Identifier",
132 "format" : "string" } ] },
133 { "name" : "File",
134 "id" : "0x02",
135 "mandatory" : "yes",
136 "type" : "TLV",
137 "format" : "sequence",
138 "contents" : [ { "name" : "File ID",
139 "format" : "guint16" },
140 { "name" : "File Path",
141 "format" : "array",
142 "array-element" : { "format" : "guint8" } } ] },
143 { "name" : "Record",
144 "id" : "0x03",
145 "mandatory" : "yes",
146 "type" : "TLV",
147 "format" : "sequence",
148 "contents" : [ { "name" : "Record Number",
149 "format" : "guint16" },
150 { "name" : "Record Length",
151 "format" : "guint16" } ] },
152 { "name" : "Last Record",
153 "id" : "0x10",
154 "mandatory" : "no",
155 "type" : "TLV",
156 "format" : "guint16" },
157 { "name" : "Response In Indication Token",
158 "id" : "0x11",
159 "mandatory" : "no",
160 "type" : "TLV",
161 "format" : "guint32" } ],
162 "output" : [ { "common-ref" : "Operation Result" },
163 { "name" : "Card result",
164 "id" : "0x10",
165 "mandatory" : "no",
166 "type" : "TLV",
167 "format" : "sequence",
168 "contents" : [ { "name" : "SW1",
169 "format" : "guint8" },
170 { "name" : "SW2",
171 "format" : "guint8" } ] },
172 { "name" : "Read Result",
173 "id" : "0x11",
174 "mandatory" : "no",
175 "type" : "TLV",
176 "format" : "array",
177 "size-prefix-format" : "guint16",
178 "array-element" : { "format" : "guint8" },
179 "prerequisites" : [ { "common-ref" : "Success" } ] },
180 { "name" : "Additional Read Result",
181 "id" : "0x12",
182 "mandatory" : "no",
183 "type" : "TLV",
184 "format" : "array",
185 "size-prefix-format" : "guint16",
186 "array-element" : { "format" : "guint8" },
187 "prerequisites" : [ { "common-ref" : "Success" } ] },
188 { "name" : "Response In Indication Token",
189 "id" : "0x13",
190 "mandatory" : "no",
191 "type" : "TLV",
192 "format" : "guint32",
193 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
194
195 // *********************************************************************************
196 { "name" : "Get File Attributes",
197 "type" : "Message",
198 "service" : "UIM",
199 "id" : "0x0024",
200 "version" : "1.0",
201 "input" : [ { "name" : "Session Information",
202 "id" : "0x01",
203 "mandatory" : "yes",
204 "type" : "TLV",
205 "format" : "sequence",
206 "contents" : [ { "name" : "Session Type",
207 "format" : "guint8",
208 "public-format" : "QmiUimSessionType" },
209 { "name" : "Application Identifier",
210 "format" : "string" } ] },
211 { "name" : "File",
212 "id" : "0x02",
213 "mandatory" : "yes",
214 "type" : "TLV",
215 "format" : "sequence",
216 "contents" : [ { "name" : "File ID",
217 "format" : "guint16" },
218 { "name" : "File Path",
219 "format" : "array",
220 "array-element" : { "format" : "guint8" } } ] },
221 { "name" : "Response In Indication Token",
222 "id" : "0x10",
223 "mandatory" : "no",
224 "type" : "TLV",
225 "format" : "guint32" } ],
226 "output" : [ { "common-ref" : "Operation Result" },
227 { "name" : "Card result",
228 "id" : "0x10",
229 "mandatory" : "no",
230 "type" : "TLV",
231 "format" : "sequence",
232 "contents" : [ { "name" : "SW1",
233 "format" : "guint8" },
234 { "name" : "SW2",
235 "format" : "guint8" } ] },
236 { "name" : "File Attributes",
237 "id" : "0x11",
238 "mandatory" : "no",
239 "type" : "TLV",
240 "format" : "sequence",
241 "contents" : [ { "name" : "File Size",
242 "format" : "guint16" },
243 { "name" : "File ID",
244 "format" : "guint16" },
245 { "name" : "File Type",
246 "format" : "guint8",
247 "public-format" : "QmiUimFileType" },
248 { "name" : "Record Size",
249 "format" : "guint16" },
250 { "name" : "Record Count",
251 "format" : "guint16" },
252 { "name" : "Read Security Attributes Logic",
253 "format" : "guint8",
254 "public-format" : "QmiUimSecurityAttributeLogic" },
255 { "name" : "Read Security Attributes",
256 "format" : "guint16",
257 "public-format" : "QmiUimSecurityAttribute" },
258 { "name" : "Write Security Attributes Logic",
259 "format" : "guint8",
260 "public-format" : "QmiUimSecurityAttributeLogic" },
261 { "name" : "Write Security Attributes",
262 "format" : "guint16",
263 "public-format" : "QmiUimSecurityAttribute" },
264 { "name" : "Increase Security Attributes Logic",
265 "format" : "guint8",
266 "public-format" : "QmiUimSecurityAttributeLogic" },
267 { "name" : "Increase Security Attributes",
268 "format" : "guint16",
269 "public-format" : "QmiUimSecurityAttribute" },
270 { "name" : "Deactivate Security Attributes Logic",
271 "format" : "guint8",
272 "public-format" : "QmiUimSecurityAttributeLogic" },
273 { "name" : "Deactivate Security Attributes",
274 "format" : "guint16",
275 "public-format" : "QmiUimSecurityAttribute" },
276 { "name" : "Activate Security Attributes Logic",
277 "format" : "guint8",
278 "public-format" : "QmiUimSecurityAttributeLogic" },
279 { "name" : "Activate Security Attributes",
280 "format" : "guint16",
281 "public-format" : "QmiUimSecurityAttribute" },
282 { "name" : "Raw Data",
283 "format" : "array",
284 "size-prefix-format" : "guint16",
285 "array-element" : { "format" : "guint8" } } ],
286 "prerequisites" : [ { "common-ref" : "Success" } ] },
287 { "name" : "Response In Indication Token",
288 "id" : "0x12",
289 "mandatory" : "no",
290 "type" : "TLV",
291 "format" : "guint32",
292 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
293
294 // *********************************************************************************
295 { "name" : "Set PIN Protection",
296 "type" : "Message",
297 "service" : "UIM",
298 "id" : "0x0025",
299 "version" : "1.0",
300 "input" : [ { "name" : "Session Information",
301 "id" : "0x01",
302 "mandatory" : "yes",
303 "type" : "TLV",
304 "format" : "sequence",
305 "contents" : [ { "name" : "Session Type",
306 "format" : "guint8",
307 "public-format" : "QmiUimSessionType" },
308 { "name" : "Application Identifier",
309 "format" : "string" } ] },
310 { "name" : "Info",
311 "id" : "0x02",
312 "mandatory" : "yes",
313 "type" : "TLV",
314 "format" : "sequence",
315 "contents" : [ { "name" : "PIN ID",
316 "format" : "guint8",
317 "public-format" : "QmiUimPinId" },
318 { "name" : "PIN enabled",
319 "format" : "guint8",
320 "public-format" : "gboolean" },
321 { "name" : "PIN Value",
322 "format" : "string" } ] },
323 { "name" : "Response In Indication Token",
324 "id" : "0x11",
325 "mandatory" : "no",
326 "type" : "TLV",
327 "format" : "guint32" } ],
328 "output" : [ { "common-ref" : "Operation Result" },
329 { "name" : "Retries Remaining",
330 "id" : "0x10",
331 "mandatory" : "no",
332 "type" : "TLV",
333 "format" : "sequence",
334 "contents" : [ { "name" : "Verify Retries Left",
335 "format" : "guint8" },
336 { "name" : "Unblock Retries Left",
337 "format" : "guint8" } ],
338 "prerequisites": [ { "common-ref" : "No Success" } ] },
339 { "name" : "Response In Indication Token",
340 "id" : "0x12",
341 "mandatory" : "no",
342 "type" : "TLV",
343 "format" : "guint32",
344 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
345
346 // *********************************************************************************
347 { "name" : "Verify PIN",
348 "type" : "Message",
349 "service" : "UIM",
350 "id" : "0x0026",
351 "version" : "1.0",
352 "input" : [ { "name" : "Session Information",
353 "id" : "0x01",
354 "mandatory" : "yes",
355 "type" : "TLV",
356 "format" : "sequence",
357 "contents" : [ { "name" : "Session Type",
358 "format" : "guint8",
359 "public-format" : "QmiUimSessionType" },
360 { "name" : "Application Identifier",
361 "format" : "string" } ] },
362 { "name" : "Info",
363 "id" : "0x02",
364 "mandatory" : "yes",
365 "type" : "TLV",
366 "format" : "sequence",
367 "contents" : [ { "name" : "PIN ID",
368 "format" : "guint8",
369 "public-format" : "QmiUimPinId" },
370 { "name" : "PIN Value",
371 "format" : "string" } ] },
372 { "name" : "Response In Indication Token",
373 "id" : "0x12",
374 "mandatory" : "no",
375 "type" : "TLV",
376 "format" : "guint32" } ],
377 "output" : [ { "common-ref" : "Operation Result" },
378 { "name" : "Retries Remaining",
379 "id" : "0x10",
380 "mandatory" : "no",
381 "type" : "TLV",
382 "format" : "sequence",
383 "contents" : [ { "name" : "Verify Retries Left",
384 "format" : "guint8" },
385 { "name" : "Unblock Retries Left",
386 "format" : "guint8" } ],
387 "prerequisites": [ { "common-ref" : "No Success" } ] },
388 { "name" : "Response In Indication Token",
389 "id" : "0x12",
390 "mandatory" : "no",
391 "type" : "TLV",
392 "format" : "guint32",
393 "prerequisites" : [ { "common-ref" : "Success" } ] },
394 { "name" : "Card Result",
395 "id" : "0x13",
396 "mandatory" : "no",
397 "type" : "TLV",
398 "format" : "sequence",
399 "contents" : [ { "name" : "SW1",
400 "format" : "guint8" },
401 { "name" : "SW2",
402 "format" : "guint8" } ] } ] },
403
404 // *********************************************************************************
405 { "name" : "Unblock PIN",
406 "type" : "Message",
407 "service" : "UIM",
408 "id" : "0x0027",
409 "version" : "1.0",
410 "input" : [ { "name" : "Session Information",
411 "id" : "0x01",
412 "mandatory" : "yes",
413 "type" : "TLV",
414 "format" : "sequence",
415 "contents" : [ { "name" : "Session Type",
416 "format" : "guint8",
417 "public-format" : "QmiUimSessionType" },
418 { "name" : "Application Identifier",
419 "format" : "string" } ] },
420 { "name" : "Info",
421 "id" : "0x02",
422 "mandatory" : "yes",
423 "type" : "TLV",
424 "format" : "sequence",
425 "contents" : [ { "name" : "PIN ID",
426 "format" : "guint8",
427 "public-format" : "QmiUimPinId" },
428 { "name" : "PUK",
429 "format" : "string" },
430 { "name" : "New PIN",
431 "format" : "string" } ] },
432 { "name" : "Response In Indication Token",
433 "id" : "0x11",
434 "mandatory" : "no",
435 "type" : "TLV",
436 "format" : "guint32" } ],
437 "output" : [ { "common-ref" : "Operation Result" },
438 { "name" : "Retries Remaining",
439 "id" : "0x10",
440 "mandatory" : "no",
441 "type" : "TLV",
442 "format" : "sequence",
443 "contents" : [ { "name" : "Verify Retries Left",
444 "format" : "guint8" },
445 { "name" : "Unblock Retries Left",
446 "format" : "guint8" } ],
447 "prerequisites": [ { "common-ref" : "No Success" } ] },
448 { "name" : "Response In Indication Token",
449 "id" : "0x12",
450 "mandatory" : "no",
451 "type" : "TLV",
452 "format" : "guint32",
453 "prerequisites" : [ { "common-ref" : "Success" } ] },
454 { "name" : "Card Result",
455 "id" : "0x13",
456 "mandatory" : "no",
457 "type" : "TLV",
458 "format" : "sequence",
459 "contents" : [ { "name" : "SW1",
460 "format" : "guint8" },
461 { "name" : "SW2",
462 "format" : "guint8" } ] } ] },
463
464 // *********************************************************************************
465 { "name" : "Change PIN",
466 "type" : "Message",
467 "service" : "UIM",
468 "id" : "0x0028",
469 "version" : "1.0",
470 "input" : [ { "name" : "Session Information",
471 "id" : "0x01",
472 "mandatory" : "yes",
473 "type" : "TLV",
474 "format" : "sequence",
475 "contents" : [ { "name" : "Session Type",
476 "format" : "guint8",
477 "public-format" : "QmiUimSessionType" },
478 { "name" : "Application Identifier",
479 "format" : "string" } ] },
480 { "name" : "Info",
481 "id" : "0x02",
482 "mandatory" : "yes",
483 "type" : "TLV",
484 "format" : "sequence",
485 "contents" : [ { "name" : "PIN ID",
486 "format" : "guint8",
487 "public-format" : "QmiUimPinId" },
488 { "name" : "Old PIN",
489 "format" : "string" },
490 { "name" : "New PIN",
491 "format" : "string" } ] },
492 { "name" : "Response In Indication Token",
493 "id" : "0x11",
494 "mandatory" : "no",
495 "type" : "TLV",
496 "format" : "guint32" } ],
497 "output" : [ { "common-ref" : "Operation Result" },
498 { "name" : "Retries Remaining",
499 "id" : "0x10",
500 "mandatory" : "no",
501 "type" : "TLV",
502 "format" : "sequence",
503 "contents" : [ { "name" : "Verify Retries Left",
504 "format" : "guint8" },
505 { "name" : "Unblock Retries Left",
506 "format" : "guint8" } ],
507 "prerequisites": [ { "common-ref" : "No Success" } ] },
508 { "name" : "Response In Indication Token",
509 "id" : "0x12",
510 "mandatory" : "no",
511 "type" : "TLV",
512 "format" : "guint32",
513 "prerequisites" : [ { "common-ref" : "Success" } ] },
514 { "name" : "Card Result",
515 "id" : "0x13",
516 "mandatory" : "no",
517 "type" : "TLV",
518 "format" : "sequence",
519 "contents" : [ { "name" : "SW1",
520 "format" : "guint8" },
521 { "name" : "SW2",
522 "format" : "guint8" } ] } ] },
523
524 // *********************************************************************************
525 { "name" : "Get Card Status",
526 "type" : "Message",
527 "service" : "UIM",
528 "id" : "0x002F",
529 "version" : "1.0",
530 "output" : [ { "common-ref" : "Operation Result" },
531 { "name" : "Card Status",
532 "id" : "0x10",
533 "mandatory" : "no",
534 "type" : "TLV",
535 "format" : "sequence",
536 "contents" : [ { "name" : "Index GW Primary",
537 "format" : "guint16" },
538 { "name" : "Index 1x Primary",
539 "format" : "guint16" },
540 { "name" : "Index GW Secondary ",
541 "format" : "guint16" },
542 { "name" : "Index 1x Secondary",
543 "format" : "guint16" },
544 { "name" : "Cards",
545 "format" : "array",
546 "size-prefix-format" : "guint8",
547 "array-element" : { "name" : "Element",
548 "format" : "struct",
549 "contents" : [ { "name" : "Card State",
550 "format" : "guint8",
551 "public-format" : "QmiUimCardState" },
552 { "name" : "UPIN State",
553 "format" : "guint8",
554 "public-format" : "QmiUimPinState" },
555 { "name" : "UPIN Retries",
556 "format" : "guint8" },
557 { "name" : "UPUK Retries",
558 "format" : "guint8" },
559 { "name" : "Error code",
560 "format" : "guint8",
561 "public-format" : "QmiUimCardError" },
562 { "name" : "Applications",
563 "format" : "array",
564 "size-prefix-format" : "guint8",
565 "array-element" : { "name" : "Element",
566 "format" : "struct",
567 "contents" : [ { "name" : "Type",
568 "format" : "guint8",
569 "public-format" : "QmiUimCardApplicationType" },
570 { "name" : "State",
571 "format" : "guint8",
572 "public-format" : "QmiUimCardApplicationState" },
573 { "name" : "Personalization State",
574 "format" : "guint8",
575 "public-format" : "QmiUimCardApplicationPersonalizationState" },
576 { "name" : "Personalization Feature",
577 "format" : "guint8",
578 "public-format" : "QmiUimCardApplicationPersonalizationFeature" },
579 { "name" : "Personalization Retries",
580 "format" : "guint8" },
581 { "name" : "Personalization Unblock Retries",
582 "format" : "guint8" },
583 { "name" : "Application Identifier Value",
584 "format" : "array",
585 "size-prefix-format" : "guint8",
586 "array-element" : { "format" : "guint8" } },
587 { "name" : "UPIN replaces PIN1",
588 "format" : "guint8",
589 "public-format" : "gboolean" },
590 { "name" : "PIN1 State",
591 "format" : "guint8",
592 "public-format" : "QmiUimPinState" },
593 { "name" : "PIN1 Retries",
594 "format" : "guint8" },
595 { "name" : "PUK1 Retries",
596 "format" : "guint8" },
597 { "name" : "PIN2 State",
598 "format" : "guint8",
599 "public-format" : "QmiUimPinState" },
600 { "name" : "PIN2 Retries",
601 "format" : "guint8" },
602 { "name" : "PUK2 Retries",
603 "format" : "guint8" } ] } } ] } } ] } ] }
604
605 ]