uqmi: print radio interfaces in serving system command
[project/uqmi.git] / data / qmi-service-wds.json
1
2 [
3 // *********************************************************************************
4 { "name" : "WDS",
5 "type" : "Service" },
6
7 // *********************************************************************************
8 { "name" : "QMI Client WDS",
9 "type" : "Client" },
10
11 // *********************************************************************************
12 { "name" : "QMI Message WDS",
13 "type" : "Message-ID-Enum" },
14
15 // *********************************************************************************
16 { "name" : "Reset",
17 "type" : "Message",
18 "service" : "WDS",
19 "id" : "0x0000",
20 "version" : "1.0",
21 "output" : [ { "common-ref" : "Operation Result" } ] },
22
23 // *********************************************************************************
24 { "name" : "Abort",
25 "type" : "Message",
26 "service" : "WDS",
27 "id" : "0x0002",
28 "version" : "1.0",
29 // This magic tag allows us to avoid creating a method in the client
30 "scope" : "library-only",
31 "input" : [ { "name" : "Transaction ID",
32 "id" : "0x01",
33 "mandatory" : "yes",
34 "type" : "TLV",
35 "format" : "guint16" } ],
36 "output" : [ { "common-ref" : "Operation Result" } ] },
37
38 // *********************************************************************************
39 { "name" : "Start Network",
40 "type" : "Message",
41 "service" : "WDS",
42 "id" : "0x0020",
43 "version" : "1.0",
44 // This method may be aborted
45 "abort" : "yes",
46 "input" : [ { "name" : "Primary DNS Address Preference",
47 "id" : "0x10",
48 "mandatory" : "no",
49 "type" : "TLV",
50 "format" : "guint32" },
51 { "name" : "Secondary DNS Address Preference",
52 "id" : "0x11",
53 "mandatory" : "no",
54 "type" : "TLV",
55 "format" : "guint32" },
56 { "name" : "Primary NBNS Address Preference",
57 "id" : "0x12",
58 "mandatory" : "no",
59 "type" : "TLV",
60 "format" : "guint32" },
61 { "name" : "Secondary NBNS Address Preference",
62 "id" : "0x13",
63 "mandatory" : "no",
64 "type" : "TLV",
65 "format" : "guint32" },
66 { "name" : "APN",
67 "id" : "0x14",
68 "mandatory" : "no",
69 "type" : "TLV",
70 "format" : "string" },
71 { "name" : "IPv4 Address Preference",
72 "id" : "0x15",
73 "mandatory" : "no",
74 "type" : "TLV",
75 "format" : "guint32" },
76 { "name" : "Authentication Preference",
77 "id" : "0x16",
78 "mandatory" : "no",
79 "type" : "TLV",
80 "format" : "guint8",
81 "public-format" : "QmiWdsAuthentication" },
82 { "name" : "Username",
83 "id" : "0x17",
84 "mandatory" : "no",
85 "type" : "TLV",
86 "format" : "string" },
87 { "name" : "Password",
88 "id" : "0x18",
89 "mandatory" : "no",
90 "type" : "TLV",
91 "format" : "string" },
92 { "name" : "IP Family Preference",
93 "id" : "0x19",
94 "mandatory" : "no",
95 "type" : "TLV",
96 "format" : "guint8",
97 "public-format" : "QmiWdsIpFamily" },
98 { "name" : "Technology Preference",
99 "id" : "0x30",
100 "mandatory" : "no",
101 "type" : "TLV",
102 "format" : "guint8",
103 "public-format" : "QmiWdsTechnologyPreference" },
104 { "name" : "Profile Index 3GPP",
105 "id" : "0x31",
106 "mandatory" : "no",
107 "type" : "TLV",
108 "format" : "guint8" },
109 { "name" : "Profile Index 3GPP2",
110 "id" : "0x32",
111 "mandatory" : "no",
112 "type" : "TLV",
113 "format" : "guint8" },
114 { "name" : "Enable Autoconnect",
115 "id" : "0x33",
116 "mandatory" : "no",
117 "type" : "TLV",
118 "format" : "guint8",
119 "public-format" : "gboolean" },
120 { "name" : "Extended Technology Preference",
121 "id" : "0x34",
122 "mandatory" : "no",
123 "type" : "TLV",
124 "format" : "guint16",
125 "public-format" : "QmiWdsExtendedTechnologyPreference" },
126 { "name" : "Call Type",
127 "id" : "0x35",
128 "mandatory" : "no",
129 "type" : "TLV",
130 "format" : "guint8",
131 "public-format" : "QmiWdsCallType" } ],
132 "output" : [ { "common-ref" : "Operation Result" },
133 { "name" : "Packet Data Handle",
134 "id" : "0x01",
135 "mandatory" : "yes",
136 "type" : "TLV",
137 "format" : "guint32",
138 "prerequisites": [ { "common-ref" : "Success" } ] },
139 { "name" : "Call End Reason",
140 "id" : "0x10",
141 "mandatory" : "no",
142 "type" : "TLV",
143 "format" : "guint16",
144 "public-format" : "QmiWdsCallEndReason",
145 "prerequisites" : [ { "field" : "Result.Error Status",
146 "operation" : "!=",
147 "value" : "QMI_STATUS_SUCCESS" },
148 { "field" : "Result.Error Code",
149 "operation" : "==",
150 "value" : "QMI_PROTOCOL_ERROR_CALL_FAILED" } ] },
151 { "name" : "Verbose Call End Reason",
152 "id" : "0x11",
153 "mandatory" : "no",
154 "type" : "TLV",
155 "format" : "sequence",
156 "contents" : [ { "name" : "Type",
157 "format" : "guint16",
158 "public-format" : "QmiWdsVerboseCallEndReasonType" },
159 { "name" : "Reason",
160 "format" : "gint16" } ],
161 "prerequisites": [ { "field" : "Result.Error Status",
162 "operation" : "!=",
163 "value" : "QMI_STATUS_SUCCESS" },
164 { "field" : "Result.Error Code",
165 "operation" : "==",
166 "value" : "QMI_PROTOCOL_ERROR_CALL_FAILED" } ] } ] },
167
168 // *********************************************************************************
169 { "name" : "Stop Network",
170 "type" : "Message",
171 "service" : "WDS",
172 "id" : "0x0021",
173 "version" : "1.0",
174 "input" : [ { "name" : "Packet Data Handle",
175 "id" : "0x01",
176 "mandatory" : "yes",
177 "type" : "TLV",
178 "format" : "guint32" },
179 { "name" : "Disable Autoconnect",
180 "id" : "0x10",
181 "mandatory" : "no",
182 "type" : "TLV",
183 "format" : "guint8",
184 "public-format" : "gboolean" } ],
185 "output" : [ { "common-ref" : "Operation Result" } ] },
186
187 // *********************************************************************************
188 { "name" : "Get Packet Service Status",
189 "type" : "Message",
190 "service" : "WDS",
191 "id" : "0x0022",
192 "version" : "1.0",
193 "output" : [ { "common-ref" : "Operation Result" },
194 { "name" : "Connection Status",
195 "id" : "0x01",
196 "mandatory" : "yes",
197 "type" : "TLV",
198 "format" : "guint8",
199 "public-format" : "QmiWdsConnectionStatus",
200 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
201
202 // *********************************************************************************
203 { "name" : "Get Packet Statistics",
204 "type" : "Message",
205 "service" : "WDS",
206 "id" : "0x0024",
207 "version" : "1.0",
208 "input" : [ { "name" : "Mask",
209 "id" : "0x01",
210 "mandatory" : "yes",
211 "type" : "TLV",
212 "format" : "guint32",
213 "public-format" : "QmiWdsPacketStatisticsMaskFlag" } ],
214 "output" : [ { "common-ref" : "Operation Result" },
215 { "name" : "Tx Packets Ok",
216 "id" : "0x10",
217 "mandatory" : "no",
218 "type" : "TLV",
219 "format" : "guint32",
220 "prerequisites" : [ { "common-ref" : "Success" } ] },
221 { "name" : "Rx Packets Ok",
222 "id" : "0x11",
223 "mandatory" : "no",
224 "type" : "TLV",
225 "format" : "guint32",
226 "prerequisites" : [ { "common-ref" : "Success" } ] },
227 { "name" : "Tx Packets Error",
228 "id" : "0x12",
229 "mandatory" : "no",
230 "type" : "TLV",
231 "format" : "guint32",
232 "prerequisites" : [ { "common-ref" : "Success" } ] },
233 { "name" : "Rx Packets Error",
234 "id" : "0x13",
235 "mandatory" : "no",
236 "type" : "TLV",
237 "format" : "guint32",
238 "prerequisites" : [ { "common-ref" : "Success" } ] },
239 { "name" : "Tx Overflows",
240 "id" : "0x14",
241 "mandatory" : "no",
242 "type" : "TLV",
243 "format" : "guint32",
244 "prerequisites" : [ { "common-ref" : "Success" } ] },
245 { "name" : "Rx Overflows",
246 "id" : "0x15",
247 "mandatory" : "no",
248 "type" : "TLV",
249 "format" : "guint32",
250 "prerequisites" : [ { "common-ref" : "Success" } ] },
251 { "name" : "Tx Bytes Ok",
252 "id" : "0x19",
253 "mandatory" : "no",
254 "type" : "TLV",
255 "format" : "guint64",
256 "prerequisites" : [ { "common-ref" : "Success" } ] },
257 { "name" : "Rx Bytes Ok",
258 "id" : "0x1A",
259 "mandatory" : "no",
260 "type" : "TLV",
261 "format" : "guint64",
262 "prerequisites" : [ { "common-ref" : "Success" } ] },
263 { "name" : "Last Call Tx Bytes Ok",
264 "id" : "0x1B",
265 "mandatory" : "no",
266 "type" : "TLV",
267 "format" : "guint64",
268 "prerequisites" : [ { "common-ref" : "Success" } ] },
269 { "name" : "Last Call Rx Bytes Ok",
270 "id" : "0x1C",
271 "mandatory" : "no",
272 "type" : "TLV",
273 "format" : "guint64",
274 "prerequisites" : [ { "common-ref" : "Success" } ] },
275 { "name" : "Tx Packets Dropped",
276 "id" : "0x1D",
277 "mandatory" : "no",
278 "type" : "TLV",
279 "format" : "guint32",
280 "prerequisites" : [ { "common-ref" : "Success" } ] },
281 { "name" : "Rx Packets Dropped",
282 "id" : "0x1E",
283 "mandatory" : "no",
284 "type" : "TLV",
285 "format" : "guint32",
286 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
287
288 // *********************************************************************************
289 { "name" : "Get Profile List",
290 "type" : "Message",
291 "service" : "WDS",
292 "id" : "0x002A",
293 "version" : "1.1",
294 "input" : [ { "name" : "Profile Type",
295 "id" : "0x10",
296 "mandatory" : "no",
297 "type" : "TLV",
298 "format" : "guint8",
299 "public-format" : "QmiWdsProfileType" } ],
300 "output" : [ { "common-ref" : "Operation Result" },
301 { "name" : "Profile List",
302 "id" : "0x01",
303 "mandatory" : "yes",
304 "type" : "TLV",
305 "format" : "array",
306 "array-element" : { "name" : "Profile",
307 "format" : "struct",
308 "contents" : [ { "name" : "Profile Type",
309 "format" : "guint8",
310 "public-format" : "QmiWdsProfileType" },
311 { "name" : "Profile Index",
312 "format" : "guint8" },
313 { "name" : "Profile Name",
314 "format" : "string" } ] },
315 "prerequisites" : [ { "common-ref" : "Success" } ] },
316 { "name" : "Extended Error Code",
317 "id" : "0xE0",
318 "mandatory" : "no",
319 "type" : "TLV",
320 "format" : "guint16",
321 "public-format" : "QmiWdsDsProfileError",
322 "prerequisites" : [ { "field" : "Result.Error Status",
323 "operation" : "!=",
324 "value" : "QMI_STATUS_SUCCESS" },
325 { "field" : "Result.Error Code",
326 "operation" : "==",
327 "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
328
329 // *********************************************************************************
330 { "name" : "Get Profile Settings",
331 "type" : "Message",
332 "service" : "WDS",
333 "id" : "0x002B",
334 "version" : "1.1",
335 "input" : [ { "name" : "Profile ID",
336 "id" : "0x01",
337 "mandatory" : "yes",
338 "type" : "TLV",
339 "format" : "sequence",
340 "contents" : [ { "name" : "Profile Type",
341 "format" : "guint8",
342 "public-format" : "QmiWdsProfileType" },
343 { "name" : "Profile Index",
344 "format" : "guint8" } ] } ],
345 "output" : [ { "common-ref" : "Operation Result" },
346 { "name" : "Profile Name",
347 "id" : "0x10",
348 "mandatory" : "no",
349 "type" : "TLV",
350 "format" : "string",
351 "prerequisites" : [ { "common-ref" : "Success" } ] },
352 { "name" : "PDP Type",
353 "id" : "0x11",
354 "mandatory" : "no",
355 "type" : "TLV",
356 "format" : "guint8",
357 "public-format" : "QmiWdsPdpType",
358 "prerequisites" : [ { "common-ref" : "Success" } ] },
359 { "name" : "APN Name",
360 "id" : "0x14",
361 "mandatory" : "no",
362 "type" : "TLV",
363 "format" : "string",
364 "prerequisites" : [ { "common-ref" : "Success" } ] },
365 { "name" : "Primary IPv4 DNS Address",
366 "id" : "0x15",
367 "mandatory" : "no",
368 "type" : "TLV",
369 "endian" : "little",
370 "format" : "guint32",
371 "prerequisites" : [ { "common-ref" : "Success" } ] },
372 { "name" : "Secondary IPv4 DNS Address",
373 "id" : "0x16",
374 "mandatory" : "no",
375 "type" : "TLV",
376 "endian" : "little",
377 "format" : "guint32",
378 "prerequisites" : [ { "common-ref" : "Success" } ] },
379 // 0x17 UMTS Requested QoS
380 // 0x18 UMTS Minimum QoS
381 { "name" : "GPRS Requested QoS",
382 "id" : "0x19",
383 "mandatory" : "no",
384 "type" : "TLV",
385 "format" : "sequence",
386 "contents" : [ { "name" : "Precedence Class",
387 "format" : "guint32" },
388 { "name" : "Delay Class",
389 "format" : "guint32" },
390 { "name" : "Reliability Class",
391 "format" : "guint32" },
392 { "name" : "Peak Throughput Class",
393 "format" : "guint32" },
394 { "name" : "Mean Throughput Class",
395 "format" : "guint32" } ],
396 "prerequisites" : [ { "common-ref" : "Success" } ] },
397 { "name" : "GPRS Minimum QoS",
398 "id" : "0x1A",
399 "mandatory" : "no",
400 "type" : "TLV",
401 "format" : "sequence",
402 "contents" : [ { "name" : "Precedence Class",
403 "format" : "guint32" },
404 { "name" : "Delay Class",
405 "format" : "guint32" },
406 { "name" : "Reliability Class",
407 "format" : "guint32" },
408 { "name" : "Peak Throughput Class",
409 "format" : "guint32" },
410 { "name" : "Mean Throughput Class",
411 "format" : "guint32" } ],
412 "prerequisites" : [ { "common-ref" : "Success" } ] },
413 { "name" : "Username",
414 "id" : "0x1B",
415 "mandatory" : "no",
416 "type" : "TLV",
417 "format" : "string",
418 "prerequisites" : [ { "common-ref" : "Success" } ] },
419 { "name" : "Password",
420 "id" : "0x1C",
421 "mandatory" : "no",
422 "type" : "TLV",
423 "format" : "string",
424 "prerequisites" : [ { "common-ref" : "Success" } ] },
425 { "name" : "Authentication",
426 "id" : "0x1D",
427 "mandatory" : "no",
428 "type" : "TLV",
429 "format" : "guint8",
430 "public-format" : "QmiWdsAuthentication",
431 "prerequisites" : [ { "common-ref" : "Success" } ] },
432 { "name" : "IPv4 Address Preference",
433 "id" : "0x1E",
434 "mandatory" : "no",
435 "type" : "TLV",
436 "endian" : "little",
437 "format" : "guint32",
438 "prerequisites" : [ { "common-ref" : "Success" } ] },
439 { "name" : "PCSCF Address Using PCO",
440 "id" : "0x1F",
441 "mandatory" : "no",
442 "type" : "TLV",
443 "format" : "guint8",
444 "public-format" : "gboolean",
445 "prerequisites" : [ { "common-ref" : "Success" } ] },
446 // 0x20, PDP access control flag
447 { "name" : "PCSCF Address Using DHCP",
448 "id" : "0x21",
449 "mandatory" : "no",
450 "type" : "TLV",
451 "format" : "guint8",
452 "public-format" : "gboolean",
453 "prerequisites" : [ { "common-ref" : "Success" } ] },
454 { "name" : "IMCN Flag",
455 "id" : "0x22",
456 "mandatory" : "no",
457 "type" : "TLV",
458 "format" : "guint8",
459 "public-format" : "gboolean",
460 "prerequisites" : [ { "common-ref" : "Success" } ] },
461 // 0x23, TFT ID1 Parameters
462 // 0x24, TFT ID2 Parameters
463 // 0x25, PDP context number
464 // 0x26, PDP context secondary flag
465 // 0x27, PDP context primary id
466 { "name" : "IPv6 Address Preference",
467 "id" : "0x28",
468 "mandatory" : "no",
469 "type" : "TLV",
470 "format" : "sequence",
471 "contents" : [ { "name" : "Address",
472 "format" : "array",
473 "fixed-size" : "8",
474 "array-element" : { "format": "guint16", "endian": "network" } } ] },
475 // 0x29, UMTS requested QoS with Signaling Indication Flag
476 // 0x2A, UMTS minimum QoS with Signaling Indication Flag
477 { "name" : "IPv6 Primary DNS Address Preference",
478 "id" : "0x2B",
479 "mandatory" : "no",
480 "type" : "TLV",
481 "format" : "array",
482 "fixed-size": "8",
483 "array-element" : { "format": "guint16", "endian": "network" },
484 "prerequisites" : [ { "common-ref" : "Success" } ] },
485 { "name" : "IPv6 Secondary DNS Address Preference",
486 "id" : "0x2C",
487 "mandatory" : "no",
488 "type" : "TLV",
489 "format" : "array",
490 "fixed-size": "8",
491 "array-element" : { "format": "guint16", "endian": "network" },
492 "prerequisites" : [ { "common-ref" : "Success" } ] },
493 // 0x2D, DHCP/NAS Preference
494 // 0x2E, 3GPP LTE QoS Parameters
495 // 0x2F, APN disabled flag
496 // 0x30, PDN inactivity timeout
497 // 0x31, APN class
498 // 0x90, Negotiate DNS server preference
499 // 0x91, PPP session close timer for DO
500 // 0x92, PPP session close timer for 1X
501 // 0x93, Allow/disallow lingering of interface
502 // 0x94, LCP ACK timeout
503 // 0x95, IPCP ACK timeout
504 // 0x96, AUTH timeout
505 // 0x97, LCP configuration request retry count value
506 // 0x98, IPCP configuration request retry count value
507 // 0x99, Authentication retry
508 // 0x9A, Authentication protocol,
509 // 0x9B, User ID
510 // 0x9C, Authentication password
511 // 0x9D, Data rate
512 // 0x9E, Application type
513 // 0x9F, Data mode
514 // 0xA0, Application priority
515 // 0xA1, APN string
516 // 0xA2, PDN type
517 // 0xA3, Is PCSCF address needed
518 // 0xA4, IPv4 Primary DNS address
519 // 0xA5, IPv4 Secondary DNS address
520 // 0xA6, IPv6 Primary DNS address
521 // 0xA7, IPv6 Secondary DNS address
522 // 0xA8, RAT type
523 // 0xA9, APN enabled
524 // 0xAA, PDN inactivity timeout
525 // 0xAB, APN class
526 { "name" : "Extended Error Code",
527 "id" : "0xE0",
528 "mandatory" : "no",
529 "type" : "TLV",
530 "format" : "guint16",
531 "public-format" : "QmiWdsDsProfileError",
532 "prerequisites" : [ { "field" : "Result.Error Status",
533 "operation" : "!=",
534 "value" : "QMI_STATUS_SUCCESS" },
535 { "field" : "Result.Error Code",
536 "operation" : "==",
537 "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
538
539 // *********************************************************************************
540 { "name" : "Get Default Settings",
541 "type" : "Message",
542 "service" : "WDS",
543 "id" : "0x002C",
544 "version" : "1.1",
545 "input" : [ { "name" : "Profile Type",
546 "id" : "0x01",
547 "mandatory" : "yes",
548 "type" : "TLV",
549 "format" : "guint8",
550 "public-format" : "QmiWdsProfileType" } ],
551 "output" : [ { "common-ref" : "Operation Result" },
552 { "name" : "Profile Name",
553 "id" : "0x10",
554 "mandatory" : "no",
555 "type" : "TLV",
556 "format" : "string",
557 "prerequisites" : [ { "common-ref" : "Success" } ] },
558 { "name" : "PDP Type",
559 "id" : "0x11",
560 "mandatory" : "no",
561 "type" : "TLV",
562 "format" : "guint8",
563 "public-format" : "QmiWdsPdpType",
564 "prerequisites" : [ { "common-ref" : "Success" } ] },
565 { "name" : "APN Name",
566 "id" : "0x14",
567 "mandatory" : "no",
568 "type" : "TLV",
569 "format" : "string",
570 "prerequisites" : [ { "common-ref" : "Success" } ] },
571 { "name" : "Primary IPv4 DNS Address",
572 "id" : "0x15",
573 "mandatory" : "no",
574 "type" : "TLV",
575 "endian" : "little",
576 "format" : "guint32",
577 "prerequisites" : [ { "common-ref" : "Success" } ] },
578 { "name" : "Secondary IPv4 DNS Address",
579 "id" : "0x16",
580 "mandatory" : "no",
581 "type" : "TLV",
582 "endian" : "little",
583 "format" : "guint32",
584 "prerequisites" : [ { "common-ref" : "Success" } ] },
585 // 0x17 UMTS Requested QoS
586 // 0x18 UMTS Minimum QoS
587 { "name" : "GPRS Requested QoS",
588 "id" : "0x19",
589 "mandatory" : "no",
590 "type" : "TLV",
591 "format" : "sequence",
592 "contents" : [ { "name" : "Precedence Class",
593 "format" : "guint32" },
594 { "name" : "Delay Class",
595 "format" : "guint32" },
596 { "name" : "Reliability Class",
597 "format" : "guint32" },
598 { "name" : "Peak Throughput Class",
599 "format" : "guint32" },
600 { "name" : "Mean Throughput Class",
601 "format" : "guint32" } ],
602 "prerequisites" : [ { "common-ref" : "Success" } ] },
603 { "name" : "GPRS Minimum QoS",
604 "id" : "0x1A",
605 "mandatory" : "no",
606 "type" : "TLV",
607 "format" : "sequence",
608 "contents" : [ { "name" : "Precedence Class",
609 "format" : "guint32" },
610 { "name" : "Delay Class",
611 "format" : "guint32" },
612 { "name" : "Reliability Class",
613 "format" : "guint32" },
614 { "name" : "Peak Throughput Class",
615 "format" : "guint32" },
616 { "name" : "Mean Throughput Class",
617 "format" : "guint32" } ],
618 "prerequisites" : [ { "common-ref" : "Success" } ] },
619 { "name" : "Username",
620 "id" : "0x1B",
621 "mandatory" : "no",
622 "type" : "TLV",
623 "format" : "string",
624 "prerequisites" : [ { "common-ref" : "Success" } ] },
625 { "name" : "Password",
626 "id" : "0x1C",
627 "mandatory" : "no",
628 "type" : "TLV",
629 "format" : "string",
630 "prerequisites" : [ { "common-ref" : "Success" } ] },
631 { "name" : "Authentication",
632 "id" : "0x1D",
633 "mandatory" : "no",
634 "type" : "TLV",
635 "format" : "guint8",
636 "public-format" : "QmiWdsAuthentication",
637 "prerequisites" : [ { "common-ref" : "Success" } ] },
638 { "name" : "IPv4 Address Preference",
639 "id" : "0x1E",
640 "mandatory" : "no",
641 "type" : "TLV",
642 "endian" : "little",
643 "format" : "guint32",
644 "prerequisites" : [ { "common-ref" : "Success" } ] },
645 { "name" : "PCSCF Address Using PCO",
646 "id" : "0x1F",
647 "mandatory" : "no",
648 "type" : "TLV",
649 "format" : "guint8",
650 "public-format" : "gboolean",
651 "prerequisites" : [ { "common-ref" : "Success" } ] },
652 // 0x20, PDP access control flag
653 { "name" : "PCSCF Address Using DHCP",
654 "id" : "0x21",
655 "mandatory" : "no",
656 "type" : "TLV",
657 "format" : "guint8",
658 "public-format" : "gboolean",
659 "prerequisites" : [ { "common-ref" : "Success" } ] },
660 { "name" : "IMCN Flag",
661 "id" : "0x22",
662 "mandatory" : "no",
663 "type" : "TLV",
664 "format" : "guint8",
665 "public-format" : "gboolean",
666 "prerequisites" : [ { "common-ref" : "Success" } ] },
667 // 0x23, TFT ID1 Parameters
668 // 0x24, TFT ID2 Parameters
669 // 0x25, PDP context number
670 // 0x26, PDP context secondary flag
671 // 0x27, PDP context primary id
672 { "name" : "IPv6 Address Preference",
673 "id" : "0x28",
674 "mandatory" : "no",
675 "type" : "TLV",
676 "format" : "sequence",
677 "contents" : [ { "name" : "Address",
678 "format" : "array",
679 "fixed-size" : "8",
680 "array-element" : { "format": "guint16", "endian": "network" } } ] },
681 // 0x29, UMTS requested QoS with Signaling Indication Flag
682 // 0x2A, UMTS minimum QoS with Signaling Indication Flag
683 { "name" : "IPv6 Primary DNS Address Preference",
684 "id" : "0x2B",
685 "mandatory" : "no",
686 "type" : "TLV",
687 "format" : "array",
688 "fixed-size": "8",
689 "array-element" : { "format": "guint16", "endian": "network" },
690 "prerequisites" : [ { "common-ref" : "Success" } ] },
691 { "name" : "IPv6 Secondary DNS Address Preference",
692 "id" : "0x2C",
693 "mandatory" : "no",
694 "type" : "TLV",
695 "format" : "array",
696 "fixed-size": "8",
697 "array-element" : { "format": "guint16", "endian": "network" },
698 "prerequisites" : [ { "common-ref" : "Success" } ] },
699 // 0x2D, DHCP/NAS Preference
700 // 0x2E, 3GPP LTE QoS Parameters
701 // 0x2F, APN disabled flag
702 // 0x30, PDN inactivity timeout
703 // 0x31, APN class
704 // 0x90, Negotiate DNS server preference
705 // 0x91, PPP session close timer for DO
706 // 0x92, PPP session close timer for 1X
707 // 0x93, Allow/disallow lingering of interface
708 // 0x94, LCP ACK timeout
709 // 0x95, IPCP ACK timeout
710 // 0x96, AUTH timeout
711 // 0x97, LCP configuration request retry count value
712 // 0x98, IPCP configuration request retry count value
713 // 0x99, Authentication retry
714 // 0x9A, Authentication protocol,
715 // 0x9B, User ID
716 // 0x9C, Authentication password
717 // 0x9D, Data rate
718 // 0x9E, Application type
719 // 0x9F, Data mode
720 // 0xA0, Application priority
721 // 0xA1, APN string
722 // 0xA2, PDN type
723 // 0xA3, Is PCSCF address needed
724 // 0xA4, IPv4 Primary DNS address
725 // 0xA5, IPv4 Secondary DNS address
726 // 0xA6, IPv6 Primary DNS address
727 // 0xA7, IPv6 Secondary DNS address
728 // 0xA8, RAT type
729 // 0xA9, APN enabled
730 // 0xAA, PDN inactivity timeout
731 // 0xAB, APN class
732 { "name" : "Extended Error Code",
733 "id" : "0xE0",
734 "mandatory" : "no",
735 "type" : "TLV",
736 "format" : "guint16",
737 "public-format" : "QmiWdsDsProfileError",
738 "prerequisites" : [ { "field" : "Result.Error Status",
739 "operation" : "!=",
740 "value" : "QMI_STATUS_SUCCESS" },
741 { "field" : "Result.Error Code",
742 "operation" : "==",
743 "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
744
745 // *********************************************************************************
746 { "name" : "Get Current Settings",
747 "type" : "Message",
748 "service" : "WDS",
749 "id" : "0x002D",
750 "version" : "1.2",
751 "input" : [ { "name" : "Requested Settings",
752 "id" : "0x10",
753 "mandatory" : "yes",
754 "type" : "TLV",
755 "format" : "guint32",
756 "public-format" : "QmiWdsGetCurrentSettingsRequestedSettings" } ],
757 "output" : [ { "common-ref" : "Operation Result" },
758 { "name" : "Profile Name",
759 "id" : "0x10",
760 "mandatory" : "no",
761 "type" : "TLV",
762 "format" : "string",
763 "prerequisites" : [ { "common-ref" : "Success" } ] },
764 { "name" : "PDP Type",
765 "id" : "0x11",
766 "mandatory" : "no",
767 "type" : "TLV",
768 "format" : "guint8",
769 "public-format" : "QmiWdsPdpType",
770 "prerequisites" : [ { "common-ref" : "Success" } ] },
771 { "name" : "APN Name",
772 "id" : "0x14",
773 "mandatory" : "no",
774 "type" : "TLV",
775 "format" : "string",
776 "prerequisites" : [ { "common-ref" : "Success" } ] },
777 { "name" : "Primary IPv4 DNS Address",
778 "id" : "0x15",
779 "mandatory" : "no",
780 "type" : "TLV",
781 "endian" : "little",
782 "format" : "guint32",
783 "prerequisites" : [ { "common-ref" : "Success" } ] },
784 { "name" : "Secondary IPv4 DNS Address",
785 "id" : "0x16",
786 "mandatory" : "no",
787 "type" : "TLV",
788 "endian" : "little",
789 "format" : "guint32",
790 "prerequisites" : [ { "common-ref" : "Success" } ] },
791 { "name" : "GPRS Granted QoS",
792 "id" : "0x19",
793 "mandatory" : "no",
794 "type" : "TLV",
795 "format" : "sequence",
796 "contents" : [ { "name" : "Precedence Class",
797 "format" : "guint32" },
798 { "name" : "Delay Class",
799 "format" : "guint32" },
800 { "name" : "Reliability Class",
801 "format" : "guint32" },
802 { "name" : "Peak Throughput Class",
803 "format" : "guint32" },
804 { "name" : "Mean Throughput Class",
805 "format" : "guint32" } ],
806 "prerequisites" : [ { "common-ref" : "Success" } ] },
807 { "name" : "Username",
808 "id" : "0x1B",
809 "mandatory" : "no",
810 "type" : "TLV",
811 "format" : "string",
812 "prerequisites" : [ { "common-ref" : "Success" } ] },
813 { "name" : "Authentication",
814 "id" : "0x1D",
815 "mandatory" : "no",
816 "type" : "TLV",
817 "format" : "guint8",
818 "public-format" : "QmiWdsAuthentication",
819 "prerequisites" : [ { "common-ref" : "Success" } ] },
820 { "name" : "IPv4 Address",
821 "id" : "0x1E",
822 "mandatory" : "no",
823 "type" : "TLV",
824 "endian" : "little",
825 "format" : "guint32",
826 "prerequisites" : [ { "common-ref" : "Success" } ] },
827 { "name" : "Profile ID",
828 "id" : "0x1F",
829 "mandatory" : "no",
830 "type" : "TLV",
831 "format" : "sequence",
832 "contents" : [ { "name" : "Profile Type",
833 "format" : "guint8",
834 "public-format" : "QmiWdsProfileType" },
835 { "name" : "Profile Index",
836 "format" : "guint8" } ],
837 "prerequisites" : [ { "common-ref" : "Success" } ] },
838 { "name" : "IPv4 Gateway Address",
839 "id" : "0x20",
840 "mandatory" : "no",
841 "type" : "TLV",
842 "endian" : "little",
843 "format" : "guint32",
844 "prerequisites" : [ { "common-ref" : "Success" } ] },
845 { "name" : "IPv4 Gateway Subnet Mask",
846 "id" : "0x21",
847 "mandatory" : "no",
848 "type" : "TLV",
849 "endian" : "little",
850 "format" : "guint32",
851 "prerequisites" : [ { "common-ref" : "Success" } ] },
852 { "name" : "PCSCF Address Using PCO",
853 "id" : "0x22",
854 "mandatory" : "no",
855 "type" : "TLV",
856 "format" : "guint8",
857 "prerequisites" : [ { "common-ref" : "Success" } ] },
858 { "name" : "PCSCF Server Address List",
859 "id" : "0x23",
860 "mandatory" : "no",
861 "type" : "TLV",
862 "format" : "array",
863 "array-element" : { "name" : "IPv4 Address",
864 "endian" : "little",
865 "format" : "guint32" },
866 "prerequisites" : [ { "common-ref" : "Success" } ] },
867 { "name" : "PCSCF Domain Name List",
868 "id" : "0x24",
869 "mandatory" : "no",
870 "type" : "TLV",
871 "format" : "array",
872 "array-element" : { "name" : "FQDN",
873 "format" : "string",
874 "size-prefix-format" : "guint16" },
875 "prerequisites" : [ { "common-ref" : "Success" } ] },
876 { "name" : "IPv6 Address",
877 "id" : "0x25",
878 "mandatory" : "no",
879 "type" : "TLV",
880 "format" : "sequence",
881 "contents" : [ { "name" : "Address",
882 "format" : "array",
883 "fixed-size" : "8",
884 "array-element" : { "format": "guint16", "endian": "network" } },
885 { "name" : "Prefix Length",
886 "format" : "guint8" } ],
887 "prerequisites" : [ { "common-ref" : "Success" } ] },
888 { "name" : "IPv6 Gateway Address",
889 "id" : "0x26",
890 "mandatory" : "no",
891 "type" : "TLV",
892 "format" : "sequence",
893 "contents" : [ { "name" : "Address",
894 "format" : "array",
895 "fixed-size" : "8",
896 "array-element" : { "format": "guint16", "endian": "network" } },
897 { "name" : "Prefix Length",
898 "format" : "guint8" } ],
899 "prerequisites" : [ { "common-ref" : "Success" } ] },
900 { "name" : "IPv6 Primary DNS Address",
901 "id" : "0x27",
902 "mandatory" : "no",
903 "type" : "TLV",
904 "format" : "array",
905 "fixed-size": "8",
906 "array-element" : { "format": "guint16", "endian": "network" },
907 "prerequisites" : [ { "common-ref" : "Success" } ] },
908 { "name" : "IPv6 Secondary DNS Address",
909 "id" : "0x28",
910 "mandatory" : "no",
911 "type" : "TLV",
912 "format" : "array",
913 "fixed-size": "8",
914 "array-element" : { "format": "guint16", "endian": "network" },
915 "prerequisites" : [ { "common-ref" : "Success" } ] },
916 { "name" : "MTU",
917 "id" : "0x29",
918 "mandatory" : "no",
919 "type" : "TLV",
920 "format" : "guint32",
921 "prerequisites" : [ { "common-ref" : "Success" } ] },
922 { "name" : "Domain Name List",
923 "id" : "0x2A",
924 "mandatory" : "no",
925 "type" : "TLV",
926 "format" : "array",
927 "array-element" : { "name" : "Domain Name",
928 "format" : "string",
929 "size-prefix-format" : "guint16" },
930 "prerequisites" : [ { "common-ref" : "Success" } ] },
931 { "name" : "IP Family",
932 "id" : "0x2B",
933 "mandatory" : "no",
934 "type" : "TLV",
935 "format" : "guint8",
936 "public-format" : "QmiWdsIpFamily",
937 "prerequisites" : [ { "common-ref" : "Success" } ] },
938 { "name" : "IMCN Flag",
939 "id" : "0x2C",
940 "mandatory" : "no",
941 "type" : "TLV",
942 "format" : "gint8",
943 "prerequisites" : [ { "common-ref" : "Success" } ] },
944 { "name" : "Extended Technology Preference",
945 "id" : "0x2D",
946 "mandatory" : "no",
947 "type" : "TLV",
948 "format" : "guint16",
949 "public-format" : "QmiWdsExtendedTechnologyPreference",
950 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
951
952 // *********************************************************************************
953 { "name" : "Get Autoconnect Setting",
954 "type" : "Message",
955 "service" : "WDS",
956 "id" : "0x0034",
957 "version" : "1.0",
958 "output" : [ { "common-ref" : "Operation Result" },
959 { "name" : "Setting",
960 "id" : "0x01",
961 "mandatory" : "yes",
962 "type" : "TLV",
963 "format" : "gint8",
964 "public-format" : "QmiWdsAutoconnectSetting",
965 "prerequisites" : [ { "common-ref" : "Success" } ] },
966 { "name" : "Roaming",
967 "id" : "0x10",
968 "mandatory" : "no",
969 "type" : "TLV",
970 "format" : "gint8",
971 "public-format" : "gboolean",
972 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
973
974 // *********************************************************************************
975 { "name" : "Get Data Bearer Technology",
976 "type" : "Message",
977 "service" : "WDS",
978 "id" : "0x0037",
979 "version" : "1.12",
980 "output" : [ { "common-ref" : "Operation Result" },
981 { "name" : "Current",
982 "id" : "0x01",
983 "mandatory" : "yes",
984 "type" : "TLV",
985 "format" : "gint8",
986 "public-format" : "QmiWdsDataBearerTechnology",
987 "prerequisites" : [ { "common-ref" : "Success" } ] },
988 { "name" : "Last",
989 "id" : "0x10",
990 "mandatory" : "no",
991 "type" : "TLV",
992 "format" : "gint8",
993 "public-format" : "QmiWdsDataBearerTechnology",
994 "prerequisites" : [ { "field" : "Result.Error Status",
995 "operation" : "!=",
996 "value" : "QMI_STATUS_SUCCESS" },
997 { "field" : "Result.Error Code",
998 "operation" : "==",
999 "value" : "QMI_PROTOCOL_ERROR_OUT_OF_CALL" } ] } ] },
1000
1001 // *********************************************************************************
1002 { "name" : "Get Current Data Bearer Technology",
1003 "type" : "Message",
1004 "service" : "WDS",
1005 "id" : "0x0044",
1006 "version" : "1.4",
1007 "output" : [ { "common-ref" : "Operation Result" },
1008 { "name" : "Current",
1009 "id" : "0x01",
1010 "mandatory" : "yes",
1011 "type" : "TLV",
1012 "format" : "sequence",
1013 "contents" : [ { "name" : "Network Type",
1014 "format" : "guint8",
1015 "public-format" : "QmiWdsNetworkType" },
1016 { "name" : "RAT Mask",
1017 "format" : "guint32" },
1018 { "name" : "SO Mask",
1019 "format" : "guint32" } ],
1020 "prerequisites": [ { "common-ref" : "Success" } ] },
1021 { "name" : "Last",
1022 "id" : "0x10",
1023 "mandatory" : "no",
1024 "type" : "TLV",
1025 "format" : "sequence",
1026 "contents" : [ { "name" : "Network Type",
1027 "format" : "guint8",
1028 "public-format" : "QmiWdsNetworkType" },
1029 { "name" : "RAT Mask",
1030 "format" : "guint32" },
1031 { "name" : "SO Mask",
1032 "format" : "guint32" } ] } ] },
1033
1034 // *********************************************************************************
1035 { "name" : "Set IP Family",
1036 "type" : "Message",
1037 "service" : "WDS",
1038 "id" : "0x004D",
1039 "version" : "1.9",
1040 "input" : [ { "name" : "Preference",
1041 "id" : "0x01",
1042 "mandatory" : "yes",
1043 "type" : "TLV",
1044 "format" : "guint8",
1045 "public-format" : "QmiWdsIpFamily" } ],
1046 "output" : [ { "common-ref" : "Operation Result" } ] },
1047
1048
1049 // *********************************************************************************
1050 { "name" : "Set Autoconnect Setting",
1051 "type" : "Message",
1052 "service" : "WDS",
1053 "id" : "0x0051",
1054 "version" : "1.0",
1055 "input" : [ { "name" : "Setting",
1056 "id" : "0x01",
1057 "mandatory" : "yes",
1058 "type" : "TLV",
1059 "format" : "guint8",
1060 "public-format" : "QmiWdsAutoconnectSetting" },
1061 { "name" : "Roaming",
1062 "id" : "0x10",
1063 "mandatory" : "no",
1064 "type" : "TLV",
1065 "format" : "guint8",
1066 "public-format" : "gboolean" } ],
1067 "output" : [ { "common-ref" : "Operation Result" } ] }
1068
1069 ]