wds: add a separate --set-ip-family option
[project/uqmi.git] / data / qmi-service-pbm.json
1
2 [
3   // *********************************************************************************
4   {  "name"    : "PBM",
5      "type"    : "Service" },
6
7   // *********************************************************************************
8   {  "name"    : "QMI Client PBM",
9      "type"    : "Client" },
10
11   // *********************************************************************************
12   {  "name"    : "QMI Message PBM",
13      "type"    : "Message-ID-Enum" },
14
15   // *********************************************************************************
16   {  "name"    : "Indication Register",
17      "type"    : "Message",
18      "service" : "PBM",
19      "id"      : "0x0001",
20      "version" : "1.0",
21      "input"   : [ { "name"          : "Event Registration Mask",
22                      "id"            : "0x01",
23                      "mandatory"     : "yes",
24                      "type"          : "TLV",
25                      "format"        : "guint32",
26                      "public-format" : "QmiPbmEventRegistrationFlag" } ],
27      "output"  : [ { "common-ref" : "Operation Result" },
28                    { "name"          : "Event Registration Mask",
29                      "id"            : "0x10",
30                      "mandatory"     : "no",
31                      "type"          : "TLV",
32                      "format"        : "guint32",
33                      "public-format" : "QmiPbmEventRegistrationFlag",
34                      "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
35
36   // *********************************************************************************
37   {  "name"    : "Get Capabilities",
38      "type"    : "Message",
39      "service" : "PBM",
40      "id"      : "0x0002",
41      "version" : "1.0",
42      "input"   : [ { "name"      : "Phonebook Information",
43                      "id"        : "0x01",
44                      "mandatory" : "yes",
45                      "type"      : "TLV",
46                      "format"    : "sequence",
47                      "contents"  : [ { "name"          : "Session Type",
48                                        "format"        : "guint8",
49                                        "public-format" : "QmiPbmSessionType" },
50                                      { "name"          : "Phonebook Type",
51                                        "format"        : "guint16",
52                                        "public-format" : "QmiPbmPhonebookType" } ] } ],
53      "output"  : [ { "common-ref" : "Operation Result" },
54                    { "name"          : "Capability Basic Information",
55                      "id"            : "0x10",
56                      "mandatory"     : "no",
57                      "type"          : "TLV",
58                      "format"        : "sequence",
59                      "contents"      : [ { "name"          : "Session Type",
60                                            "format"        : "guint8",
61                                            "public-format" : "QmiPbmSessionType" },
62                                          { "name"          : "Phonebook Type",
63                                            "format"        : "guint16",
64                                            "public-format" : "QmiPbmPhonebookType" },
65                                          { "name"   : "Used Records",
66                                            "format" : "guint16" },
67                                          { "name"   : "Maximum Records",
68                                            "format" : "guint16" },
69                                          { "name"   : "Maximum Number Length",
70                                            "format" : "guint8" },
71                                          { "name"   : "Maximum Name Length",
72                                            "format" : "guint8" } ],
73                      "prerequisites" : [ { "common-ref" : "Success" } ] },
74                    { "name"          : "Group Capability",
75                      "id"            : "0x11",
76                      "mandatory"     : "no",
77                      "type"          : "TLV",
78                      "format"        : "sequence",
79                      "contents"      : [ { "name"   : "Maximum Groups",
80                                            "format" : "guint8" },
81                                          { "name"   : "Maximum Group Tag Length",
82                                            "format" : "guint8" } ],
83                      "prerequisites" : [ { "common-ref" : "Success" } ] },
84                    { "name"          : "Additional Number Capability",
85                      "id"            : "0x12",
86                      "mandatory"     : "no",
87                      "type"          : "TLV",
88                      "format"        : "sequence",
89                      "contents"      : [ { "name"   : "Maximum Additional Numbers",
90                                            "format" : "guint8" },
91                                          { "name"   : "Maximum Additional Number Length",
92                                            "format" : "guint8" },
93                                          { "name"   : "Maximum Additional Number Tag Length",
94                                            "format" : "guint8" } ],
95                      "prerequisites" : [ { "common-ref" : "Success" } ] },
96                    { "name"          : "Email Capability",
97                      "id"            : "0x13",
98                      "mandatory"     : "no",
99                      "type"          : "TLV",
100                      "format"        : "sequence",
101                      "contents"      : [ { "name"   : "Maximum Emails",
102                                            "format" : "guint8" },
103                                          { "name"   : "Maximum Email Address Length",
104                                            "format" : "guint8" } ],
105                      "prerequisites" : [ { "common-ref" : "Success" } ] },
106                    { "name"          : "Second Name Capability",
107                      "id"            : "0x14",
108                      "mandatory"     : "no",
109                      "type"          : "TLV",
110                      "format"        : "sequence",
111                      "contents"      : [ { "name"   : "Maximum Second Name Length",
112                                            "format" : "guint8" } ],
113                      "prerequisites" : [ { "common-ref" : "Success" } ] },
114                    { "name"          : "Hidden Records Capability",
115                      "id"            : "0x15",
116                      "mandatory"     : "no",
117                      "type"          : "TLV",
118                      "format"        : "sequence",
119                      "contents"      : [ { "name"          : "Supported",
120                                            "format"        : "guint8",
121                                            "public-format" : "gboolean" } ],
122                      "prerequisites" : [ { "common-ref" : "Success" } ] },
123                    { "name"          : "Grouping Information Alpha String Capability",
124                      "id"            : "0x16",
125                      "mandatory"     : "no",
126                      "type"          : "TLV",
127                      "format"        : "sequence",
128                      "contents"      : [ { "name"   : "Maximum Records",
129                                            "format" : "guint8" },
130                                          { "name"   : "Used Records",
131                                            "format" : "guint8" },
132                                          { "name"   : "Maximum String Length",
133                                            "format" : "guint8" } ],
134                      "prerequisites" : [ { "common-ref" : "Success" } ] },
135                    { "name"          : "Additional Number Alpha String Capability",
136                      "id"            : "0x17",
137                      "mandatory"     : "no",
138                      "type"          : "TLV",
139                      "format"        : "sequence",
140                      "contents"      : [ { "name"   : "Maximum Records",
141                                            "format" : "guint8" },
142                                          { "name"   : "Used Records",
143                                            "format" : "guint8" },
144                                          { "name"   : "Maximum String Length",
145                                            "format" : "guint8" } ],
146                      "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
147
148   // *********************************************************************************
149   {  "name"    : "Get All Capabilities",
150      "type"    : "Message",
151      "service" : "PBM",
152      "id"      : "0x0003",
153      "version" : "1.0",
154      "output"  : [ { "common-ref" : "Operation Result" },
155                    { "name"               : "Capability Basic Information",
156                      "id"                 : "0x10",
157                      "mandatory"          : "no",
158                      "type"               : "TLV",
159                      "format"             : "array",
160                      "size-prefix-format" : "guint8",
161                      "array-element"      : { "name"     : "Element",
162                                               "format"   : "struct",
163                                               "contents" : [ { "name"          : "Session Type",
164                                                                "format"        : "guint8",
165                                                                "public-format" : "QmiPbmSessionType" },
166                                                              { "name"               : "Phonebooks",
167                                                                "format"             : "array",
168                                                                "size-prefix-format" : "guint8",
169                                                                "array-element"      : { "name"     : "Element",
170                                                                                         "format"   : "struct",
171                                                                                         "contents" : [ { "name"          : "Phonebook Type",
172                                                                                                          "format"        : "guint16",
173                                                                                                          "public-format" : "QmiPbmPhonebookType" },
174                                                                                                        { "name"   : "Used Records",
175                                                                                                          "format" : "guint16" },
176                                                                                                        { "name"   : "Maximum Records",
177                                                                                                          "format" : "guint16" },
178                                                                                                        { "name"   : "Maximum Number Length",
179                                                                                                          "format" : "guint8" },
180                                                                                                        { "name"   : "Maximum Name Length",
181                                                                                                          "format" : "guint8" } ] } } ] },
182                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
183                    { "name"               : "Group Capability",
184                      "id"                 : "0x11",
185                      "mandatory"          : "no",
186                      "type"               : "TLV",
187                      "format"             : "array",
188                      "size-prefix-format" : "guint8",
189                      "array-element"      : { "name"     : "Element",
190                                               "format"   : "struct",
191                                               "contents" : [ { "name"          : "Session Type",
192                                                                "format"        : "guint8",
193                                                                "public-format" : "QmiPbmSessionType" },
194                                                              { "name"   : "Maximum Groups",
195                                                                "format" : "guint8" },
196                                                              { "name"   : "Maximum Group Tag Length",
197                                                                "format" : "guint8" } ] },
198                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
199                    { "name"               : "Additional Number Capability",
200                      "id"                 : "0x12",
201                      "mandatory"          : "no",
202                      "type"               : "TLV",
203                      "format"             : "array",
204                      "size-prefix-format" : "guint8",
205                      "array-element"      : { "name"     : "Element",
206                                               "format"   : "struct",
207                                               "contents" : [ { "name"          : "Session Type",
208                                                                "format"        : "guint8",
209                                                                "public-format" : "QmiPbmSessionType" },
210                                                              { "name"   : "Maximum Additional Numbers",
211                                                                "format" : "guint8" },
212                                                              { "name"   : "Maximum Additional Number Length",
213                                                                "format" : "guint8" },
214                                                              { "name"   : "Maximum Additional Number Tag Length",
215                                                                "format" : "guint8" } ] },
216                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
217                    { "name"               : "Email Capability",
218                      "id"                 : "0x13",
219                      "mandatory"          : "no",
220                      "type"               : "TLV",
221                      "format"             : "array",
222                      "size-prefix-format" : "guint8",
223                      "array-element"      : { "name"     : "Element",
224                                               "format"   : "struct",
225                                               "contents" : [ { "name"          : "Session Type",
226                                                                "format"        : "guint8",
227                                                                "public-format" : "QmiPbmSessionType" },
228                                                              { "name"   : "Maximum Emails",
229                                                                "format" : "guint8" },
230                                                              { "name"   : "Maximum Email Address Length",
231                                                                "format" : "guint8" } ] },
232                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
233                    { "name"               : "Second Name Capability",
234                      "id"                 : "0x14",
235                      "mandatory"          : "no",
236                      "type"               : "TLV",
237                      "format"             : "array",
238                      "size-prefix-format" : "guint8",
239                      "array-element"      : { "name"     : "Element",
240                                               "format"   : "struct",
241                                               "contents" : [ { "name"          : "Session Type",
242                                                                "format"        : "guint8",
243                                                                "public-format" : "QmiPbmSessionType" },
244                                                              { "name"   : "Maximum Second Name Length",
245                                                                "format" : "guint8" } ] },
246                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
247                    { "name"               : "Hidden Records Capability",
248                      "id"                 : "0x15",
249                      "mandatory"          : "no",
250                      "type"               : "TLV",
251                      "format"             : "array",
252                      "size-prefix-format" : "guint8",
253                      "array-element"      : { "name"     : "Element",
254                                               "format"   : "struct",
255                                               "contents" : [ { "name"          : "Session Type",
256                                                                "format"        : "guint8",
257                                                                "public-format" : "QmiPbmSessionType" },
258                                                              { "name"          : "Supported",
259                                                                "format"        : "guint8",
260                                                                "public-format" : "gboolean" } ] },
261                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
262                    { "name"               : "Grouping Information Alpha String Capability",
263                      "id"                 : "0x16",
264                      "mandatory"          : "no",
265                      "type"               : "TLV",
266                      "format"             : "array",
267                      "size-prefix-format" : "guint8",
268                      "array-element"      : { "name"     : "Element",
269                                               "format"   : "struct",
270                                               "contents" : [ { "name"          : "Session Type",
271                                                                "format"        : "guint8",
272                                                                "public-format" : "QmiPbmSessionType" },
273                                                              { "name"   : "Maximum Records",
274                                                                "format" : "guint8" },
275                                                              { "name"   : "Used Records",
276                                                                "format" : "guint8" },
277                                                              { "name"   : "Maximum String Length",
278                                                                "format" : "guint8" } ] },
279                      "prerequisites"      : [ { "common-ref" : "Success" } ] },
280                    { "name"               : "Additional Number Alpha String Capability",
281                      "id"                 : "0x17",
282                      "mandatory"          : "no",
283                      "type"               : "TLV",
284                      "format"             : "array",
285                      "size-prefix-format" : "guint8",
286                      "array-element"      : { "name"     : "Element",
287                                               "format"   : "struct",
288                                               "contents" : [ { "name"          : "Session Type",
289                                                                "format"        : "guint8",
290                                                                "public-format" : "QmiPbmSessionType" },
291                                                              { "name"   : "Maximum Records",
292                                                                "format" : "guint8" },
293                                                              { "name"   : "Used Records",
294                                                                "format" : "guint8" },
295                                                              { "name"   : "Maximum String Length",
296                                                                "format" : "guint8" } ] },
297                      "prerequisites"      : [ { "common-ref" : "Success" } ] } ] }
298 ]