add initial prototype with a few commands
[project/uqmi.git] / data / qmi-service-nas.json
1
2 [
3   // *********************************************************************************
4   {  "name"    : "NAS",
5      "type"    : "Service" },
6
7   // *********************************************************************************
8   {  "name"    : "QMI Client NAS",
9      "type"    : "Client" },
10
11   // *********************************************************************************
12   {  "name"    : "QMI Message NAS",
13      "type"    : "Message-ID-Enum" },
14
15   // *********************************************************************************
16   {  "name"    : "QMI Indication NAS",
17      "type"    : "Indication-ID-Enum" },
18
19   // *********************************************************************************
20   {  "name"    : "Reset",
21      "type"    : "Message",
22      "service" : "NAS",
23      "id"      : "0x0000",
24      "version" : "1.0",
25      "output"  : [  { "common-ref" : "Operation Result" } ] },
26
27   // *********************************************************************************
28   {  "name"    : "Abort",
29      "type"    : "Message",
30      "service" : "NAS",
31      "id"      : "0x0001",
32      "version" : "1.0",
33      // This magic tag allows us to avoid creating a method in the client
34      "scope"   : "library-only",
35      "input"   : [  { "name"      : "Transaction ID",
36                       "id"        : "0x01",
37                       "mandatory" : "yes",
38                       "type"      : "TLV",
39                       "format"    : "guint16" } ],
40      "output"  : [  { "common-ref" : "Operation Result" } ] },
41
42   // *********************************************************************************
43   {  "name"    : "Set Event Report",
44      "type"    : "Message",
45      "service" : "NAS",
46      "id"      : "0x0002",
47      "version" : "1.0",
48      "input"   : [  { "name"      : "Signal Strength Indicator",
49                       "id"        : "0x10",
50                       "mandatory" : "no",
51                       "type"      : "TLV",
52                       "format"    : "sequence",
53                       "contents"  : [ { "name"          : "Report",
54                                         "format"        : "guint8",
55                                         "public-format" : "gboolean" },
56                                       { "name"          : "Thresholds",
57                                         "format"        : "array",
58                                         "array-element" : { "format" : "gint8" } } ] },
59                     { "name"          : "RF Band Information",
60                       "id"            : "0x11",
61                       "mandatory"     : "no",
62                       "type"          : "TLV",
63                       "format"        : "guint8",
64                       "public-format" : "gboolean" },
65                     { "name"          : "Registration Reject Reason",
66                       "id"            : "0x12",
67                       "mandatory"     : "no",
68                       "type"          : "TLV",
69                       "format"        : "guint8",
70                       "public-format" : "gboolean" },
71                     { "name"      : "RSSI Indicator",
72                       "id"        : "0x13",
73                       "mandatory" : "no",
74                       "type"      : "TLV",
75                       "format"    : "sequence",
76                       "contents"  : [ { "name"          : "Report",
77                                         "format"        : "guint8",
78                                         "public-format" : "gboolean" },
79                                       { "name"   : "RSSI Delta",
80                                         "format" : "guint8" } ] },
81                     { "name"      : "ECIO Indicator",
82                       "id"        : "0x14",
83                       "mandatory" : "no",
84                       "type"      : "TLV",
85                       "format"    : "sequence",
86                       "contents"  : [ { "name"          : "Report",
87                                         "format"        : "guint8",
88                                         "public-format" : "gboolean" },
89                                       { "name"   : "ECIO Delta",
90                                         "format" : "guint8" } ] },
91                     { "name"      : "IO Indicator",
92                       "id"        : "0x15",
93                       "mandatory" : "no",
94                       "type"      : "TLV",
95                       "format"    : "sequence",
96                       "contents"  : [ { "name"          : "Report",
97                                         "format"        : "guint8",
98                                         "public-format" : "gboolean" },
99                                       { "name"   : "IO Delta",
100                                         "format" : "guint8" } ] },
101                     { "name"      : "SINR Indicator",
102                       "id"        : "0x16",
103                       "mandatory" : "no",
104                       "type"      : "TLV",
105                       "format"    : "sequence",
106                       "contents"  : [ { "name"          : "Report",
107                                         "format"        : "guint8",
108                                         "public-format" : "gboolean" },
109                                       { "name"   : "SINR Delta",
110                                         "format" : "guint8" } ] },
111                     { "name"          : "Error Rate Indicator",
112                       "id"            : "0x17",
113                       "mandatory"     : "no",
114                       "type"          : "TLV",
115                       "format"        : "guint8",
116                       "public-format" : "gboolean" },
117                     { "name"      : "ECIO Threshold",
118                       "id"        : "0x19",
119                       "mandatory" : "no",
120                       "type"      : "TLV",
121                       "format"    : "sequence",
122                       "contents"  : [ { "name"          : "Report",
123                                         "format"        : "guint8",
124                                         "public-format" : "gboolean" },
125                                       { "name"          : "Thresholds",
126                                         "format"        : "array",
127                                         "array-element" : { "format" : "gint16" } } ] },
128                     { "name"      : "SINR Threshold",
129                       "id"        : "0x1A",
130                       "mandatory" : "no",
131                       "type"      : "TLV",
132                       "format"    : "sequence",
133                       "contents"  : [ { "name"          : "Report",
134                                         "format"        : "guint8",
135                                         "public-format" : "gboolean" },
136                                       { "name"          : "Thresholds",
137                                         "format"        : "array",
138                                         "array-element" : { "format" : "guint8" } } ] },
139                     { "name"      : "LTE SNR Delta",
140                       "id"        : "0x1B",
141                       "mandatory" : "no",
142                       "type"      : "TLV",
143                       "format"    : "sequence",
144                       "contents"  : [ { "name"          : "Report",
145                                         "format"        : "guint8",
146                                         "public-format" : "gboolean" },
147                                       { "name"          : "SNR Delta",
148                                         "format"        : "guint8" } ] },
149                     { "name"      : "LTE RSRP Delta",
150                       "id"        : "0x1C",
151                       "mandatory" : "no",
152                       "type"      : "TLV",
153                       "format"    : "sequence",
154                       "contents"  : [ { "name"          : "Report",
155                                         "format"        : "guint8",
156                                         "public-format" : "gboolean" },
157                                       { "name"          : "RSRP Delta",
158                                         "format"        : "guint8" } ] } ],
159      "output"  : [  { "common-ref" : "Operation Result" } ] },
160
161   {  "name"    : "Event Report",
162      "type"    : "Indication",
163      "service" : "NAS",
164      "id"      : "0x0002",
165      "output"  : [  { "name"      : "Signal Strength",
166                       "id"        : "0x10",
167                       "mandatory" : "no",
168                       "type"      : "TLV",
169                       "format"    : "sequence",
170                       "contents"  : [ { "name"   : "Strength",
171                                         "format" : "gint8" },
172                                       { "name"          : "Radio Interface",
173                                         "format"        : "gint8",
174                                         "public-format" : "QmiNasRadioInterface" } ] },
175                     { "name"               : "RF Band Information",
176                       "id"                 : "0x11",
177                       "mandatory"          : "no",
178                       "type"               : "TLV",
179                       "format"             : "array",
180                       "array-element"      : { "name"     : "Element",
181                                                "format"   : "struct",
182                                                "contents" : [ { "name"          : "Radio Interface",
183                                                                 "format"        : "gint8",
184                                                                 "public-format" : "QmiNasRadioInterface" },
185                                                               { "name"          : "Active Band Class",
186                                                                 "format"        : "guint16",
187                                                                 "public-format" : "QmiNasActiveBand" },
188                                                               { "name"          : "Active Channel",
189                                                                 "format"        : "guint16" } ] } },
190                     { "name"      : "Registration Reject Reason",
191                       "id"        : "0x12",
192                       "mandatory" : "no",
193                       "type"      : "TLV",
194                       "format"    : "sequence",
195                       "contents"  : [ { "name"          : "Service Domain",
196                                         "format"        : "guint8",
197                                         "public-format" : "QmiNasNetworkServiceDomain" },
198                                       { "name"   : "Reject Cause",
199                                         "format" : "guint16" } ] },
200                     { "name"      : "RSSI",
201                       "id"        : "0x13",
202                       "mandatory" : "no",
203                       "type"      : "TLV",
204                       "format"    : "sequence",
205                       "contents"  : [ { "name"   : "RSSI",
206                                         "format" : "guint8" },
207                                       { "name"          : "Radio Interface",
208                                         "format"        : "gint8",
209                                         "public-format" : "QmiNasRadioInterface" } ] },
210                     { "name"      : "ECIO",
211                       "id"        : "0x14",
212                       "mandatory" : "no",
213                       "type"      : "TLV",
214                       "format"    : "sequence",
215                       "contents"  : [ { "name"   : "ECIO",
216                                         "format" : "gint8" },
217                                       { "name"          : "Radio Interface",
218                                         "format"        : "gint8",
219                                         "public-format" : "QmiNasRadioInterface" } ] },
220                     { "name"      : "IO",
221                       "id"        : "0x15",
222                       "mandatory" : "no",
223                       "type"      : "TLV",
224                       "format"    : "gint32" },
225                     { "name"          : "SINR",
226                       "id"            : "0x16",
227                       "mandatory"     : "no",
228                       "type"          : "TLV",
229                       "format"        : "guint8",
230                       "public-format" : "QmiNasEvdoSinrLevel" },
231                     { "name"      : "Error Rate",
232                       "id"        : "0x17",
233                       "mandatory" : "no",
234                       "type"      : "TLV",
235                       "format"    : "sequence",
236                       "contents"  : [ { "name"   : "Rate",
237                                         "format" : "guint16" },
238                                       { "name"          : "Radio Interface",
239                                         "format"        : "gint8",
240                                         "public-format" : "QmiNasRadioInterface" } ] },
241                     { "name"      : "RSRQ",
242                       "id"        : "0x18",
243                       "mandatory" : "no",
244                       "type"      : "TLV",
245                       "format"    : "sequence",
246                       "contents"  : [ { "name"   : "RSRQ",
247                                         "format" : "gint8" },
248                                       { "name"          : "Radio Interface",
249                                         "format"        : "gint8",
250                                         "public-format" : "QmiNasRadioInterface" } ] },
251                     { "name"      : "LTE SNR",
252                       "id"        : "0x19",
253                       "mandatory" : "no",
254                       "type"      : "TLV",
255                       "format"    : "gint16" },
256                     { "name"      : "LTE RSRP",
257                       "id"        : "0x1A",
258                       "mandatory" : "no",
259                       "type"      : "TLV",
260                       "format"    : "gint16" } ] },
261
262   // *********************************************************************************
263   {  "name"    : "Register Indications",
264      "type"    : "Message",
265      "service" : "NAS",
266      "id"      : "0x0003",
267      "version" : "1.1",
268      "input"   : [  { "name"          : "System Selection Preference",
269                       "id"            : "0x10",
270                       "mandatory"     : "no",
271                       "type"          : "TLV",
272                       "format"        : "guint8",
273                       "public-format" : "gboolean" },
274                     { "name"          : "DDTM Events",
275                       "id"            : "0x12",
276                       "mandatory"     : "no",
277                       "type"          : "TLV",
278                       "format"        : "guint8",
279                       "public-format" : "gboolean" },
280                     { "name"          : "Serving System Events",
281                       "id"            : "0x13",
282                       "mandatory"     : "no",
283                       "type"          : "TLV",
284                       "format"        : "guint8",
285                       "public-format" : "gboolean" },
286                     { "name"          : "Dual Standby Preference",
287                       "id"            : "0x14",
288                       "mandatory"     : "no",
289                       "type"          : "TLV",
290                       "format"        : "guint8",
291                       "public-format" : "gboolean" },
292                     { "name"          : "Subscription Info",
293                       "id"            : "0x15",
294                       "mandatory"     : "no",
295                       "type"          : "TLV",
296                       "format"        : "guint8",
297                       "public-format" : "gboolean" },
298                     { "name"          : "Network Time",
299                       "id"            : "0x17",
300                       "mandatory"     : "no",
301                       "type"          : "TLV",
302                       "format"        : "guint8",
303                       "public-format" : "gboolean" },
304                     { "name"          : "System Info",
305                       "id"            : "0x18",
306                       "mandatory"     : "no",
307                       "type"          : "TLV",
308                       "format"        : "guint8",
309                       "public-format" : "gboolean" },
310                     { "name"          : "Signal Info",
311                       "id"            : "0x19",
312                       "mandatory"     : "no",
313                       "type"          : "TLV",
314                       "format"        : "guint8",
315                       "public-format" : "gboolean" },
316                     { "name"          : "Error Rate",
317                       "id"            : "0x1A",
318                       "mandatory"     : "no",
319                       "type"          : "TLV",
320                       "format"        : "guint8",
321                       "public-format" : "gboolean" },
322                     { "name"          : "HDR New UATI Assigned",
323                       "id"            : "0x1B",
324                       "mandatory"     : "no",
325                       "type"          : "TLV",
326                       "format"        : "guint8",
327                       "public-format" : "gboolean" },
328                     { "name"          : "HDR Session Closed",
329                       "id"            : "0x1C",
330                       "mandatory"     : "no",
331                       "type"          : "TLV",
332                       "format"        : "guint8",
333                       "public-format" : "gboolean" },
334                     { "name"          : "Managed Roaming",
335                       "id"            : "0x1D",
336                       "mandatory"     : "no",
337                       "type"          : "TLV",
338                       "format"        : "guint8",
339                       "public-format" : "gboolean" },
340                     { "name"          : "Current PLMN Name",
341                       "id"            : "0x1E",
342                       "mandatory"     : "no",
343                       "type"          : "TLV",
344                       "format"        : "guint8",
345                       "public-format" : "gboolean" },
346                     { "name"          : "eMBMS Status",
347                       "id"            : "0x1F",
348                       "mandatory"     : "no",
349                       "type"          : "TLV",
350                       "format"        : "guint8",
351                       "public-format" : "gboolean" },
352                     { "name"          : "RF Band Information",
353                       "id"            : "0x20",
354                       "mandatory"     : "no",
355                       "type"          : "TLV",
356                       "format"        : "guint8",
357                       "public-format" : "gboolean" } ],
358      "output"  : [  { "common-ref" : "Operation Result" } ] },
359
360   // *********************************************************************************
361   {  "name"    : "Get Signal Strength",
362      "type"    : "Message",
363      "service" : "NAS",
364      "id"      : "0x0020",
365      "version" : "1.0",
366      "input"   : [  { "name"          : "Request Mask",
367                       "id"            : "0x10",
368                       "mandatory"     : "no",
369                       "type"          : "TLV",
370                       "format"        : "guint16",
371                       "public-format" : "QmiNasSignalStrengthRequest" } ],
372      "output"  : [  { "common-ref" : "Operation Result" },
373                     { "name"      : "Signal Strength",
374                       "id"        : "0x01",
375                       "mandatory" : "yes",
376                       "type"      : "TLV",
377                       "format"    : "sequence",
378                       "contents"  : [ { "name"   : "Strength",
379                                         "format" : "gint8" },
380                                       { "name"          : "Radio Interface",
381                                         "format"        : "gint8",
382                                         "public-format" : "QmiNasRadioInterface" } ],
383                       "prerequisites": [ { "common-ref" : "Success" } ] },
384                     { "name"               : "Strength List",
385                       "id"                 : "0x10",
386                       "mandatory"          : "no",
387                       "type"               : "TLV",
388                       "format"             : "array",
389                       "size-prefix-format" : "guint16",
390                       "array-element"      : { "name"     : "Element",
391                                                "format"   : "struct",
392                                                "contents" : [ { "name" : "Strength",
393                                                                 "format" : "gint8" },
394                                                               { "name"          : "Radio Interface",
395                                                                 "format"        : "gint8",
396                                                                 "public-format" : "QmiNasRadioInterface" } ] } },
397                     { "name"               : "RSSI List",
398                       "id"                 : "0x11",
399                       "mandatory"          : "no",
400                       "type"               : "TLV",
401                       "format"             : "array",
402                       "size-prefix-format" : "guint16",
403                       "array-element"      : { "name"     : "Element",
404                                                "format"   : "struct",
405                                                "contents" : [ { "name"   : "RSSI",
406                                                                 "format" : "guint8" },
407                                                               { "name"          : "Radio Interface",
408                                                                 "format"        : "gint8",
409                                                                 "public-format" : "QmiNasRadioInterface" } ] } },
410                     { "name"               : "ECIO List",
411                       "id"                 : "0x12",
412                       "mandatory"          : "no",
413                       "type"               : "TLV",
414                       "format"             : "array",
415                       "size-prefix-format" : "guint16",
416                       "array-element"      : { "name"     : "Element",
417                                                "format"   : "struct",
418                                                "contents" : [ { "name"   : "ECIO",
419                                                                 "format" : "gint8" },
420                                                               { "name"          : "Radio Interface",
421                                                                 "format"        : "gint8",
422                                                                 "public-format" : "QmiNasRadioInterface" } ] } },
423                     { "name"      : "IO",
424                       "id"        : "0x13",
425                       "mandatory" : "no",
426                       "type"      : "TLV",
427                       "format"    : "gint32" },
428                     { "name"          : "SINR",
429                       "id"            : "0x14",
430                       "mandatory"     : "no",
431                       "type"          : "TLV",
432                       "format"        : "guint8",
433                       "public-format" : "QmiNasEvdoSinrLevel" },
434                     { "name"               : "Error Rate List",
435                       "id"                 : "0x15",
436                       "mandatory"          : "no",
437                       "type"               : "TLV",
438                       "format"             : "array",
439                       "size-prefix-format" : "guint16",
440                       "array-element"      : { "name"     : "Element",
441                                                "format"   : "struct",
442                                                "contents" : [ { "name"   : "Rate",
443                                                                 "format" : "guint16" },
444                                                               { "name"          : "Radio Interface",
445                                                                 "format"        : "gint8",
446                                                                 "public-format" : "QmiNasRadioInterface" } ] } },
447                     { "name"      : "RSRQ",
448                       "id"        : "0x16",
449                       "mandatory" : "no",
450                       "type"      : "TLV",
451                       "format"    : "sequence",
452                       "contents"  : [ { "name"   : "RSRQ",
453                                         "format" : "gint8" },
454                                       { "name"          : "Radio Interface",
455                                         "format"        : "gint8",
456                                         "public-format" : "QmiNasRadioInterface" } ] },
457                     { "name"      : "LTE SNR",
458                       "id"        : "0x17",
459                       "mandatory" : "no",
460                       "type"      : "TLV",
461                       "format"    : "gint16" },
462                     { "name"      : "LTE RSRP",
463                       "id"        : "0x18",
464                       "mandatory" : "no",
465                       "type"      : "TLV",
466                       "format"    : "gint16" } ] },
467
468   // *********************************************************************************
469   {  "name"    : "Network Scan",
470      "type"    : "Message",
471      "service" : "NAS",
472      "id"      : "0x0021",
473      "version" : "1.0",
474      // This method may be aborted
475      "abort"   : "yes",
476      "input"   : [  { "name"          : "Network Type",
477                       "id"            : "0x10",
478                       "mandatory"     : "no",
479                       "type"          : "TLV",
480                       "format"        : "guint8",
481                       "public-format" : "QmiNasNetworkScanType" } ],
482      "output"  : [  { "common-ref" : "Operation Result" },
483                     { "name"               : "Network Information",
484                       "id"                 : "0x10",
485                       "mandatory"          : "no",
486                       "type"               : "TLV",
487                       "format"             : "array",
488                       "size-prefix-format" : "guint16",
489                       "array-element"      : { "name"     : "Element",
490                                                "format"   : "struct",
491                                                "contents" : [ { "name"   : "MCC",
492                                                                 "format" : "guint16" },
493                                                               { "name"   : "MNC",
494                                                                 "format" : "guint16" },
495                                                               { "name"          : "Network Status",
496                                                                 "format"        : "guint8",
497                                                                 "public-format" : "QmiNasNetworkStatus" },
498                                                               { "name"   : "Description",
499                                                                 "format" : "string" } ] } },
500                     { "name"               : "Radio Access Technology",
501                       "id"                 : "0x11",
502                       "mandatory"          : "no",
503                       "type"               : "TLV",
504                       "format"             : "array",
505                       "size-prefix-format" : "guint16",
506                       "array-element"      : { "name"     : "Element",
507                                                "format"   : "struct",
508                                                "contents" : [ { "name"   : "MCC",
509                                                                 "format" : "guint16" },
510                                                               { "name"   : "MNC",
511                                                                 "format" : "guint16" },
512                                                               { "name"          : "Radio Interface",
513                                                                 "format"        : "gint8",
514                                                                 "public-format" : "QmiNasRadioInterface" } ] } },
515                     { "name"               : "MNC PCS Digit Include Status",
516                       "id"                 : "0x12",
517                       "mandatory"          : "no",
518                       "type"               : "TLV",
519                       "format"             : "array",
520                       "size-prefix-format" : "guint16",
521                       "array-element"      : { "name"     : "Element",
522                                                "format"   : "struct",
523                                                "contents" : [ { "name"   : "MCC",
524                                                                 "format" : "guint16" },
525                                                               { "name"   : "MNC",
526                                                                 "format" : "guint16" },
527                                                               { "name"          : "Includes PCS Digit",
528                                                                 "format"        : "guint8",
529                                                                 "public-format" : "gboolean" } ] } } ] },
530
531   // *********************************************************************************
532   {  "name"    : "Initiate Network Register",
533      "type"    : "Message",
534      "service" : "NAS",
535      "id"      : "0x0022",
536      "version" : "1.0",
537      "input"   : [  { "name"          : "Action",
538                       "id"            : "0x01",
539                       "mandatory"     : "yes",
540                       "type"          : "TLV",
541                       "format"        : "guint8",
542                       "public-format" : "QmiNasNetworkRegisterType" },
543                     { "name"      : "Manual Registration Info 3GPP",
544                       "id"        : "0x10",
545                       "mandatory" : "no",
546                       "type"      : "TLV",
547                       "format"    : "sequence",
548                       "contents"  : [ { "name"   : "MCC",
549                                         "format" : "guint16" },
550                                       { "name"   : "MNC",
551                                         "format" : "guint16" },
552                                       { "name"          : "Radio Interface",
553                                         "format"        : "gint8",
554                                         "public-format" : "QmiNasRadioInterface" } ] },
555                     { "name"          : "Change Duration",
556                       "id"            : "0x11",
557                       "mandatory"     : "no",
558                       "type"          : "TLV",
559                       "format"        : "guint8",
560                       "public-format" : "QmiNasChangeDuration" },
561                     { "name"          : "MNC PCS Digit Include Status",
562                       "id"            : "0x12",
563                       "mandatory"     : "no",
564                       "type"          : "TLV",
565                       "format"        : "guint8",
566                       "public-format" : "gboolean" } ],
567      "output"  : [  { "common-ref" : "Operation Result" } ] },
568
569   // *********************************************************************************
570   {  "name"    : "Get Serving System",
571      "type"    : "Message",
572      "service" : "NAS",
573      "id"      : "0x0024",
574      "version" : "1.0",
575      "output"  : [  { "common-ref" : "Operation Result" },
576                     { "name"      : "Serving System",
577                       "id"        : "0x01",
578                       "mandatory" : "yes",
579                       "type"      : "TLV",
580                       "format"    : "sequence",
581                       "contents"  : [ { "name"          : "Registration State",
582                                         "format"        : "guint8",
583                                         "public-format" : "QmiNasRegistrationState" },
584                                       { "name"          : "CS Attach State",
585                                         "format"        : "guint8",
586                                         "public-format" : "QmiNasAttachState" },
587                                       { "name"          : "PS Attach State",
588                                         "format"        : "guint8",
589                                         "public-format" : "QmiNasAttachState" },
590                                       { "name"          : "Selected Network",
591                                         "format"        : "guint8",
592                                         "public-format" : "QmiNasNetworkType" },
593                                       { "name"          : "Radio Interfaces",
594                                         "format"        : "array",
595                                         "array-element" : { "format"        : "gint8",
596                                                             "public-format" : "QmiNasRadioInterface" } } ],
597                       "prerequisites": [ { "common-ref" : "Success" } ] },
598                     { "name"          : "Roaming Indicator",
599                       "id"            : "0x10",
600                       "mandatory"     : "no",
601                       "type"          : "TLV",
602                       "format"        : "guint8",
603                       "public-format" : "QmiNasRoamingIndicatorStatus" },
604                     { "name"          : "Data Service Capability",
605                       "id"            : "0x11",
606                       "mandatory"     : "no",
607                       "type"          : "TLV",
608                       "format"        : "array",
609                       "array-element" : { "format"        : "guint8",
610                                           "public-format" : "QmiNasDataCapability" } },
611                     { "name"      : "Current PLMN",
612                       "id"        : "0x12",
613                       "mandatory" : "no",
614                       "type"      : "TLV",
615                       "format"    : "sequence",
616                       "contents"  : [ { "name"   : "MCC",
617                                         "format" : "guint16" },
618                                       { "name"   : "MNC",
619                                         "format" : "guint16" },
620                                       { "name"   : "Description",
621                                         "format" : "string" } ] },
622                     { "name"      : "CDMA System ID",
623                       "id"        : "0x13",
624                       "mandatory" : "no",
625                       "type"      : "TLV",
626                       "format"    : "sequence",
627                       "contents"  : [ { "name"   : "SID",
628                                         "format" : "guint16" },
629                                       { "name"   : "NID",
630                                         "format" : "guint16" } ] },
631                     { "name"      : "CDMA Base Station Info",
632                       "id"        : "0x14",
633                       "mandatory" : "no",
634                       "type"      : "TLV",
635                       "format"    : "sequence",
636                       "contents"  : [ { "name"   : "Base Station ID",
637                                         "format" : "guint16" },
638                                       { "name"   : "Base Station Latitude",
639                                         "format" : "gint32" },
640                                       { "name"   : "Base Station Longitude",
641                                         "format" : "gint32" } ] },
642                     { "name"      : "Roaming Indicator List",
643                       "id"        : "0x15",
644                       "mandatory" : "no",
645                       "type"      : "TLV",
646                       "format"        : "array",
647                       "array-element" : { "name"     : "Element",
648                                           "format"   : "struct",
649                                           "contents" : [ { "name"          : "Radio Interface",
650                                                            "format"        : "guint8",
651                                                            "public-format" : "QmiNasRadioInterface" },
652                                                          { "name"          : "Roaming Indicator",
653                                                            "format"        : "guint8",
654                                                            "public-format" : "QmiNasRoamingIndicatorStatus" } ] } },
655                     { "name"          : "Default Roaming Indicator",
656                       "id"            : "0x16",
657                       "mandatory"     : "no",
658                       "type"          : "TLV",
659                       "format"        : "guint8",
660                       "public-format" : "QmiNasRoamingIndicatorStatus" },
661                     { "name"      : "Time Zone 3GPP2",
662                       "id"        : "0x17",
663                       "mandatory" : "no",
664                       "type"      : "TLV",
665                       "format"    : "sequence",
666                       "contents"  : [ { "name"   : "Leap Seconds",
667                                         "format" : "guint8" },
668                                       { "name"   : "Local Time Offset",
669                                         "format" : "gint8" },
670                                       { "name"          : "Daylight Saving Time",
671                                         "format"        : "guint8",
672                                         "public-format" : "gboolean" } ] },
673                     { "name"      : "CDMA P Rev",
674                       "id"        : "0x18",
675                       "mandatory" : "no",
676                       "type"      : "TLV",
677                       "format"    : "guint8" },
678                     { "name"      : "Time Zone 3GPP",
679                       "id"        : "0x1A",
680                       "mandatory" : "no",
681                       "type"      : "TLV",
682                       "format"    : "gint8" },
683                     { "name"      : "Daylight Saving Time Adjustment 3GPP",
684                       "id"        : "0x1B",
685                       "mandatory" : "no",
686                       "type"      : "TLV",
687                       "format"    : "guint8" },
688                     { "name"      : "LAC 3GPP",
689                       "id"        : "0x1C",
690                       "mandatory" : "no",
691                       "type"      : "TLV",
692                       "format"    : "guint16" },
693                     { "name"      : "CID 3GPP",
694                       "id"        : "0x1D",
695                       "mandatory" : "no",
696                       "type"      : "TLV",
697                       "format"    : "guint32" },
698                     { "name"          : "Concurrent Service Info 3GPP2",
699                       "id"            : "0x1E",
700                       "mandatory"     : "no",
701                       "type"          : "TLV",
702                       "format"        : "guint8",
703                       "public-format" : "gboolean"},
704                     { "name"          : "PRL Indicator 3GPP2",
705                       "id"            : "0x1F",
706                       "mandatory"     : "no",
707                       "type"          : "TLV",
708                       "format"        : "guint8",
709                       "public-format" : "gboolean"},
710                     { "name"          : "DTM Support",
711                       "id"            : "0x20",
712                       "mandatory"     : "no",
713                       "type"          : "TLV",
714                       "format"        : "guint8",
715                       "public-format" : "gboolean"},
716                     { "name"      : "Detailed Service Status",
717                       "id"        : "0x21",
718                       "mandatory" : "no",
719                       "type"      : "TLV",
720                       "format"    : "sequence",
721                       "contents"  : [ { "name"          : "Status",
722                                         "format"        : "guint8",
723                                         "public-format" : "QmiNasServiceStatus" },
724                                       { "name"          : "Capability",
725                                         "format"        : "guint8",
726                                         "public-format" : "QmiNasNetworkServiceDomain" },
727                                       { "name"          : "HDR Status",
728                                         "format"        : "guint8",
729                                         "public-format" : "QmiNasServiceStatus" },
730                                       { "name"          : "HDR Hybrid",
731                                         "format"        : "guint8",
732                                         "public-format" : "gboolean" },
733                                       { "name"          : "Forbidden",
734                                         "format"        : "guint8",
735                                         "public-format" : "gboolean" } ] },
736                     { "name"      : "CDMA System Info",
737                       "id"        : "0x22",
738                       "mandatory" : "no",
739                       "type"      : "TLV",
740                       "format"    : "sequence",
741                       "contents"  : [ { "name"   : "MCC",
742                                         "format" : "guint16" },
743                                       { "name"   : "IMSI_11_12",
744                                         "format" : "guint8" } ] },
745                     { "name"          : "HDR Personality",
746                       "id"            : "0x23",
747                       "mandatory"     : "no",
748                       "type"          : "TLV",
749                       "format"        : "guint8",
750                       "public-format" : "QmiNasHdrPersonality"},
751                     { "name"      : "LTE TAC",
752                       "id"        : "0x24",
753                       "mandatory" : "no",
754                       "type"      : "TLV",
755                       "format"    : "guint16" },
756                     { "name"      : "Call Barring Status",
757                       "id"        : "0x25",
758                       "mandatory" : "no",
759                       "type"      : "TLV",
760                       "format"    : "sequence",
761                       "contents"  : [ { "name"          : "CS Status",
762                                         "format"        : "gint32",
763                                         "public-format" : "QmiNasCallBarringStatus" },
764                                       { "name"          : "PS Status",
765                                         "format"        : "gint32",
766                                         "public-format" : "QmiNasCallBarringStatus" } ] },
767                     { "name"      : "UMTS Primary Scrambling Code",
768                       "id"        : "0x26",
769                       "mandatory" : "no",
770                       "type"      : "TLV",
771                       "format"    : "guint16" },
772                     { "name"      : "MNC PCS Digit Include Status",
773                       "id"        : "0x27",
774                       "mandatory" : "no",
775                       "type"      : "TLV",
776                       "format"    : "sequence",
777                       "contents"  : [ { "name"   : "MCC",
778                                         "format" : "guint16" },
779                                       { "name"   : "MNC",
780                                         "format" : "guint16" },
781                                       { "name"          : "Includes PCS Digit",
782                                         "format"        : "guint8",
783                                         "public-format" : "gboolean" } ] } ] },
784
785   {  "name"    : "Serving System",
786      "type"    : "Indication",
787      "service" : "NAS",
788      "id"      : "0x0024",
789      "version" : "1.0",
790      "output"  : [  { "name"      : "Serving System",
791                       "id"        : "0x01",
792                       "mandatory" : "yes",
793                       "type"      : "TLV",
794                       "format"    : "sequence",
795                       "contents"  : [ { "name"          : "Registration State",
796                                         "format"        : "guint8",
797                                         "public-format" : "QmiNasRegistrationState" },
798                                       { "name"          : "CS Attach State",
799                                         "format"        : "guint8",
800                                         "public-format" : "QmiNasAttachState" },
801                                       { "name"          : "PS Attach State",
802                                         "format"        : "guint8",
803                                         "public-format" : "QmiNasAttachState" },
804                                       { "name"          : "Selected Network",
805                                         "format"        : "guint8",
806                                         "public-format" : "QmiNasNetworkType" },
807                                       { "name"          : "Radio Interfaces",
808                                         "format"        : "array",
809                                         "array-element" : { "format"        : "gint8",
810                                                             "public-format" : "QmiNasRadioInterface" } } ] },
811                     { "name"          : "Roaming Indicator",
812                       "id"            : "0x10",
813                       "mandatory"     : "no",
814                       "type"          : "TLV",
815                       "format"        : "guint8",
816                       "public-format" : "QmiNasRoamingIndicatorStatus" },
817                     { "name"          : "Data Service Capability",
818                       "id"            : "0x11",
819                       "mandatory"     : "no",
820                       "type"          : "TLV",
821                       "format"        : "array",
822                       "array-element" : { "format"        : "guint8",
823                                           "public-format" : "QmiNasDataCapability" } },
824                     { "name"      : "Current PLMN",
825                       "id"        : "0x12",
826                       "mandatory" : "no",
827                       "type"      : "TLV",
828                       "format"    : "sequence",
829                       "contents"  : [ { "name"   : "MCC",
830                                         "format" : "guint16" },
831                                       { "name"   : "MNC",
832                                         "format" : "guint16" },
833                                       { "name"   : "Description",
834                                         "format" : "string" } ] },
835                     { "name"      : "CDMA System ID",
836                       "id"        : "0x13",
837                       "mandatory" : "no",
838                       "type"      : "TLV",
839                       "format"    : "sequence",
840                       "contents"  : [ { "name"   : "SID",
841                                         "format" : "guint16" },
842                                       { "name"   : "NID",
843                                         "format" : "guint16" } ] },
844                     { "name"      : "CDMA Base Station Info",
845                       "id"        : "0x14",
846                       "mandatory" : "no",
847                       "type"      : "TLV",
848                       "format"    : "sequence",
849                       "contents"  : [ { "name"   : "Base Station ID",
850                                         "format" : "guint16" },
851                                       { "name"   : "Base Station Latitude",
852                                         "format" : "gint32" },
853                                       { "name"   : "Base Station Longitude",
854                                         "format" : "gint32" } ] },
855                     { "name"      : "Roaming Indicator List",
856                       "id"        : "0x15",
857                       "mandatory" : "no",
858                       "type"      : "TLV",
859                       "format"        : "array",
860                       "array-element" : { "name"     : "Element",
861                                           "format"   : "struct",
862                                           "contents" : [ { "name"          : "Radio Interface",
863                                                            "format"        : "guint8",
864                                                            "public-format" : "QmiNasRadioInterface" },
865                                                          { "name"          : "Roaming Indicator",
866                                                            "format"        : "guint8",
867                                                            "public-format" : "QmiNasRoamingIndicatorStatus" } ] } },
868                     { "name"          : "Default Roaming Indicator",
869                       "id"            : "0x16",
870                       "mandatory"     : "no",
871                       "type"          : "TLV",
872                       "format"        : "guint8",
873                       "public-format" : "QmiNasRoamingIndicatorStatus" },
874                     { "name"      : "Time Zone 3GPP2",
875                       "id"        : "0x17",
876                       "mandatory" : "no",
877                       "type"      : "TLV",
878                       "format"    : "sequence",
879                       "contents"  : [ { "name"   : "Leap Seconds",
880                                         "format" : "guint8" },
881                                       { "name"   : "Local Time Offset",
882                                         "format" : "gint8" },
883                                       { "name"          : "Daylight Saving Time",
884                                         "format"        : "guint8",
885                                         "public-format" : "gboolean" } ] },
886                     { "name"      : "CDMA P Rev",
887                       "id"        : "0x18",
888                       "mandatory" : "no",
889                       "type"      : "TLV",
890                       "format"    : "guint8" },
891                     { "name"          : "PLMN Name Flag 3GPP",
892                       "id"            : "0x19",
893                       "mandatory"     : "no",
894                       "type"          : "TLV",
895                       "format"        : "gint8",
896                       "public-format" : "gboolean" },
897                     { "name"      : "Time Zone 3GPP",
898                       "id"        : "0x1A",
899                       "mandatory" : "no",
900                       "type"      : "TLV",
901                       "format"    : "gint8" },
902                     { "name"      : "Daylight Saving Time Adjustment 3GPP",
903                       "id"        : "0x1B",
904                       "mandatory" : "no",
905                       "type"      : "TLV",
906                       "format"    : "guint8" },
907                     { "name"      : "Universal Time and Local Time Zone 3GPP",
908                       "id"        : "0x1C",
909                       "mandatory" : "no",
910                       "type"      : "TLV",
911                       "format"    : "sequence",
912                       "contents"  : [ { "name"   : "Year",
913                                         "format" : "guint16" },
914                                       { "name"   : "Month",
915                                         "format" : "guint8" },
916                                       { "name"   : "Day",
917                                         "format" : "guint8" },
918                                       { "name"   : "Hour",
919                                         "format" : "guint8" },
920                                       { "name"   : "Minute",
921                                         "format" : "guint8" },
922                                       { "name"   : "Second",
923                                         "format" : "guint8" },
924                                       { "name"   : "Time Zone",
925                                         "format" : "guint8" } ] },
926                     { "name"      : "LAC 3GPP",
927                       "id"        : "0x1D",
928                       "mandatory" : "no",
929                       "type"      : "TLV",
930                       "format"    : "guint16" },
931                     { "name"      : "CID 3GPP",
932                       "id"        : "0x1E",
933                       "mandatory" : "no",
934                       "type"      : "TLV",
935                       "format"    : "guint32" },
936                     { "name"          : "Concurrent Service Info 3GPP2",
937                       "id"            : "0x1F",
938                       "mandatory"     : "no",
939                       "type"          : "TLV",
940                       "format"        : "guint8",
941                       "public-format" : "gboolean"},
942                     { "name"          : "PRL Indicator 3GPP2",
943                       "id"            : "0x20",
944                       "mandatory"     : "no",
945                       "type"          : "TLV",
946                       "format"        : "guint8",
947                       "public-format" : "gboolean"},
948                     { "name"          : "DTM Support",
949                       "id"            : "0x21",
950                       "mandatory"     : "no",
951                       "type"          : "TLV",
952                       "format"        : "guint8",
953                       "public-format" : "gboolean"},
954                     { "name"      : "Detailed Service Status",
955                       "id"        : "0x22",
956                       "mandatory" : "no",
957                       "type"      : "TLV",
958                       "format"    : "sequence",
959                       "contents"  : [ { "name"          : "Status",
960                                         "format"        : "guint8",
961                                         "public-format" : "QmiNasServiceStatus" },
962                                       { "name"          : "Capability",
963                                         "format"        : "guint8",
964                                         "public-format" : "QmiNasNetworkServiceDomain" },
965                                       { "name"          : "HDR Status",
966                                         "format"        : "guint8",
967                                         "public-format" : "QmiNasServiceStatus" },
968                                       { "name"          : "HDR Hybrid",
969                                         "format"        : "guint8",
970                                         "public-format" : "gboolean" },
971                                       { "name"          : "Forbidden",
972                                         "format"        : "guint8",
973                                         "public-format" : "gboolean" } ] },
974                     { "name"      : "CDMA System Info",
975                       "id"        : "0x23",
976                       "mandatory" : "no",
977                       "type"      : "TLV",
978                       "format"    : "sequence",
979                       "contents"  : [ { "name"   : "MCC",
980                                         "format" : "guint16" },
981                                       { "name"   : "IMSI_11_12",
982                                         "format" : "guint8" } ] },
983                     { "name"          : "HDR Personality",
984                       "id"            : "0x24",
985                       "mandatory"     : "no",
986                       "type"          : "TLV",
987                       "format"        : "guint8",
988                       "public-format" : "QmiNasHdrPersonality"},
989                     { "name"      : "LTE TAC",
990                       "id"        : "0x25",
991                       "mandatory" : "no",
992                       "type"      : "TLV",
993                       "format"    : "guint16" },
994                     { "name"      : "Call Barring Status",
995                       "id"        : "0x26",
996                       "mandatory" : "no",
997                       "type"      : "TLV",
998                       "format"    : "sequence",
999                       "contents"  : [ { "name"          : "CS Status",
1000                                         "format"        : "gint32",
1001                                         "public-format" : "QmiNasCallBarringStatus" },
1002                                       { "name"          : "PS Status",
1003                                         "format"        : "gint32",
1004                                         "public-format" : "QmiNasCallBarringStatus" } ] },
1005                     { "name"          : "PLMN Not Changed Indication",
1006                       "id"            : "0x27",
1007                       "mandatory"     : "no",
1008                       "type"          : "TLV",
1009                       "format"        : "guint8",
1010                       "public-format" : "gboolean" },
1011                     { "name"      : "UMTS Primary Scrambling Code",
1012                       "id"        : "0x28",
1013                       "mandatory" : "no",
1014                       "type"      : "TLV",
1015                       "format"    : "guint16" },
1016                     { "name"      : "MNC PCS Digit Include Status",
1017                       "id"        : "0x29",
1018                       "mandatory" : "no",
1019                       "type"      : "TLV",
1020                       "format"    : "sequence",
1021                       "contents"  : [ { "name"   : "MCC",
1022                                         "format" : "guint16" },
1023                                       { "name"   : "MNC",
1024                                         "format" : "guint16" },
1025                                       { "name"          : "Includes PCS Digit",
1026                                         "format"        : "guint8",
1027                                         "public-format" : "gboolean" } ] } ] },
1028
1029   // *********************************************************************************
1030   {  "name"    : "Get Home Network",
1031      "type"    : "Message",
1032      "service" : "NAS",
1033      "id"      : "0x0025",
1034      "version" : "1.0",
1035      "output"  : [  { "common-ref" : "Operation Result" },
1036                     { "name"      : "Home Network",
1037                       "id"        : "0x01",
1038                       "mandatory" : "yes",
1039                       "type"      : "TLV",
1040                       "format"    : "sequence",
1041                       "contents"  : [ { "name"   : "MCC",
1042                                         "format" : "guint16" },
1043                                       { "name"   : "MNC",
1044                                         "format" : "guint16" },
1045                                       { "name"   : "Description",
1046                                         "format" : "string" } ],
1047                       "prerequisites": [ { "common-ref" : "Success" } ] },
1048                     { "name"      : "Home System ID",
1049                       "id"        : "0x10",
1050                       "mandatory" : "no",
1051                       "type"      : "TLV",
1052                       "format"    : "sequence",
1053                       "contents"  : [ { "name"   : "SID",
1054                                         "format" : "guint16" },
1055                                       { "name"   : "NID",
1056                                         "format" : "guint16" } ] },
1057                     { "name"      : "Home Network 3GPP2",
1058                       "id"        : "0x11",
1059                       "mandatory" : "no",
1060                       "type"      : "TLV",
1061                       "format"    : "sequence",
1062                       "contents"  : [ { "name"   : "MCC",
1063                                         "format" : "guint16" },
1064                                       { "name"   : "MNC",
1065                                         "format" : "guint16" },
1066                                       { "name"          : "Display Description",
1067                                         "format"        : "guint8",
1068                                         "public-format" : "QmiNasNetworkDescriptionDisplay" },
1069                                       { "name"          : "Description Encoding",
1070                                         "format"        : "guint8",
1071                                         "public-format" : "QmiNasNetworkDescriptionEncoding" },
1072                                       { "name" : "Description",
1073                                         "format" : "string" } ] } ] },
1074
1075   // *********************************************************************************
1076   {  "name"    : "Set Technology Preference",
1077      "type"    : "Message",
1078      "service" : "NAS",
1079      "id"      : "0x002A",
1080      "version" : "1.0",
1081      "input"   : [  { "name"      : "Current",
1082                       "id"        : "0x01",
1083                       "mandatory" : "yes",
1084                       "type"      : "TLV",
1085                       "format"    : "sequence",
1086                       "contents"  : [ { "name"          : "Technology Preference",
1087                                         "format"        : "guint16",
1088                                         "public-format" : "QmiNasRadioTechnologyPreference" },
1089                                       { "name"          : "Technology Preference Duration",
1090                                         "format"        : "guint8",
1091                                         "public-format" : "QmiNasPreferenceDuration" } ] } ],
1092      "output"  : [  { "common-ref" : "Operation Result" } ] },
1093
1094   // *********************************************************************************
1095   {  "name"    : "Get Technology Preference",
1096      "type"    : "Message",
1097      "service" : "NAS",
1098      "id"      : "0x002B",
1099      "version" : "1.0",
1100      "output"  : [  { "common-ref" : "Operation Result" },
1101                     { "name"      : "Active",
1102                       "id"        : "0x01",
1103                       "mandatory" : "yes",
1104                       "type"      : "TLV",
1105                       "format"    : "sequence",
1106                       "contents"  : [ { "name"          : "Technology Preference",
1107                                         "format"        : "guint16",
1108                                         "public-format" : "QmiNasRadioTechnologyPreference" },
1109                                       { "name"          : "Technology Preference Duration",
1110                                         "format"        : "guint8",
1111                                         "public-format" : "QmiNasPreferenceDuration" } ],
1112                       "prerequisites": [ { "common-ref" : "Success" } ] },
1113                     { "name"      : "Persistent",
1114                       "id"        : "0x10",
1115                       "mandatory" : "no",
1116                       "type"      : "TLV",
1117                       "format"    : "guint16",
1118                       "public-format" : "QmiNasRadioTechnologyPreference" } ] },
1119
1120   // *********************************************************************************
1121   {  "name"    : "Get RF Band Information",
1122      "type"    : "Message",
1123      "service" : "NAS",
1124      "id"      : "0x0031",
1125      "version" : "1.1",
1126      "output"  : [  { "common-ref" : "Operation Result" },
1127                     { "name"          : "List",
1128                       "id"            : "0x11",
1129                       "mandatory"     : "no",
1130                       "type"          : "TLV",
1131                       "format"        : "array",
1132                       "array-element" : { "name"     : "Element",
1133                                           "format"   : "struct",
1134                                           "contents" : [ { "name"          : "Radio Interface",
1135                                                            "format"        : "gint8",
1136                                                            "public-format" : "QmiNasRadioInterface" },
1137                                                          { "name"          : "Active Band Class",
1138                                                            "format"        : "guint16",
1139                                                            "public-format" : "QmiNasActiveBand" },
1140                                                          { "name"          : "Active Channel",
1141                                                            "format"        : "guint16" } ] } } ] },
1142
1143   // *********************************************************************************
1144   {  "name"    : "Set System Selection Preference",
1145      "type"    : "Message",
1146      "service" : "NAS",
1147      "id"      : "0x0033",
1148      "version" : "1.1",
1149      "input"   : [  { "name"          : "Emergency mode",
1150                       "id"            : "0x10",
1151                       "mandatory"     : "no",
1152                       "type"          : "TLV",
1153                       "format"        : "guint8",
1154                       "public-format" : "gboolean" },
1155                     { "name"          : "Mode Preference",
1156                       "id"            : "0x11",
1157                       "mandatory"     : "no",
1158                       "type"          : "TLV",
1159                       "format"        : "guint16",
1160                       "public-format" : "QmiNasRatModePreference" },
1161                     { "name"          : "Band Preference",
1162                       "id"            : "0x12",
1163                       "mandatory"     : "no",
1164                       "type"          : "TLV",
1165                       "format"        : "guint64",
1166                       "public-format" : "QmiNasBandPreference" },
1167                     { "name"          : "CDMA PRL Preference",
1168                       "id"            : "0x13",
1169                       "mandatory"     : "no",
1170                       "type"          : "TLV",
1171                       "format"        : "guint16",
1172                       "public-format" : "QmiNasCdmaPrlPreference" },
1173                     { "name"          : "Roaming Preference",
1174                       "id"            : "0x14",
1175                       "mandatory"     : "no",
1176                       "type"          : "TLV",
1177                       "format"        : "guint16",
1178                       "public-format" : "QmiNasRoamingPreference" },
1179                     { "name"          : "LTE Band Preference",
1180                       "id"            : "0x15",
1181                       "mandatory"     : "no",
1182                       "type"          : "TLV",
1183                       "format"        : "guint64",
1184                       "public-format" : "QmiNasLteBandPreference" },
1185                     { "name"      : "Network Selection Preference",
1186                       "id"        : "0x16",
1187                       "mandatory" : "no",
1188                       "type"      : "TLV",
1189                       "format"    : "sequence",
1190                       "contents"  : [ { "name"          : "Mode",
1191                                         "format"        : "guint8",
1192                                         "public-format" : "QmiNasNetworkSelectionPreference" },
1193                                       { "name"   : "MCC",
1194                                         "format" : "guint16" },
1195                                       { "name"   : "MNC",
1196                                         "format" : "guint16" } ] },
1197                     { "name"          : "Change Duration",
1198                       "id"            : "0x17",
1199                       "mandatory"     : "no",
1200                       "type"          : "TLV",
1201                       "format"        : "guint8",
1202                       "public-format" : "QmiNasChangeDuration" },
1203                     { "name"          : "Service Domain Preference",
1204                       "id"            : "0x18",
1205                       "mandatory"     : "no",
1206                       "type"          : "TLV",
1207                       "format"        : "guint32",
1208                       "public-format" : "QmiNasServiceDomainPreference" },
1209                     { "name"          : "GSM WCDMA Acquisition Order Preference",
1210                       "id"            : "0x19",
1211                       "mandatory"     : "no",
1212                       "type"          : "TLV",
1213                       "format"        : "guint32",
1214                       "public-format" : "QmiNasGsmWcdmaAcquisitionOrderPreference" },
1215                     { "name"          : "MNC PDS Digit Include Status",
1216                       "id"            : "0x1A",
1217                       "mandatory"     : "no",
1218                       "type"          : "TLV",
1219                       "format"        : "guint8",
1220                       "public-format" : "gboolean" },
1221                     { "name"          : "TD SCDMA Band Preference",
1222                       "id"            : "0x1D",
1223                       "mandatory"     : "no",
1224                       "type"          : "TLV",
1225                       "format"        : "guint64",
1226                       "public-format" : "QmiNasTdScdmaBandPreference" } ],
1227      "output"  : [  { "common-ref" : "Operation Result" } ] },
1228
1229   // *********************************************************************************
1230   {  "name"    : "Get System Selection Preference",
1231      "type"    : "Message",
1232      "service" : "NAS",
1233      "id"      : "0x0034",
1234      "version" : "1.1",
1235      "output"  : [  { "common-ref" : "Operation Result" },
1236                     { "name"          : "Emergency mode",
1237                       "id"            : "0x10",
1238                       "mandatory"     : "no",
1239                       "type"          : "TLV",
1240                       "format"        : "guint8",
1241                       "public-format" : "gboolean" },
1242                     { "name"          : "Mode Preference",
1243                       "id"            : "0x11",
1244                       "mandatory"     : "no",
1245                       "type"          : "TLV",
1246                       "format"        : "guint16",
1247                       "public-format" : "QmiNasRatModePreference" },
1248                     { "name"          : "Band Preference",
1249                       "id"            : "0x12",
1250                       "mandatory"     : "no",
1251                       "type"          : "TLV",
1252                       "format"        : "guint64",
1253                       "public-format" : "QmiNasBandPreference" },
1254                     { "name"          : "CDMA PRL Preference",
1255                       "id"            : "0x13",
1256                       "mandatory"     : "no",
1257                       "type"          : "TLV",
1258                       "format"        : "guint16",
1259                       "public-format" : "QmiNasCdmaPrlPreference" },
1260                     { "name"          : "Roaming Preference",
1261                       "id"            : "0x14",
1262                       "mandatory"     : "no",
1263                       "type"          : "TLV",
1264                       "format"        : "guint16",
1265                       "public-format" : "QmiNasRoamingPreference" },
1266                     { "name"          : "LTE Band Preference",
1267                       "id"            : "0x15",
1268                       "mandatory"     : "no",
1269                       "type"          : "TLV",
1270                       "format"        : "guint64",
1271                       "public-format" : "QmiNasLteBandPreference" },
1272                     { "name"          : "Network Selection Preference",
1273                       "id"            : "0x16",
1274                       "mandatory"     : "no",
1275                       "type"          : "TLV",
1276                       "format"        : "guint8",
1277                       "public-format" : "QmiNasNetworkSelectionPreference" },
1278                     { "name"          : "Service Domain Preference",
1279                       "id"            : "0x18",
1280                       "mandatory"     : "no",
1281                       "type"          : "TLV",
1282                       "format"        : "guint32",
1283                       "public-format" : "QmiNasServiceDomainPreference" },
1284                     { "name"          : "GSM WCDMA Acquisition Order Preference",
1285                       "id"            : "0x19",
1286                       "mandatory"     : "no",
1287                       "type"          : "TLV",
1288                       "format"        : "guint32",
1289                       "public-format" : "QmiNasGsmWcdmaAcquisitionOrderPreference" },
1290                     { "name"          : "TD SCDMA Band Preference",
1291                       "id"            : "0x1A",
1292                       "mandatory"     : "no",
1293                       "type"          : "TLV",
1294                       "format"        : "guint64",
1295                       "public-format" : "QmiNasTdScdmaBandPreference" },
1296                     { "name"      : "Manual Network Selection",
1297                       "id"        : "0x1B",
1298                       "mandatory" : "no",
1299                       "type"      : "TLV",
1300                       "format"    : "sequence",
1301                       "contents"  : [ { "name"   : "MCC",
1302                                         "format" : "guint16" },
1303                                       { "name"   : "MNC",
1304                                         "format" : "guint16" },
1305                                       { "name"          : "Includes PCS Digit",
1306                                         "format"        : "guint8",
1307                                         "public-format" : "gboolean" } ] } ] },
1308
1309   // *********************************************************************************
1310   {  "name"    : "Get System Info",
1311      "type"    : "Message",
1312      "service" : "NAS",
1313      "id"      : "0x004D",
1314      "version" : "1.8",
1315      "output"  : [  { "common-ref" : "Operation Result" },
1316                     { "name"      : "CDMA Service Status",
1317                       "id"        : "0x10",
1318                       "mandatory" : "no",
1319                       "type"      : "TLV",
1320                       "format"    : "sequence",
1321                       "contents"  : [ { "name"          : "Service Status",
1322                                         "format"        : "guint8",
1323                                         "public-format" : "QmiNasServiceStatus" },
1324                                       { "name"          : "Preferred Data Path",
1325                                         "format"        : "guint8",
1326                                         "public-format" : "gboolean" } ] },
1327                     { "name"      : "HDR Service Status",
1328                       "id"        : "0x11",
1329                       "mandatory" : "no",
1330                       "type"      : "TLV",
1331                       "format"    : "sequence",
1332                       "contents"  : [ { "name"          : "Service Status",
1333                                         "format"        : "guint8",
1334                                         "public-format" : "QmiNasServiceStatus" },
1335                                       { "name"          : "Preferred Data Path",
1336                                         "format"        : "guint8",
1337                                         "public-format" : "gboolean" } ] },
1338                     { "name"      : "GSM Service Status",
1339                       "id"        : "0x12",
1340                       "mandatory" : "no",
1341                       "type"      : "TLV",
1342                       "format"    : "sequence",
1343                       "contents"  : [ { "name"          : "Service Status",
1344                                         "format"        : "guint8",
1345                                         "public-format" : "QmiNasServiceStatus" },
1346                                       { "name"          : "True Service Status",
1347                                         "format"        : "guint8",
1348                                         "public-format" : "QmiNasServiceStatus" },
1349                                       { "name"          : "Preferred Data Path",
1350                                         "format"        : "guint8",
1351                                         "public-format" : "gboolean" } ] },
1352                     { "name"      : "WCDMA Service Status",
1353                       "id"        : "0x13",
1354                       "mandatory" : "no",
1355                       "type"      : "TLV",
1356                       "format"    : "sequence",
1357                       "contents"  : [ { "name"          : "Service Status",
1358                                         "format"        : "guint8",
1359                                         "public-format" : "QmiNasServiceStatus" },
1360                                       { "name"          : "True Service Status",
1361                                         "format"        : "guint8",
1362                                         "public-format" : "QmiNasServiceStatus" },
1363                                       { "name"          : "Preferred Data Path",
1364                                         "format"        : "guint8",
1365                                         "public-format" : "gboolean" } ] },
1366                     { "name"      : "LTE Service Status",
1367                       "id"        : "0x14",
1368                       "mandatory" : "no",
1369                       "type"      : "TLV",
1370                       "format"    : "sequence",
1371                       "contents"  : [ { "name"          : "Service Status",
1372                                         "format"        : "guint8",
1373                                         "public-format" : "QmiNasServiceStatus" },
1374                                       { "name"          : "True Service Status",
1375                                         "format"        : "guint8",
1376                                         "public-format" : "QmiNasServiceStatus" },
1377                                       { "name"          : "Preferred Data Path",
1378                                         "format"        : "guint8",
1379                                         "public-format" : "gboolean" } ] },
1380                     { "name"      : "CDMA System Info",
1381                       "id"        : "0x15",
1382                       "mandatory" : "no",
1383                       "type"      : "TLV",
1384                       "format"    : "sequence",
1385                       "contents"  : [ { "name"          : "Domain Valid",
1386                                         "format"        : "guint8",
1387                                         "public-format" : "gboolean" },
1388                                       { "name"          : "Domain",
1389                                         "format"        : "guint8",
1390                                         "public-format" : "QmiNasNetworkServiceDomain" },
1391                                       { "name"          : "Service Capability Valid",
1392                                         "format"        : "guint8",
1393                                         "public-format" : "gboolean" },
1394                                       { "name"          : "Service Capability",
1395                                         "format"        : "guint8",
1396                                         "public-format" : "QmiNasNetworkServiceDomain" },
1397                                       { "name"          : "Roaming Status Valid",
1398                                         "format"        : "guint8",
1399                                         "public-format" : "gboolean" },
1400                                       { "name"          : "Roaming Status",
1401                                         "format"        : "guint8",
1402                                         "public-format" : "QmiNasRoamingStatus" },
1403                                       { "name"          : "Forbidden Valid",
1404                                         "format"        : "guint8",
1405                                         "public-format" : "gboolean" },
1406                                       { "name"          : "Forbidden",
1407                                         "format"        : "guint8",
1408                                         "public-format" : "gboolean" },
1409                                       { "name"          : "PRL Match Valid",
1410                                         "format"        : "guint8",
1411                                         "public-format" : "gboolean" },
1412                                       { "name"          : "PRL Match",
1413                                         "format"        : "guint8",
1414                                         "public-format" : "gboolean" },
1415                                       { "name"          : "P Rev Valid",
1416                                         "format"        : "guint8",
1417                                         "public-format" : "gboolean" },
1418                                       { "name"          : "P Rev",
1419                                         "format"        : "guint8" },
1420                                       { "name"          : "Base Station P Rev Valid",
1421                                         "format"        : "guint8",
1422                                         "public-format" : "gboolean" },
1423                                       { "name"          : "Base Station P Rev",
1424                                         "format"        : "guint8" },
1425                                       { "name"          : "Concurrent Service Support Valid",
1426                                         "format"        : "guint8",
1427                                         "public-format" : "gboolean" },
1428                                       { "name"          : "Concurrent Service Support",
1429                                         "format"        : "guint8",
1430                                         "public-format" : "gboolean" },
1431                                       { "name"          : "CDMA System ID Valid",
1432                                         "format"        : "guint8",
1433                                         "public-format" : "gboolean" },
1434                                       { "name"          : "SID",
1435                                         "format"        : "guint16" },
1436                                       { "name"          : "NID",
1437                                         "format"        : "guint16" },
1438                                       { "name"          : "Base Station Info Valid",
1439                                         "format"        : "guint8",
1440                                         "public-format" : "gboolean" },
1441                                       { "name"   : "Base Station ID",
1442                                         "format" : "guint16" },
1443                                       { "name"   : "Base Station Latitude",
1444                                         "format" : "gint32" },
1445                                       { "name"   : "Base Station Longitude",
1446                                         "format" : "gint32" },
1447                                       { "name"          : "Packet Zone Valid",
1448                                         "format"        : "guint8",
1449                                         "public-format" : "gboolean" },
1450                                       { "name"   : "Packet Zone",
1451                                         "format" : "guint16" },
1452                                       { "name"          : "Network ID Valid",
1453                                         "format"        : "guint8",
1454                                         "public-format" : "gboolean" },
1455                                       { "name"       : "MCC",
1456                                         "format"     : "string",
1457                                         "fixed-size" : "3" },
1458                                       { "name"       : "MNC",
1459                                         "format"     : "string",
1460                                         "fixed-size" : "3" } ] },
1461                     { "name"      : "HDR System Info",
1462                       "id"        : "0x16",
1463                       "mandatory" : "no",
1464                       "type"      : "TLV",
1465                       "format"    : "sequence",
1466                       "contents"  : [ { "name"          : "Domain Valid",
1467                                         "format"        : "guint8",
1468                                         "public-format" : "gboolean" },
1469                                       { "name"          : "Domain",
1470                                         "format"        : "guint8",
1471                                         "public-format" : "QmiNasNetworkServiceDomain" },
1472                                       { "name"          : "Service Capability Valid",
1473                                         "format"        : "guint8",
1474                                         "public-format" : "gboolean" },
1475                                       { "name"          : "Service Capability",
1476                                         "format"        : "guint8",
1477                                         "public-format" : "QmiNasNetworkServiceDomain" },
1478                                       { "name"          : "Roaming Status Valid",
1479                                         "format"        : "guint8",
1480                                         "public-format" : "gboolean" },
1481                                       { "name"          : "Roaming Status",
1482                                         "format"        : "guint8",
1483                                         "public-format" : "QmiNasRoamingStatus" },
1484                                       { "name"          : "Forbidden Valid",
1485                                         "format"        : "guint8",
1486                                         "public-format" : "gboolean" },
1487                                       { "name"          : "Forbidden",
1488                                         "format"        : "guint8",
1489                                         "public-format" : "gboolean" },
1490                                       { "name"          : "PRL Match Valid",
1491                                         "format"        : "guint8",
1492                                         "public-format" : "gboolean" },
1493                                       { "name"          : "PRL Match",
1494                                         "format"        : "guint8",
1495                                         "public-format" : "gboolean" },
1496                                       { "name"          : "Personality Valid",
1497                                         "format"        : "guint8",
1498                                         "public-format" : "gboolean" },
1499                                       { "name"          : "Personality",
1500                                         "format"        : "guint8",
1501                                         "public-format" : "QmiNasHdrPersonality" },
1502                                       { "name"          : "Protocol Revision Valid",
1503                                         "format"        : "guint8",
1504                                         "public-format" : "gboolean" },
1505                                       { "name"          : "Protocol Revision",
1506                                         "format"        : "guint8",
1507                                         "public-format" : "QmiNasHdrProtocolRevision" },
1508                                       { "name"          : "IS 856 System ID Valid",
1509                                         "format"        : "guint8",
1510                                         "public-format" : "gboolean" },
1511                                       { "name"       : "IS 856 System ID",
1512                                         "format"     : "string",
1513                                         "fixed-size" : "16" } ] },
1514                     { "name"      : "GSM System Info",
1515                       "id"        : "0x17",
1516                       "mandatory" : "no",
1517                       "type"      : "TLV",
1518                       "format"    : "sequence",
1519                       "contents"  : [ { "name"          : "Domain Valid",
1520                                         "format"        : "guint8",
1521                                         "public-format" : "gboolean" },
1522                                       { "name"          : "Domain",
1523                                         "format"        : "guint8",
1524                                         "public-format" : "QmiNasNetworkServiceDomain" },
1525                                       { "name"          : "Service Capability Valid",
1526                                         "format"        : "guint8",
1527                                         "public-format" : "gboolean" },
1528                                       { "name"          : "Service Capability",
1529                                         "format"        : "guint8",
1530                                         "public-format" : "QmiNasNetworkServiceDomain" },
1531                                       { "name"          : "Roaming Status Valid",
1532                                         "format"        : "guint8",
1533                                         "public-format" : "gboolean" },
1534                                       { "name"          : "Roaming Status",
1535                                         "format"        : "guint8",
1536                                         "public-format" : "QmiNasRoamingStatus" },
1537                                       { "name"          : "Forbidden Valid",
1538                                         "format"        : "guint8",
1539                                         "public-format" : "gboolean" },
1540                                       { "name"          : "Forbidden",
1541                                         "format"        : "guint8",
1542                                         "public-format" : "gboolean" },
1543                                       { "name"          : "LAC Valid",
1544                                         "format"        : "guint8",
1545                                         "public-format" : "gboolean" },
1546                                       { "name"          : "LAC",
1547                                         "format"        : "guint16" },
1548                                       { "name"          : "CID Valid",
1549                                         "format"        : "guint8",
1550                                         "public-format" : "gboolean" },
1551                                       { "name"          : "CID",
1552                                         "format"        : "guint32" },
1553                                       { "name"          : "Registration Reject Info Valid",
1554                                         "format"        : "guint8",
1555                                         "public-format" : "gboolean" },
1556                                       { "name"          : "Registration Reject Domain",
1557                                         "format"        : "guint8",
1558                                         "public-format" : "QmiNasNetworkServiceDomain" },
1559                                       { "name"          : "Registration Reject Cause",
1560                                         "format"        : "guint8" },
1561                                       { "name"          : "Network ID Valid",
1562                                         "format"        : "guint8",
1563                                         "public-format" : "gboolean" },
1564                                       { "name"       : "MCC",
1565                                         "format"     : "string",
1566                                         "fixed-size" : "3" },
1567                                       { "name"       : "MNC",
1568                                         "format"     : "string",
1569                                         "fixed-size" : "3" },
1570                                       { "name"          : "EGPRS Support Valid",
1571                                         "format"        : "guint8",
1572                                         "public-format" : "gboolean" },
1573                                       { "name"          : "EGPRS Support",
1574                                         "format"        : "guint8",
1575                                         "public-format" : "gboolean" },
1576                                       { "name"          : "DTM Support Valid",
1577                                         "format"        : "guint8",
1578                                         "public-format" : "gboolean" },
1579                                       { "name"          : "DTM Support",
1580                                         "format"        : "guint8",
1581                                         "public-format" : "gboolean" } ] },
1582                     { "name"      : "WCDMA System Info",
1583                       "id"        : "0x18",
1584                       "mandatory" : "no",
1585                       "type"      : "TLV",
1586                       "format"    : "sequence",
1587                       "contents"  : [ { "name"          : "Domain Valid",
1588                                         "format"        : "guint8",
1589                                         "public-format" : "gboolean" },
1590                                       { "name"          : "Domain",
1591                                         "format"        : "guint8",
1592                                         "public-format" : "QmiNasNetworkServiceDomain" },
1593                                       { "name"          : "Service Capability Valid",
1594                                         "format"        : "guint8",
1595                                         "public-format" : "gboolean" },
1596                                       { "name"          : "Service Capability",
1597                                         "format"        : "guint8",
1598                                         "public-format" : "QmiNasNetworkServiceDomain" },
1599                                       { "name"          : "Roaming Status Valid",
1600                                         "format"        : "guint8",
1601                                         "public-format" : "gboolean" },
1602                                       { "name"          : "Roaming Status",
1603                                         "format"        : "guint8",
1604                                         "public-format" : "QmiNasRoamingStatus" },
1605                                       { "name"          : "Forbidden Valid",
1606                                         "format"        : "guint8",
1607                                         "public-format" : "gboolean" },
1608                                       { "name"          : "Forbidden",
1609                                         "format"        : "guint8",
1610                                         "public-format" : "gboolean" },
1611                                       { "name"          : "LAC Valid",
1612                                         "format"        : "guint8",
1613                                         "public-format" : "gboolean" },
1614                                       { "name"          : "LAC",
1615                                         "format"        : "guint16" },
1616                                       { "name"          : "CID Valid",
1617                                         "format"        : "guint8",
1618                                         "public-format" : "gboolean" },
1619                                       { "name"          : "CID",
1620                                         "format"        : "guint32" },
1621                                       { "name"          : "Registration Reject Info Valid",
1622                                         "format"        : "guint8",
1623                                         "public-format" : "gboolean" },
1624                                       { "name"          : "Registration Reject Domain",
1625                                         "format"        : "guint8",
1626                                         "public-format" : "QmiNasNetworkServiceDomain" },
1627                                       { "name"          : "Registration Reject Cause",
1628                                         "format"        : "guint8" },
1629                                       { "name"          : "Network ID Valid",
1630                                         "format"        : "guint8",
1631                                         "public-format" : "gboolean" },
1632                                       { "name"       : "MCC",
1633                                         "format"     : "string",
1634                                         "fixed-size" : "3" },
1635                                       { "name"       : "MNC",
1636                                         "format"     : "string",
1637                                         "fixed-size" : "3" },
1638                                       { "name"          : "HS Call Status Valid",
1639                                         "format"        : "guint8",
1640                                         "public-format" : "gboolean" },
1641                                       { "name"          : "HS Call Status",
1642                                         "format"        : "guint8",
1643                                         "public-format" : "QmiNasWcdmaHsService" },
1644                                       { "name"          : "HS Service Valid",
1645                                         "format"        : "guint8",
1646                                         "public-format" : "gboolean" },
1647                                       { "name"          : "HS Service",
1648                                         "format"        : "guint8",
1649                                         "public-format" : "QmiNasWcdmaHsService" },
1650                                       { "name"          : "Primary Scrambling Code Valid",
1651                                         "format"        : "guint8",
1652                                         "public-format" : "gboolean" },
1653                                       { "name"          : "Primary Scrambling Code",
1654                                         "format"        : "guint16" } ] },
1655                     { "name"      : "LTE System Info",
1656                       "id"        : "0x19",
1657                       "mandatory" : "no",
1658                       "type"      : "TLV",
1659                       "format"    : "sequence",
1660                       "contents"  : [ { "name"          : "Domain Valid",
1661                                         "format"        : "guint8",
1662                                         "public-format" : "gboolean" },
1663                                       { "name"          : "Domain",
1664                                         "format"        : "guint8",
1665                                         "public-format" : "QmiNasNetworkServiceDomain" },
1666                                       { "name"          : "Service Capability Valid",
1667                                         "format"        : "guint8",
1668                                         "public-format" : "gboolean" },
1669                                       { "name"          : "Service Capability",
1670                                         "format"        : "guint8",
1671                                         "public-format" : "QmiNasNetworkServiceDomain" },
1672                                       { "name"          : "Roaming Status Valid",
1673                                         "format"        : "guint8",
1674                                         "public-format" : "gboolean" },
1675                                       { "name"          : "Roaming Status",
1676                                         "format"        : "guint8",
1677                                         "public-format" : "QmiNasRoamingStatus" },
1678                                       { "name"          : "Forbidden Valid",
1679                                         "format"        : "guint8",
1680                                         "public-format" : "gboolean" },
1681                                       { "name"          : "Forbidden",
1682                                         "format"        : "guint8",
1683                                         "public-format" : "gboolean" },
1684                                       { "name"          : "LAC Valid",
1685                                         "format"        : "guint8",
1686                                         "public-format" : "gboolean" },
1687                                       { "name"          : "LAC",
1688                                         "format"        : "guint16" },
1689                                       { "name"          : "CID Valid",
1690                                         "format"        : "guint8",
1691                                         "public-format" : "gboolean" },
1692                                       { "name"          : "CID",
1693                                         "format"        : "guint32" },
1694                                       { "name"          : "Registration Reject Info Valid",
1695                                         "format"        : "guint8",
1696                                         "public-format" : "gboolean" },
1697                                       { "name"          : "Registration Reject Domain",
1698                                         "format"        : "guint8",
1699                                         "public-format" : "QmiNasNetworkServiceDomain" },
1700                                       { "name"          : "Registration Reject Cause",
1701                                         "format"        : "guint8" },
1702                                       { "name"          : "Network ID Valid",
1703                                         "format"        : "guint8",
1704                                         "public-format" : "gboolean" },
1705                                       { "name"       : "MCC",
1706                                         "format"     : "string",
1707                                         "fixed-size" : "3" },
1708                                       { "name"       : "MNC",
1709                                         "format"     : "string",
1710                                         "fixed-size" : "3" },
1711                                       { "name"          : "TAC Valid",
1712                                         "format"        : "guint8",
1713                                         "public-format" : "gboolean" },
1714                                       { "name"          : "TAC",
1715                                         "format"        : "guint16" } ] },
1716                     { "name"      : "Additional CDMA System Info",
1717                       "id"        : "0x1A",
1718                       "mandatory" : "no",
1719                       "type"      : "TLV",
1720                       "format"    : "sequence",
1721                       "contents"  : [ { "name"   : "Geo System Index",
1722                                         "format" : "guint16" },
1723                                       { "name"   : "Registration Period",
1724                                         "format" : "guint16" } ] },
1725                     { "name"      : "Additional HDR System Info",
1726                       "id"        : "0x1B",
1727                       "mandatory" : "no",
1728                       "type"      : "TLV",
1729                       "format"    : "sequence",
1730                       "contents"  : [ { "name"   : "Geo System Index",
1731                                         "format" : "guint16" } ] },
1732                     { "name"      : "Additional GSM System Info",
1733                       "id"        : "0x1C",
1734                       "mandatory" : "no",
1735                       "type"      : "TLV",
1736                       "format"    : "sequence",
1737                       "contents"  : [ { "name"   : "Geo System Index",
1738                                         "format" : "guint16" },
1739                                       { "name"          : "Cell Broadcast Support",
1740                                         "format"        : "guint32",
1741                                         "public-format" : "QmiNasCellBroadcastCapability" } ] },
1742                     { "name"      : "Additional WCDMA System Info",
1743                       "id"        : "0x1D",
1744                       "mandatory" : "no",
1745                       "type"      : "TLV",
1746                       "format"    : "sequence",
1747                       "contents"  : [ { "name"   : "Geo System Index",
1748                                         "format" : "guint16" },
1749                                       { "name"          : "Cell Broadcast Support",
1750                                         "format"        : "guint32",
1751                                         "public-format" : "QmiNasCellBroadcastCapability" } ] },
1752                     { "name"      : "Additional LTE System Info",
1753                       "id"        : "0x1E",
1754                       "mandatory" : "no",
1755                       "type"      : "TLV",
1756                       "format"    : "sequence",
1757                       "contents"  : [ { "name"   : "Geo System Index",
1758                                         "format" : "guint16" } ] },
1759                     { "name"      : "GSM Call Barring Status",
1760                       "id"        : "0x1F",
1761                       "mandatory" : "no",
1762                       "type"      : "TLV",
1763                       "format"    : "sequence",
1764                       "contents"  : [ { "name"          : "CS Status",
1765                                         "format"        : "gint32",
1766                                         "public-format" : "QmiNasCallBarringStatus" },
1767                                       { "name"          : "PS Status",
1768                                         "format"        : "gint32",
1769                                         "public-format" : "QmiNasCallBarringStatus" } ] },
1770                     { "name"      : "WCDMA Call Barring Status",
1771                       "id"        : "0x20",
1772                       "mandatory" : "no",
1773                       "type"      : "TLV",
1774                       "format"    : "sequence",
1775                       "contents"  : [ { "name"          : "CS Status",
1776                                         "format"        : "gint32",
1777                                         "public-format" : "QmiNasCallBarringStatus" },
1778                                       { "name"          : "PS Status",
1779                                         "format"        : "gint32",
1780                                         "public-format" : "QmiNasCallBarringStatus" } ] },
1781                     { "name"          : "LTE Voice Support",
1782                       "id"            : "0x21",
1783                       "mandatory"     : "no",
1784                       "type"          : "TLV",
1785                       "format"        : "guint8",
1786                       "public-format" : "gboolean" },
1787                     { "name"          : "GSM Cipher Domain",
1788                       "id"            : "0x22",
1789                       "mandatory"     : "no",
1790                       "type"          : "TLV",
1791                       "format"        : "guint8",
1792                       "public-format" : "QmiNasNetworkServiceDomain" },
1793                     { "name"          : "WCDMA Cipher Domain",
1794                       "id"            : "0x23",
1795                       "mandatory"     : "no",
1796                       "type"          : "TLV",
1797                       "format"        : "guint8",
1798                       "public-format" : "QmiNasNetworkServiceDomain" },
1799                     { "name"      : "TD SCDMA Service Status",
1800                       "id"        : "0x24",
1801                       "mandatory" : "no",
1802                       "type"      : "TLV",
1803                       "format"    : "sequence",
1804                       "contents"  : [ { "name"          : "Service Status",
1805                                         "format"        : "guint8",
1806                                         "public-format" : "QmiNasServiceStatus" },
1807                                       { "name"          : "True Service Status",
1808                                         "format"        : "guint8",
1809                                         "public-format" : "QmiNasServiceStatus" },
1810                                       { "name"          : "Preferred Data Path",
1811                                         "format"        : "guint8",
1812                                         "public-format" : "gboolean" } ] },
1813                     { "name"      : "TD SCDMA System Info",
1814                       "id"        : "0x25",
1815                       "mandatory" : "no",
1816                       "type"      : "TLV",
1817                       "format"    : "sequence",
1818                       "contents"  : [ { "name"          : "Domain Valid",
1819                                         "format"        : "guint8",
1820                                         "public-format" : "gboolean" },
1821                                       { "name"          : "Domain",
1822                                         "format"        : "guint8",
1823                                         "public-format" : "QmiNasNetworkServiceDomain" },
1824                                       { "name"          : "Service Capability Valid",
1825                                         "format"        : "guint8",
1826                                         "public-format" : "gboolean" },
1827                                       { "name"          : "Service Capability",
1828                                         "format"        : "guint8",
1829                                         "public-format" : "QmiNasNetworkServiceDomain" },
1830                                       { "name"          : "Roaming Status Valid",
1831                                         "format"        : "guint8",
1832                                         "public-format" : "gboolean" },
1833                                       { "name"          : "Roaming Status",
1834                                         "format"        : "guint8",
1835                                         "public-format" : "QmiNasRoamingStatus" },
1836                                       { "name"          : "Forbidden Valid",
1837                                         "format"        : "guint8",
1838                                         "public-format" : "gboolean" },
1839                                       { "name"          : "Forbidden",
1840                                         "format"        : "guint8",
1841                                         "public-format" : "gboolean" },
1842                                       { "name"          : "LAC Valid",
1843                                         "format"        : "guint8",
1844                                         "public-format" : "gboolean" },
1845                                       { "name"          : "LAC",
1846                                         "format"        : "guint16" },
1847                                       { "name"          : "CID Valid",
1848                                         "format"        : "guint8",
1849                                         "public-format" : "gboolean" },
1850                                       { "name"          : "CID",
1851                                         "format"        : "guint32" },
1852                                       { "name"          : "Registration Reject Info Valid",
1853                                         "format"        : "guint8",
1854                                         "public-format" : "gboolean" },
1855                                       { "name"          : "Registration Reject Domain",
1856                                         "format"        : "guint8",
1857                                         "public-format" : "QmiNasNetworkServiceDomain" },
1858                                       { "name"          : "Registration Reject Cause",
1859                                         "format"        : "guint8" },
1860                                       { "name"          : "Network ID Valid",
1861                                         "format"        : "guint8",
1862                                         "public-format" : "gboolean" },
1863                                       { "name"       : "MCC",
1864                                         "format"     : "string",
1865                                         "fixed-size" : "3" },
1866                                       { "name"       : "MNC",
1867                                         "format"     : "string",
1868                                         "fixed-size" : "3" },
1869                                       { "name"          : "HS Call Status Valid",
1870                                         "format"        : "guint8",
1871                                         "public-format" : "gboolean" },
1872                                       { "name"          : "HS Call Status",
1873                                         "format"        : "guint8",
1874                                         "public-format" : "QmiNasWcdmaHsService" },
1875                                       { "name"          : "HS Service Valid",
1876                                         "format"        : "guint8",
1877                                         "public-format" : "gboolean" },
1878                                       { "name"          : "HS Service",
1879                                         "format"        : "guint8",
1880                                         "public-format" : "QmiNasWcdmaHsService" },
1881                                       { "name"          : "Cell Parameter ID Valid",
1882                                         "format"        : "guint8",
1883                                         "public-format" : "gboolean" },
1884                                       { "name"   : "Cell Parameter ID",
1885                                         "format" : "guint16" },
1886                                       { "name"          : "Cell Broadcast Support Valid",
1887                                         "format"        : "guint8",
1888                                         "public-format" : "gboolean" },
1889                                       { "name"          : "Cell Broadcast Support",
1890                                         "format"        : "guint32",
1891                                         "public-format" : "QmiNasCellBroadcastCapability" },
1892                                       { "name"          : "CS Call Barring Status Valid",
1893                                         "format"        : "guint8",
1894                                         "public-format" : "gboolean" },
1895                                       { "name"          : "CS Call Barring Status",
1896                                         "format"        : "gint32",
1897                                         "public-format" : "QmiNasCallBarringStatus" },
1898                                       { "name"          : "PS Call Barring Status Valid",
1899                                         "format"        : "guint8",
1900                                         "public-format" : "gboolean" },
1901                                       { "name"          : "PS Call Barring Status",
1902                                         "format"        : "gint32",
1903                                         "public-format" : "QmiNasCallBarringStatus" },
1904                                       { "name"          : "Cipher Domain Valid",
1905                                         "format"        : "guint8",
1906                                         "public-format" : "gboolean" },
1907                                       { "name"          : "Cipher Domain",
1908                                         "format"        : "guint8",
1909                                         "public-format" : "QmiNasNetworkServiceDomain" } ] },
1910                     { "name"          : "LTE eMBMS Coverage Info Support",
1911                       "id"            : "0x26",
1912                       "mandatory"     : "no",
1913                       "type"          : "TLV",
1914                       "format"        : "guint8",
1915                       "public-format" : "gboolean" },
1916                     { "name"          : "SIM Reject Info",
1917                       "id"            : "0x27",
1918                       "mandatory"     : "no",
1919                       "type"          : "TLV",
1920                       "format"        : "guint32",
1921                       "public-format" : "QmiNasSimRejectState" } ] },
1922
1923   // *********************************************************************************
1924   {  "name"    : "System Info",
1925      "type"    : "Indication",
1926      "service" : "NAS",
1927      "id"      : "0x004E",
1928      "version" : "1.8",
1929      "output"  : [  { "name"      : "CDMA Service Status",
1930                       "id"        : "0x10",
1931                       "mandatory" : "no",
1932                       "type"      : "TLV",
1933                       "format"    : "sequence",
1934                       "contents"  : [ { "name"          : "Service Status",
1935                                         "format"        : "guint8",
1936                                         "public-format" : "QmiNasServiceStatus" },
1937                                       { "name"          : "Preferred Data Path",
1938                                         "format"        : "guint8",
1939                                         "public-format" : "gboolean" } ] },
1940                     { "name"      : "HDR Service Status",
1941                       "id"        : "0x11",
1942                       "mandatory" : "no",
1943                       "type"      : "TLV",
1944                       "format"    : "sequence",
1945                       "contents"  : [ { "name"          : "Service Status",
1946                                         "format"        : "guint8",
1947                                         "public-format" : "QmiNasServiceStatus" },
1948                                       { "name"          : "Preferred Data Path",
1949                                         "format"        : "guint8",
1950                                         "public-format" : "gboolean" } ] },
1951                     { "name"      : "GSM Service Status",
1952                       "id"        : "0x12",
1953                       "mandatory" : "no",
1954                       "type"      : "TLV",
1955                       "format"    : "sequence",
1956                       "contents"  : [ { "name"          : "Service Status",
1957                                         "format"        : "guint8",
1958                                         "public-format" : "QmiNasServiceStatus" },
1959                                       { "name"          : "True Service Status",
1960                                         "format"        : "guint8",
1961                                         "public-format" : "QmiNasServiceStatus" },
1962                                       { "name"          : "Preferred Data Path",
1963                                         "format"        : "guint8",
1964                                         "public-format" : "gboolean" } ] },
1965                     { "name"      : "WCDMA Service Status",
1966                       "id"        : "0x13",
1967                       "mandatory" : "no",
1968                       "type"      : "TLV",
1969                       "format"    : "sequence",
1970                       "contents"  : [ { "name"          : "Service Status",
1971                                         "format"        : "guint8",
1972                                         "public-format" : "QmiNasServiceStatus" },
1973                                       { "name"          : "True Service Status",
1974                                         "format"        : "guint8",
1975                                         "public-format" : "QmiNasServiceStatus" },
1976                                       { "name"          : "Preferred Data Path",
1977                                         "format"        : "guint8",
1978                                         "public-format" : "gboolean" } ] },
1979                     { "name"      : "LTE Service Status",
1980                       "id"        : "0x14",
1981                       "mandatory" : "no",
1982                       "type"      : "TLV",
1983                       "format"    : "sequence",
1984                       "contents"  : [ { "name"          : "Service Status",
1985                                         "format"        : "guint8",
1986                                         "public-format" : "QmiNasServiceStatus" },
1987                                       { "name"          : "True Service Status",
1988                                         "format"        : "guint8",
1989                                         "public-format" : "QmiNasServiceStatus" },
1990                                       { "name"          : "Preferred Data Path",
1991                                         "format"        : "guint8",
1992                                         "public-format" : "gboolean" } ] },
1993                     { "name"      : "CDMA System Info",
1994                       "id"        : "0x15",
1995                       "mandatory" : "no",
1996                       "type"      : "TLV",
1997                       "format"    : "sequence",
1998                       "contents"  : [ { "name"          : "Domain Valid",
1999                                         "format"        : "guint8",
2000                                         "public-format" : "gboolean" },
2001                                       { "name"          : "Domain",
2002                                         "format"        : "guint8",
2003                                         "public-format" : "QmiNasNetworkServiceDomain" },
2004                                       { "name"          : "Service Capability Valid",
2005                                         "format"        : "guint8",
2006                                         "public-format" : "gboolean" },
2007                                       { "name"          : "Service Capability",
2008                                         "format"        : "guint8",
2009                                         "public-format" : "QmiNasNetworkServiceDomain" },
2010                                       { "name"          : "Roaming Status Valid",
2011                                         "format"        : "guint8",
2012                                         "public-format" : "gboolean" },
2013                                       { "name"          : "Roaming Status",
2014                                         "format"        : "guint8",
2015                                         "public-format" : "QmiNasRoamingStatus" },
2016                                       { "name"          : "Forbidden Valid",
2017                                         "format"        : "guint8",
2018                                         "public-format" : "gboolean" },
2019                                       { "name"          : "Forbidden",
2020                                         "format"        : "guint8",
2021                                         "public-format" : "gboolean" },
2022                                       { "name"          : "PRL Match Valid",
2023                                         "format"        : "guint8",
2024                                         "public-format" : "gboolean" },
2025                                       { "name"          : "PRL Match",
2026                                         "format"        : "guint8",
2027                                         "public-format" : "gboolean" },
2028                                       { "name"          : "P Rev Valid",
2029                                         "format"        : "guint8",
2030                                         "public-format" : "gboolean" },
2031                                       { "name"          : "P Rev",
2032                                         "format"        : "guint8" },
2033                                       { "name"          : "Base Station P Rev Valid",
2034                                         "format"        : "guint8",
2035                                         "public-format" : "gboolean" },
2036                                       { "name"          : "Base Station P Rev",
2037                                         "format"        : "guint8" },
2038                                       { "name"          : "Concurrent Service Support Valid",
2039                                         "format"        : "guint8",
2040                                         "public-format" : "gboolean" },
2041                                       { "name"          : "Concurrent Service Support",
2042                                         "format"        : "guint8",
2043                                         "public-format" : "gboolean" },
2044                                       { "name"          : "CDMA System ID Valid",
2045                                         "format"        : "guint8",
2046                                         "public-format" : "gboolean" },
2047                                       { "name"          : "SID",
2048                                         "format"        : "guint16" },
2049                                       { "name"          : "NID",
2050                                         "format"        : "guint16" },
2051                                       { "name"          : "Base Station Info Valid",
2052                                         "format"        : "guint8",
2053                                         "public-format" : "gboolean" },
2054                                       { "name"   : "Base Station ID",
2055                                         "format" : "guint16" },
2056                                       { "name"   : "Base Station Latitude",
2057                                         "format" : "gint32" },
2058                                       { "name"   : "Base Station Longitude",
2059                                         "format" : "gint32" },
2060                                       { "name"          : "Packet Zone Valid",
2061                                         "format"        : "guint8",
2062                                         "public-format" : "gboolean" },
2063                                       { "name"   : "Packet Zone",
2064                                         "format" : "guint16" },
2065                                       { "name"          : "Network ID Valid",
2066                                         "format"        : "guint8",
2067                                         "public-format" : "gboolean" },
2068                                       { "name"       : "MCC",
2069                                         "format"     : "string",
2070                                         "fixed-size" : "3" },
2071                                       { "name"       : "MNC",
2072                                         "format"     : "string",
2073                                         "fixed-size" : "3" } ] },
2074                     { "name"      : "HDR System Info",
2075                       "id"        : "0x16",
2076                       "mandatory" : "no",
2077                       "type"      : "TLV",
2078                       "format"    : "sequence",
2079                       "contents"  : [ { "name"          : "Domain Valid",
2080                                         "format"        : "guint8",
2081                                         "public-format" : "gboolean" },
2082                                       { "name"          : "Domain",
2083                                         "format"        : "guint8",
2084                                         "public-format" : "QmiNasNetworkServiceDomain" },
2085                                       { "name"          : "Service Capability Valid",
2086                                         "format"        : "guint8",
2087                                         "public-format" : "gboolean" },
2088                                       { "name"          : "Service Capability",
2089                                         "format"        : "guint8",
2090                                         "public-format" : "QmiNasNetworkServiceDomain" },
2091                                       { "name"          : "Roaming Status Valid",
2092                                         "format"        : "guint8",
2093                                         "public-format" : "gboolean" },
2094                                       { "name"          : "Roaming Status",
2095                                         "format"        : "guint8",
2096                                         "public-format" : "QmiNasRoamingStatus" },
2097                                       { "name"          : "Forbidden Valid",
2098                                         "format"        : "guint8",
2099                                         "public-format" : "gboolean" },
2100                                       { "name"          : "Forbidden",
2101                                         "format"        : "guint8",
2102                                         "public-format" : "gboolean" },
2103                                       { "name"          : "PRL Match Valid",
2104                                         "format"        : "guint8",
2105                                         "public-format" : "gboolean" },
2106                                       { "name"          : "PRL Match",
2107                                         "format"        : "guint8",
2108                                         "public-format" : "gboolean" },
2109                                       { "name"          : "Personality Valid",
2110                                         "format"        : "guint8",
2111                                         "public-format" : "gboolean" },
2112                                       { "name"          : "Personality",
2113                                         "format"        : "guint8",
2114                                         "public-format" : "QmiNasHdrPersonality" },
2115                                       { "name"          : "Protocol Revision Valid",
2116                                         "format"        : "guint8",
2117                                         "public-format" : "gboolean" },
2118                                       { "name"          : "Protocol Revision",
2119                                         "format"        : "guint8",
2120                                         "public-format" : "QmiNasHdrProtocolRevision" },
2121                                       { "name"          : "IS 856 System ID Valid",
2122                                         "format"        : "guint8",
2123                                         "public-format" : "gboolean" },
2124                                       { "name"       : "IS 856 System ID",
2125                                         "format"     : "string",
2126                                         "fixed-size" : "16" } ] },
2127                     { "name"      : "GSM System Info",
2128                       "id"        : "0x17",
2129                       "mandatory" : "no",
2130                       "type"      : "TLV",
2131                       "format"    : "sequence",
2132                       "contents"  : [ { "name"          : "Domain Valid",
2133                                         "format"        : "guint8",
2134                                         "public-format" : "gboolean" },
2135                                       { "name"          : "Domain",
2136                                         "format"        : "guint8",
2137                                         "public-format" : "QmiNasNetworkServiceDomain" },
2138                                       { "name"          : "Service Capability Valid",
2139                                         "format"        : "guint8",
2140                                         "public-format" : "gboolean" },
2141                                       { "name"          : "Service Capability",
2142                                         "format"        : "guint8",
2143                                         "public-format" : "QmiNasNetworkServiceDomain" },
2144                                       { "name"          : "Roaming Status Valid",
2145                                         "format"        : "guint8",
2146                                         "public-format" : "gboolean" },
2147                                       { "name"          : "Roaming Status",
2148                                         "format"        : "guint8",
2149                                         "public-format" : "QmiNasRoamingStatus" },
2150                                       { "name"          : "Forbidden Valid",
2151                                         "format"        : "guint8",
2152                                         "public-format" : "gboolean" },
2153                                       { "name"          : "Forbidden",
2154                                         "format"        : "guint8",
2155                                         "public-format" : "gboolean" },
2156                                       { "name"          : "LAC Valid",
2157                                         "format"        : "guint8",
2158                                         "public-format" : "gboolean" },
2159                                       { "name"          : "LAC",
2160                                         "format"        : "guint16" },
2161                                       { "name"          : "CID Valid",
2162                                         "format"        : "guint8",
2163                                         "public-format" : "gboolean" },
2164                                       { "name"          : "CID",
2165                                         "format"        : "guint32" },
2166                                       { "name"          : "Registration Reject Info Valid",
2167                                         "format"        : "guint8",
2168                                         "public-format" : "gboolean" },
2169                                       { "name"          : "Registration Reject Domain",
2170                                         "format"        : "guint8",
2171                                         "public-format" : "QmiNasNetworkServiceDomain" },
2172                                       { "name"          : "Registration Reject Cause",
2173                                         "format"        : "guint8" },
2174                                       { "name"          : "Network ID Valid",
2175                                         "format"        : "guint8",
2176                                         "public-format" : "gboolean" },
2177                                       { "name"       : "MCC",
2178                                         "format"     : "string",
2179                                         "fixed-size" : "3" },
2180                                       { "name"       : "MNC",
2181                                         "format"     : "string",
2182                                         "fixed-size" : "3" },
2183                                       { "name"          : "EGPRS Support Valid",
2184                                         "format"        : "guint8",
2185                                         "public-format" : "gboolean" },
2186                                       { "name"          : "EGPRS Support",
2187                                         "format"        : "guint8",
2188                                         "public-format" : "gboolean" },
2189                                       { "name"          : "DTM Support Valid",
2190                                         "format"        : "guint8",
2191                                         "public-format" : "gboolean" },
2192                                       { "name"          : "DTM Support",
2193                                         "format"        : "guint8",
2194                                         "public-format" : "gboolean" } ] },
2195                     { "name"      : "WCDMA System Info",
2196                       "id"        : "0x18",
2197                       "mandatory" : "no",
2198                       "type"      : "TLV",
2199                       "format"    : "sequence",
2200                       "contents"  : [ { "name"          : "Domain Valid",
2201                                         "format"        : "guint8",
2202                                         "public-format" : "gboolean" },
2203                                       { "name"          : "Domain",
2204                                         "format"        : "guint8",
2205                                         "public-format" : "QmiNasNetworkServiceDomain" },
2206                                       { "name"          : "Service Capability Valid",
2207                                         "format"        : "guint8",
2208                                         "public-format" : "gboolean" },
2209                                       { "name"          : "Service Capability",
2210                                         "format"        : "guint8",
2211                                         "public-format" : "QmiNasNetworkServiceDomain" },
2212                                       { "name"          : "Roaming Status Valid",
2213                                         "format"        : "guint8",
2214                                         "public-format" : "gboolean" },
2215                                       { "name"          : "Roaming Status",
2216                                         "format"        : "guint8",
2217                                         "public-format" : "QmiNasRoamingStatus" },
2218                                       { "name"          : "Forbidden Valid",
2219                                         "format"        : "guint8",
2220                                         "public-format" : "gboolean" },
2221                                       { "name"          : "Forbidden",
2222                                         "format"        : "guint8",
2223                                         "public-format" : "gboolean" },
2224                                       { "name"          : "LAC Valid",
2225                                         "format"        : "guint8",
2226                                         "public-format" : "gboolean" },
2227                                       { "name"          : "LAC",
2228                                         "format"        : "guint16" },
2229                                       { "name"          : "CID Valid",
2230                                         "format"        : "guint8",
2231                                         "public-format" : "gboolean" },
2232                                       { "name"          : "CID",
2233                                         "format"        : "guint32" },
2234                                       { "name"          : "Registration Reject Info Valid",
2235                                         "format"        : "guint8",
2236                                         "public-format" : "gboolean" },
2237                                       { "name"          : "Registration Reject Domain",
2238                                         "format"        : "guint8",
2239                                         "public-format" : "QmiNasNetworkServiceDomain" },
2240                                       { "name"          : "Registration Reject Cause",
2241                                         "format"        : "guint8" },
2242                                       { "name"          : "Network ID Valid",
2243                                         "format"        : "guint8",
2244                                         "public-format" : "gboolean" },
2245                                       { "name"       : "MCC",
2246                                         "format"     : "string",
2247                                         "fixed-size" : "3" },
2248                                       { "name"       : "MNC",
2249                                         "format"     : "string",
2250                                         "fixed-size" : "3" },
2251                                       { "name"          : "HS Call Status Valid",
2252                                         "format"        : "guint8",
2253                                         "public-format" : "gboolean" },
2254                                       { "name"          : "HS Call Status",
2255                                         "format"        : "guint8",
2256                                         "public-format" : "QmiNasWcdmaHsService" },
2257                                       { "name"          : "HS Service Valid",
2258                                         "format"        : "guint8",
2259                                         "public-format" : "gboolean" },
2260                                       { "name"          : "HS Service",
2261                                         "format"        : "guint8",
2262                                         "public-format" : "QmiNasWcdmaHsService" },
2263                                       { "name"          : "Primary Scrambling Code Valid",
2264                                         "format"        : "guint8",
2265                                         "public-format" : "gboolean" },
2266                                       { "name"          : "Primary Scrambling Code",
2267                                         "format"        : "guint16" } ] },
2268                     { "name"      : "LTE System Info",
2269                       "id"        : "0x19",
2270                       "mandatory" : "no",
2271                       "type"      : "TLV",
2272                       "format"    : "sequence",
2273                       "contents"  : [ { "name"          : "Domain Valid",
2274                                         "format"        : "guint8",
2275                                         "public-format" : "gboolean" },
2276                                       { "name"          : "Domain",
2277                                         "format"        : "guint8",
2278                                         "public-format" : "QmiNasNetworkServiceDomain" },
2279                                       { "name"          : "Service Capability Valid",
2280                                         "format"        : "guint8",
2281                                         "public-format" : "gboolean" },
2282                                       { "name"          : "Service Capability",
2283                                         "format"        : "guint8",
2284                                         "public-format" : "QmiNasNetworkServiceDomain" },
2285                                       { "name"          : "Roaming Status Valid",
2286                                         "format"        : "guint8",
2287                                         "public-format" : "gboolean" },
2288                                       { "name"          : "Roaming Status",
2289                                         "format"        : "guint8",
2290                                         "public-format" : "QmiNasRoamingStatus" },
2291                                       { "name"          : "Forbidden Valid",
2292                                         "format"        : "guint8",
2293                                         "public-format" : "gboolean" },
2294                                       { "name"          : "Forbidden",
2295                                         "format"        : "guint8",
2296                                         "public-format" : "gboolean" },
2297                                       { "name"          : "LAC Valid",
2298                                         "format"        : "guint8",
2299                                         "public-format" : "gboolean" },
2300                                       { "name"          : "LAC",
2301                                         "format"        : "guint16" },
2302                                       { "name"          : "CID Valid",
2303                                         "format"        : "guint8",
2304                                         "public-format" : "gboolean" },
2305                                       { "name"          : "CID",
2306                                         "format"        : "guint32" },
2307                                       { "name"          : "Registration Reject Info Valid",
2308                                         "format"        : "guint8",
2309                                         "public-format" : "gboolean" },
2310                                       { "name"          : "Registration Reject Domain",
2311                                         "format"        : "guint8",
2312                                         "public-format" : "QmiNasNetworkServiceDomain" },
2313                                       { "name"          : "Registration Reject Cause",
2314                                         "format"        : "guint8" },
2315                                       { "name"          : "Network ID Valid",
2316                                         "format"        : "guint8",
2317                                         "public-format" : "gboolean" },
2318                                       { "name"       : "MCC",
2319                                         "format"     : "string",
2320                                         "fixed-size" : "3" },
2321                                       { "name"       : "MNC",
2322                                         "format"     : "string",
2323                                         "fixed-size" : "3" },
2324                                       { "name"          : "TAC Valid",
2325                                         "format"        : "guint8",
2326                                         "public-format" : "gboolean" },
2327                                       { "name"          : "TAC",
2328                                         "format"        : "guint16" } ] },
2329                     { "name"      : "Additional CDMA System Info",
2330                       "id"        : "0x1A",
2331                       "mandatory" : "no",
2332                       "type"      : "TLV",
2333                       "format"    : "sequence",
2334                       "contents"  : [ { "name"   : "Geo System Index",
2335                                         "format" : "guint16" },
2336                                       { "name"   : "Registration Period",
2337                                         "format" : "guint16" } ] },
2338                     { "name"      : "Additional HDR System Info",
2339                       "id"        : "0x1B",
2340                       "mandatory" : "no",
2341                       "type"      : "TLV",
2342                       "format"    : "sequence",
2343                       "contents"  : [ { "name"   : "Geo System Index",
2344                                         "format" : "guint16" } ] },
2345                     { "name"      : "Additional GSM System Info",
2346                       "id"        : "0x1C",
2347                       "mandatory" : "no",
2348                       "type"      : "TLV",
2349                       "format"    : "sequence",
2350                       "contents"  : [ { "name"   : "Geo System Index",
2351                                         "format" : "guint16" },
2352                                       { "name"          : "Cell Broadcast Support",
2353                                         "format"        : "guint32",
2354                                         "public-format" : "QmiNasCellBroadcastCapability" } ] },
2355                     { "name"      : "Additional WCDMA System Info",
2356                       "id"        : "0x1D",
2357                       "mandatory" : "no",
2358                       "type"      : "TLV",
2359                       "format"    : "sequence",
2360                       "contents"  : [ { "name"   : "Geo System Index",
2361                                         "format" : "guint16" },
2362                                       { "name"          : "Cell Broadcast Support",
2363                                         "format"        : "guint32",
2364                                         "public-format" : "QmiNasCellBroadcastCapability" } ] },
2365                     { "name"      : "Additional LTE System Info",
2366                       "id"        : "0x1E",
2367                       "mandatory" : "no",
2368                       "type"      : "TLV",
2369                       "format"    : "sequence",
2370                       "contents"  : [ { "name"   : "Geo System Index",
2371                                         "format" : "guint16" } ] },
2372                     { "name"      : "GSM Call Barring Status",
2373                       "id"        : "0x1F",
2374                       "mandatory" : "no",
2375                       "type"      : "TLV",
2376                       "format"    : "sequence",
2377                       "contents"  : [ { "name"          : "CS Status",
2378                                         "format"        : "gint32",
2379                                         "public-format" : "QmiNasCallBarringStatus" },
2380                                       { "name"          : "PS Status",
2381                                         "format"        : "gint32",
2382                                         "public-format" : "QmiNasCallBarringStatus" } ] },
2383                     { "name"      : "WCDMA Call Barring Status",
2384                       "id"        : "0x20",
2385                       "mandatory" : "no",
2386                       "type"      : "TLV",
2387                       "format"    : "sequence",
2388                       "contents"  : [ { "name"          : "CS Status",
2389                                         "format"        : "gint32",
2390                                         "public-format" : "QmiNasCallBarringStatus" },
2391                                       { "name"          : "PS Status",
2392                                         "format"        : "gint32",
2393                                         "public-format" : "QmiNasCallBarringStatus" } ] },
2394                     { "name"          : "LTE Voice Support",
2395                       "id"            : "0x21",
2396                       "mandatory"     : "no",
2397                       "type"          : "TLV",
2398                       "format"        : "guint8",
2399                       "public-format" : "gboolean" },
2400                     { "name"          : "GSM Cipher Domain",
2401                       "id"            : "0x22",
2402                       "mandatory"     : "no",
2403                       "type"          : "TLV",
2404                       "format"        : "guint8",
2405                       "public-format" : "QmiNasNetworkServiceDomain" },
2406                     { "name"          : "WCDMA Cipher Domain",
2407                       "id"            : "0x23",
2408                       "mandatory"     : "no",
2409                       "type"          : "TLV",
2410                       "format"        : "guint8",
2411                       "public-format" : "QmiNasNetworkServiceDomain" },
2412                     { "name"          : "PLMN Not Changed Indication",
2413                       "id"            : "0x24",
2414                       "mandatory"     : "no",
2415                       "type"          : "TLV",
2416                       "format"        : "guint8",
2417                       "public-format" : "gboolean" },
2418                     { "name"      : "TD SCDMA Service Status",
2419                       "id"        : "0x25",
2420                       "mandatory" : "no",
2421                       "type"      : "TLV",
2422                       "format"    : "sequence",
2423                       "contents"  : [ { "name"          : "Service Status",
2424                                         "format"        : "guint8",
2425                                         "public-format" : "QmiNasServiceStatus" },
2426                                       { "name"          : "True Service Status",
2427                                         "format"        : "guint8",
2428                                         "public-format" : "QmiNasServiceStatus" },
2429                                       { "name"          : "Preferred Data Path",
2430                                         "format"        : "guint8",
2431                                         "public-format" : "gboolean" } ] },
2432                     { "name"      : "TD SCMA System Info",
2433                       "id"        : "0x26",
2434                       "mandatory" : "no",
2435                       "type"      : "TLV",
2436                       "format"    : "sequence",
2437                       "contents"  : [ { "name"          : "Domain Valid",
2438                                         "format"        : "guint8",
2439                                         "public-format" : "gboolean" },
2440                                       { "name"          : "Domain",
2441                                         "format"        : "guint8",
2442                                         "public-format" : "QmiNasNetworkServiceDomain" },
2443                                       { "name"          : "Service Capability Valid",
2444                                         "format"        : "guint8",
2445                                         "public-format" : "gboolean" },
2446                                       { "name"          : "Service Capability",
2447                                         "format"        : "guint8",
2448                                         "public-format" : "QmiNasNetworkServiceDomain" },
2449                                       { "name"          : "Roaming Status Valid",
2450                                         "format"        : "guint8",
2451                                         "public-format" : "gboolean" },
2452                                       { "name"          : "Roaming Status",
2453                                         "format"        : "guint8",
2454                                         "public-format" : "QmiNasRoamingStatus" },
2455                                       { "name"          : "Forbidden Valid",
2456                                         "format"        : "guint8",
2457                                         "public-format" : "gboolean" },
2458                                       { "name"          : "Forbidden",
2459                                         "format"        : "guint8",
2460                                         "public-format" : "gboolean" },
2461                                       { "name"          : "LAC Valid",
2462                                         "format"        : "guint8",
2463                                         "public-format" : "gboolean" },
2464                                       { "name"          : "LAC",
2465                                         "format"        : "guint16" },
2466                                       { "name"          : "CID Valid",
2467                                         "format"        : "guint8",
2468                                         "public-format" : "gboolean" },
2469                                       { "name"          : "CID",
2470                                         "format"        : "guint32" },
2471                                       { "name"          : "Registration Reject Info Valid",
2472                                         "format"        : "guint8",
2473                                         "public-format" : "gboolean" },
2474                                       { "name"          : "Registration Reject Domain",
2475                                         "format"        : "guint8",
2476                                         "public-format" : "QmiNasNetworkServiceDomain" },
2477                                       { "name"          : "Registration Reject Cause",
2478                                         "format"        : "guint8" },
2479                                       { "name"          : "Network ID Valid",
2480                                         "format"        : "guint8",
2481                                         "public-format" : "gboolean" },
2482                                       { "name"       : "MCC",
2483                                         "format"     : "string",
2484                                         "fixed-size" : "3" },
2485                                       { "name"       : "MNC",
2486                                         "format"     : "string",
2487                                         "fixed-size" : "3" },
2488                                       { "name"          : "HS Call Status Valid",
2489                                         "format"        : "guint8",
2490                                         "public-format" : "gboolean" },
2491                                       { "name"          : "HS Call Status",
2492                                         "format"        : "guint8",
2493                                         "public-format" : "QmiNasWcdmaHsService" },
2494                                       { "name"          : "HS Service Valid",
2495                                         "format"        : "guint8",
2496                                         "public-format" : "gboolean" },
2497                                       { "name"          : "HS Service",
2498                                         "format"        : "guint8",
2499                                         "public-format" : "QmiNasWcdmaHsService" },
2500                                       { "name"          : "Cell Parameter ID Valid",
2501                                         "format"        : "guint8",
2502                                         "public-format" : "gboolean" },
2503                                       { "name"   : "Cell Parameter ID",
2504                                         "format" : "guint16" },
2505                                       { "name"          : "Cell Broadcast Support Valid",
2506                                         "format"        : "guint8",
2507                                         "public-format" : "gboolean" },
2508                                       { "name"          : "Cell Broadcast Support",
2509                                         "format"        : "guint32",
2510                                         "public-format" : "QmiNasCellBroadcastCapability" },
2511                                       { "name"          : "CS Call Barring Status Valid",
2512                                         "format"        : "guint8",
2513                                         "public-format" : "gboolean" },
2514                                       { "name"          : "CS Call Barring Status",
2515                                         "format"        : "gint32",
2516                                         "public-format" : "QmiNasCallBarringStatus" },
2517                                       { "name"          : "PS Call Barring Status Valid",
2518                                         "format"        : "guint8",
2519                                         "public-format" : "gboolean" },
2520                                       { "name"          : "PS Call Barring Status",
2521                                         "format"        : "gint32",
2522                                         "public-format" : "QmiNasCallBarringStatus" },
2523                                       { "name"          : "Cipher Domain Valid",
2524                                         "format"        : "guint8",
2525                                         "public-format" : "gboolean" },
2526                                       { "name"          : "Cipher Domain",
2527                                         "format"        : "guint8",
2528                                         "public-format" : "QmiNasNetworkServiceDomain" } ] },
2529                     { "name"          : "LTE eMBMS Coverage Info Support",
2530                       "id"            : "0x27",
2531                       "mandatory"     : "no",
2532                       "type"          : "TLV",
2533                       "format"        : "guint8",
2534                       "public-format" : "gboolean" },
2535                     { "name"          : "SIM Reject Info",
2536                       "id"            : "0x28",
2537                       "mandatory"     : "no",
2538                       "type"          : "TLV",
2539                       "format"        : "guint32",
2540                       "public-format" : "QmiNasSimRejectState" } ] },
2541
2542   // *********************************************************************************
2543   {  "name"    : "Get Signal Info",
2544      "type"    : "Message",
2545      "service" : "NAS",
2546      "id"      : "0x004F",
2547      "version" : "1.8",
2548      "output"  : [  { "common-ref" : "Operation Result" },
2549                     { "name"      : "CDMA Signal Strength",
2550                       "id"        : "0x10",
2551                       "mandatory" : "no",
2552                       "type"      : "TLV",
2553                       "format"    : "sequence",
2554                       "contents"  : [ { "name"   : "RSSI",
2555                                         "format" : "gint8" },
2556                                       { "name"   : "ECIO",
2557                                         "format" : "gint16" } ] },
2558                     { "name"      : "HDR Signal Strength",
2559                       "id"        : "0x11",
2560                       "mandatory" : "no",
2561                       "type"      : "TLV",
2562                       "format"    : "sequence",
2563                       "contents"  : [ { "name"   : "RSSI",
2564                                         "format" : "gint8" },
2565                                       { "name"   : "ECIO",
2566                                         "format" : "gint16" },
2567                                       { "name"          : "SINR",
2568                                         "format"        : "guint8",
2569                                         "public-format" : "QmiNasEvdoSinrLevel" },
2570                                       { "name"   : "IO",
2571                                         "format" : "gint32" } ] },
2572                     { "name"      : "GSM Signal Strength",
2573                       "id"        : "0x12",
2574                       "mandatory" : "no",
2575                       "type"      : "TLV",
2576                       "format"    : "gint8" },
2577                     { "name"      : "WCDMA Signal Strength",
2578                       "id"        : "0x13",
2579                       "mandatory" : "no",
2580                       "type"      : "TLV",
2581                       "format"    : "sequence",
2582                       "contents"  : [ { "name"   : "RSSI",
2583                                         "format" : "gint8" },
2584                                       { "name"   : "ECIO",
2585                                         "format" : "gint16" } ] },
2586                     { "name"      : "LTE Signal Strength",
2587                       "id"        : "0x14",
2588                       "mandatory" : "no",
2589                       "type"      : "TLV",
2590                       "format"    : "sequence",
2591                       "contents"  : [ { "name"   : "RSSI",
2592                                         "format" : "gint8" },
2593                                       { "name"   : "RSRQ",
2594                                         "format" : "gint8" },
2595                                       { "name"   : "RSRP",
2596                                         "format" : "gint16" },
2597                                       { "name"   : "SNR",
2598                                         "format" : "gint16" } ] },
2599                     { "name"      : "TDMA Signal Strength",
2600                       "id"        : "0x15",
2601                       "mandatory" : "no",
2602                       "type"      : "TLV",
2603                       "format"    : "gint8" } ] },
2604
2605   // *********************************************************************************
2606   {  "name"    : "Config Signal Info",
2607      "type"    : "Message",
2608      "service" : "NAS",
2609      "id"      : "0x0050",
2610      "version" : "1.8",
2611      "input"   : [  { "name"          : "RSSI Threshold",
2612                       "id"            : "0x10",
2613                       "mandatory"     : "no",
2614                       "type"          : "TLV",
2615                       "format"        : "array",
2616                       "array-element" : { "format" : "gint8" } },
2617                     { "name"          : "ECIO Threshold",
2618                       "id"            : "0x11",
2619                       "mandatory"     : "no",
2620                       "type"          : "TLV",
2621                       "format"        : "array",
2622                       "array-element" : { "format" : "gint16" } },
2623                     { "name"          : "SINR Threshold",
2624                       "id"            : "0x12",
2625                       "mandatory"     : "no",
2626                       "type"          : "TLV",
2627                       "format"        : "array",
2628                       "array-element" : { "format" : "guint8" } },
2629                     { "name"          : "LTE SNR Threshold",
2630                       "id"            : "0x13",
2631                       "mandatory"     : "no",
2632                       "type"          : "TLV",
2633                       "format"        : "array",
2634                       "array-element" : { "format" : "gint16" } },
2635                     { "name"          : "IO Threshold",
2636                       "id"            : "0x14",
2637                       "mandatory"     : "no",
2638                       "type"          : "TLV",
2639                       "format"        : "array",
2640                       "array-element" : { "format" : "gint32" } },
2641                     { "name"          : "RSRQ Threshold",
2642                       "id"            : "0x15",
2643                       "mandatory"     : "no",
2644                       "type"          : "TLV",
2645                       "format"        : "array",
2646                       "array-element" : { "format" : "gint8" } },
2647                     { "name"          : "RSRP Threshold",
2648                       "id"            : "0x16",
2649                       "mandatory"     : "no",
2650                       "type"          : "TLV",
2651                       "format"        : "array",
2652                       "array-element" : { "format" : "gint16" } },
2653                     { "name"      : "LTE Report",
2654                       "id"        : "0x17",
2655                       "mandatory" : "no",
2656                       "type"      : "TLV",
2657                       "format"    : "sequence",
2658                       "contents"  : [ { "name" : "Rate",
2659                                         "format" : "guint8" },
2660                                       { "name" : "Average Period",
2661                                         "format" : "guint8" } ] },
2662                     { "name"          : "RSCP Threshold",
2663                       "id"            : "0x18",
2664                       "mandatory"     : "no",
2665                       "type"          : "TLV",
2666                       "format"        : "array",
2667                       "array-element" : { "format" : "gint8" } } ],
2668      "output"  : [  { "common-ref" : "Operation Result" } ] },
2669
2670   // *********************************************************************************
2671   {  "name"    : "Signal Info",
2672      "type"    : "Indication",
2673      "service" : "NAS",
2674      "id"      : "0x0051",
2675      "version" : "1.8",
2676      "output"  : [  { "name"      : "CDMA Signal Strength",
2677                       "id"        : "0x10",
2678                       "mandatory" : "no",
2679                       "type"      : "TLV",
2680                       "format"    : "sequence",
2681                       "contents"  : [ { "name"   : "RSSI",
2682                                         "format" : "gint8" },
2683                                       { "name"   : "ECIO",
2684                                         "format" : "gint16" } ] },
2685                     { "name"      : "HDR Signal Strength",
2686                       "id"        : "0x11",
2687                       "mandatory" : "no",
2688                       "type"      : "TLV",
2689                       "format"    : "sequence",
2690                       "contents"  : [ { "name"   : "RSSI",
2691                                         "format" : "gint8" },
2692                                       { "name"   : "ECIO",
2693                                         "format" : "gint16" },
2694                                       { "name"          : "SINR",
2695                                         "format"        : "guint8",
2696                                         "public-format" : "QmiNasEvdoSinrLevel" },
2697                                       { "name"   : "IO",
2698                                         "format" : "gint32" } ] },
2699                     { "name"      : "GSM Signal Strength",
2700                       "id"        : "0x12",
2701                       "mandatory" : "no",
2702                       "type"      : "TLV",
2703                       "format"    : "gint8" },
2704                     { "name"      : "WCDMA Signal Strength",
2705                       "id"        : "0x13",
2706                       "mandatory" : "no",
2707                       "type"      : "TLV",
2708                       "format"    : "sequence",
2709                       "contents"  : [ { "name"   : "RSSI",
2710                                         "format" : "gint8" },
2711                                       { "name"   : "ECIO",
2712                                         "format" : "gint16" } ] },
2713                     { "name"      : "LTE Signal Strength",
2714                       "id"        : "0x14",
2715                       "mandatory" : "no",
2716                       "type"      : "TLV",
2717                       "format"    : "sequence",
2718                       "contents"  : [ { "name"   : "RSSI",
2719                                         "format" : "gint8" },
2720                                       { "name"   : "RSRQ",
2721                                         "format" : "gint8" },
2722                                       { "name"   : "RSRP",
2723                                         "format" : "gint16" },
2724                                       { "name"   : "SNR",
2725                                         "format" : "gint16" } ] },
2726                     { "name"      : "TDMA Signal Strength",
2727                       "id"        : "0x15",
2728                       "mandatory" : "no",
2729                       "type"      : "TLV",
2730                       "format"    : "gint8" } ] },
2731
2732   // *********************************************************************************
2733   {  "name"    : "Get CDMA Position Info",
2734      "type"    : "Message",
2735      "service" : "NAS",
2736      "id"      : "0x0065",
2737      "version" : "1.3",
2738      "output"  : [ { "common-ref" : "Operation Result" },
2739                    { "name"       : "CDMA Position Info",
2740                      "id"         : "0x10",
2741                      "mandatory"  : "no",
2742                      "type"       : "TLV",
2743                      "format"     : "sequence",
2744                      "contents"   : [ { "name"               : "UI In Idle Mode",
2745                                         "format"             : "gint8" },
2746                                       { "name"               : "BaseStations",
2747                                         "format"             : "array",
2748                                         "size-prefix-format" : "guint8",
2749                                         "array-element"      : { "name"     : "BaseStation",
2750                                                                  "format"   : "struct",
2751                                                                  "contents" : [ { "name"          : "Pilot Type",
2752                                                                                   "format"        : "guint32",
2753                                                                                   "public-format" : "QmiNasCdmaPilotType" },
2754                                                                                 { "name"          : "System ID",
2755                                                                                   "format"        : "guint16" },
2756                                                                                 { "name"          : "Network ID",
2757                                                                                   "format"        : "guint16" },
2758                                                                                 { "name"          : "Base Station ID",
2759                                                                                   "format"        : "guint16" },
2760                                                                                 { "name"          : "Pilot PN",
2761                                                                                   "format"        : "guint16" },
2762                                                                                 { "name"          : "Pilot Strength",
2763                                                                                   "format"        : "guint16" },
2764                                                                                 { "name"          : "Latitude",
2765                                                                                   "format"        : "gint32" },
2766                                                                                 { "name"          : "Longitude",
2767                                                                                   "format"        : "gint32" },
2768                                                                                 { "name"          : "GPS Time In Milliseconds",
2769                                                                                   "format"        : "guint64" } ] } } ],
2770                      "prerequisites": [ { "common-ref" : "Success" } ] } ] }
2771 ]