3 // *********************************************************************************
7 // *********************************************************************************
8 { "name" : "QMI Client WDS",
11 // *********************************************************************************
12 { "name" : "QMI Message WDS",
13 "type" : "Message-ID-Enum" },
15 // *********************************************************************************
21 "output" : [ { "common-ref" : "Operation Result" } ] },
23 // *********************************************************************************
29 // This magic tag allows us to avoid creating a method in the client
30 "scope" : "library-only",
31 "input" : [ { "name" : "Transaction ID",
35 "format" : "guint16" } ],
36 "output" : [ { "common-ref" : "Operation Result" } ] },
38 // *********************************************************************************
39 { "name" : "Start Network",
44 // This method may be aborted
46 "input" : [ { "name" : "Primary DNS Address Preference",
50 "format" : "guint32" },
51 { "name" : "Secondary DNS Address Preference",
55 "format" : "guint32" },
56 { "name" : "Primary NBNS Address Preference",
60 "format" : "guint32" },
61 { "name" : "Secondary NBNS Address Preference",
65 "format" : "guint32" },
70 "format" : "string" },
71 { "name" : "IPv4 Address Preference",
75 "format" : "guint32" },
76 { "name" : "Authentication Preference",
81 "public-format" : "QmiWdsAuthentication" },
82 { "name" : "Username",
86 "format" : "string" },
87 { "name" : "Password",
91 "format" : "string" },
92 { "name" : "IP Family Preference",
97 "public-format" : "QmiWdsIpFamily" },
98 { "name" : "Technology Preference",
103 "public-format" : "QmiWdsTechnologyPreference" },
104 { "name" : "Profile Index 3GPP",
108 "format" : "guint8" },
109 { "name" : "Profile Index 3GPP2",
113 "format" : "guint8" },
114 { "name" : "Enable Autoconnect",
119 "public-format" : "gboolean" },
120 { "name" : "Extended Technology Preference",
124 "format" : "guint16",
125 "public-format" : "QmiWdsExtendedTechnologyPreference" },
126 { "name" : "Call Type",
131 "public-format" : "QmiWdsCallType" } ],
132 "output" : [ { "common-ref" : "Operation Result" },
133 { "name" : "Packet Data Handle",
137 "format" : "guint32",
138 "prerequisites": [ { "common-ref" : "Success" } ] },
139 { "name" : "Call End Reason",
143 "format" : "guint16",
144 "public-format" : "QmiWdsCallEndReason",
145 "prerequisites" : [ { "field" : "Result.Error Status",
147 "value" : "QMI_STATUS_SUCCESS" },
148 { "field" : "Result.Error Code",
150 "value" : "QMI_PROTOCOL_ERROR_CALL_FAILED" } ] },
151 { "name" : "Verbose Call End Reason",
155 "format" : "sequence",
156 "contents" : [ { "name" : "Type",
157 "format" : "guint16",
158 "public-format" : "QmiWdsVerboseCallEndReasonType" },
160 "format" : "gint16" } ],
161 "prerequisites": [ { "field" : "Result.Error Status",
163 "value" : "QMI_STATUS_SUCCESS" },
164 { "field" : "Result.Error Code",
166 "value" : "QMI_PROTOCOL_ERROR_CALL_FAILED" } ] } ] },
168 // *********************************************************************************
169 { "name" : "Stop Network",
174 "input" : [ { "name" : "Packet Data Handle",
178 "format" : "guint32" },
179 { "name" : "Disable Autoconnect",
184 "public-format" : "gboolean" } ],
185 "output" : [ { "common-ref" : "Operation Result" } ] },
187 // *********************************************************************************
188 { "name" : "Get Packet Service Status",
193 "output" : [ { "common-ref" : "Operation Result" },
194 { "name" : "Connection Status",
199 "public-format" : "QmiWdsConnectionStatus",
200 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
202 // *********************************************************************************
203 { "name" : "Get Current Settings",
208 "input" : [ { "name" : "Requested Settings",
212 "format" : "guint32",
213 "public-format" : "QmiWdsGetCurrentSettingsRequestedSettings" } ],
214 "output" : [ { "common-ref" : "Operation Result" },
215 { "name" : "Profile Name",
220 "prerequisites" : [ { "common-ref" : "Success" } ] },
221 { "name" : "PDP Type",
226 "public-format" : "QmiWdsPdpType",
227 "prerequisites" : [ { "common-ref" : "Success" } ] },
228 { "name" : "APN Name",
233 "prerequisites" : [ { "common-ref" : "Success" } ] },
234 { "name" : "Primary IPv4 DNS Address",
239 "format" : "guint32",
240 "prerequisites" : [ { "common-ref" : "Success" } ] },
241 { "name" : "Secondary IPv4 DNS Address",
246 "format" : "guint32",
247 "prerequisites" : [ { "common-ref" : "Success" } ] },
248 { "name" : "GPRS Granted QoS",
252 "format" : "sequence",
253 "contents" : [ { "name" : "Precedence Class",
254 "format" : "guint32" },
255 { "name" : "Delay Class",
256 "format" : "guint32" },
257 { "name" : "Reliability Class",
258 "format" : "guint32" },
259 { "name" : "Peak Throughput Class",
260 "format" : "guint32" },
261 { "name" : "Mean Throughput Class",
262 "format" : "guint32" } ],
263 "prerequisites" : [ { "common-ref" : "Success" } ] },
264 { "name" : "Username",
269 "prerequisites" : [ { "common-ref" : "Success" } ] },
270 { "name" : "Authentication",
275 "public-format" : "QmiWdsAuthentication",
276 "prerequisites" : [ { "common-ref" : "Success" } ] },
277 { "name" : "IPv4 Address",
282 "format" : "guint32",
283 "prerequisites" : [ { "common-ref" : "Success" } ] },
284 { "name" : "Profile ID",
288 "format" : "sequence",
289 "contents" : [ { "name" : "Profile Type",
291 "public-format" : "QmiWdsProfileType" },
292 { "name" : "Profile Index",
293 "format" : "guint8" } ],
294 "prerequisites" : [ { "common-ref" : "Success" } ] },
295 { "name" : "IPv4 Gateway Address",
300 "format" : "guint32",
301 "prerequisites" : [ { "common-ref" : "Success" } ] },
302 { "name" : "IPv4 Gateway Subnet Mask",
307 "format" : "guint32",
308 "prerequisites" : [ { "common-ref" : "Success" } ] },
309 { "name" : "PCSCF Address Using PCO",
314 "prerequisites" : [ { "common-ref" : "Success" } ] },
315 { "name" : "PCSCF Server Address List",
320 "array-element" : { "name" : "IPv4 Address",
322 "format" : "guint32" },
323 "prerequisites" : [ { "common-ref" : "Success" } ] },
324 { "name" : "PCSCF Domain Name List",
329 "array-element" : { "name" : "FQDN",
331 "size-prefix-format" : "guint16" },
332 "prerequisites" : [ { "common-ref" : "Success" } ] },
333 { "name" : "IPv6 Address",
337 "format" : "sequence",
338 "contents" : [ { "name" : "Address",
341 "array-element" : { "format": "guint16", "endian": "network" } },
342 { "name" : "Prefix Length",
343 "format" : "guint8" } ],
344 "prerequisites" : [ { "common-ref" : "Success" } ] },
345 { "name" : "IPv6 Gateway Address",
349 "format" : "sequence",
350 "contents" : [ { "name" : "Address",
353 "array-element" : { "format": "guint16", "endian": "network" } },
354 { "name" : "Prefix Length",
355 "format" : "guint8" } ],
356 "prerequisites" : [ { "common-ref" : "Success" } ] },
357 { "name" : "IPv6 Primary DNS Address",
363 "array-element" : { "format": "guint16", "endian": "network" },
364 "prerequisites" : [ { "common-ref" : "Success" } ] },
365 { "name" : "IPv6 Secondary DNS Address",
371 "array-element" : { "format": "guint16", "endian": "network" },
372 "prerequisites" : [ { "common-ref" : "Success" } ] },
377 "format" : "guint32",
378 "prerequisites" : [ { "common-ref" : "Success" } ] },
379 { "name" : "Domain Name List",
384 "array-element" : { "name" : "Domain Name",
386 "size-prefix-format" : "guint16" },
387 "prerequisites" : [ { "common-ref" : "Success" } ] },
388 { "name" : "IP Family",
393 "public-format" : "QmiWdsIpFamily",
394 "prerequisites" : [ { "common-ref" : "Success" } ] },
395 { "name" : "IMCN Flag",
400 "prerequisites" : [ { "common-ref" : "Success" } ] },
401 { "name" : "Extended Technology Preference",
405 "format" : "guint16",
406 "public-format" : "QmiWdsExtendedTechnologyPreference",
407 "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
409 // *********************************************************************************
410 { "name" : "Get Data Bearer Technology",
415 "output" : [ { "common-ref" : "Operation Result" },
416 { "name" : "Current",
421 "public-format" : "QmiWdsDataBearerTechnology",
422 "prerequisites" : [ { "common-ref" : "Success" } ] },
428 "public-format" : "QmiWdsDataBearerTechnology",
429 "prerequisites" : [ { "field" : "Result.Error Status",
431 "value" : "QMI_STATUS_SUCCESS" },
432 { "field" : "Result.Error Code",
434 "value" : "QMI_PROTOCOL_ERROR_OUT_OF_CALL" } ] } ] },
436 // *********************************************************************************
437 { "name" : "Get Current Data Bearer Technology",
442 "output" : [ { "common-ref" : "Operation Result" },
443 { "name" : "Current",
447 "format" : "sequence",
448 "contents" : [ { "name" : "Network Type",
450 "public-format" : "QmiWdsNetworkType" },
451 { "name" : "RAT Mask",
452 "format" : "guint32" },
453 { "name" : "SO Mask",
454 "format" : "guint32" } ],
455 "prerequisites": [ { "common-ref" : "Success" } ] },
460 "format" : "sequence",
461 "contents" : [ { "name" : "Network Type",
463 "public-format" : "QmiWdsNetworkType" },
464 { "name" : "RAT Mask",
465 "format" : "guint32" },
466 { "name" : "SO Mask",
467 "format" : "guint32" } ] } ] },
469 // *********************************************************************************
470 { "name" : "Set IP Family",
475 "input" : [ { "name" : "Preference",
480 "public-format" : "QmiWdsIpFamily" } ],
481 "output" : [ { "common-ref" : "Operation Result" } ] }