initial import
[project/umbim.git] / data / mbim-service-basic-connect.json
1
2 [
3 // *********************************************************************************
4 { "type" : "Service",
5 "name" : "Basic Connect" },
6
7 // *********************************************************************************
8 { "name" : "Device Caps",
9 "service" : "Basic Connect",
10 "type" : "Command",
11 "query" : [],
12 "response" : [ { "name" : "DeviceType",
13 "format" : "guint32",
14 "public-format" : "MbimDeviceType" },
15 { "name" : "CellularClass",
16 "format" : "guint32",
17 "public-format" : "MbimCellularClass" },
18 { "name" : "VoiceClass",
19 "format" : "guint32",
20 "public-format" : "MbimVoiceClass" },
21 { "name" : "SimClass",
22 "format" : "guint32",
23 "public-format" : "MbimSimClass" },
24 { "name" : "DataClass",
25 "format" : "guint32",
26 "public-format" : "MbimDataClass" },
27 { "name" : "SmsCaps",
28 "format" : "guint32",
29 "public-format" : "MbimSmsCaps" },
30 { "name" : "ControlCaps",
31 "format" : "guint32",
32 "public-format" : "MbimCtrlCaps" },
33 { "name" : "MaxSessions",
34 "format" : "guint32" },
35 { "name" : "CustomDataClass",
36 "format" : "string",
37 "max-size" : "22" },
38 { "name" : "DeviceId",
39 "format" : "string",
40 "max-size" : "36" },
41 { "name" : "FirmwareInfo",
42 "format" : "string",
43 "max-size" : "60" },
44 { "name" : "HardwareInfo",
45 "format" : "string",
46 "max-size" : "60" } ] },
47
48 // *********************************************************************************
49 { "name" : "Subscriber Ready Status",
50 "service" : "Basic Connect",
51 "type" : "Command",
52 "query" : [],
53 "response" : [ { "name" : "ReadyState",
54 "format" : "guint32",
55 "public-format" : "MbimSubscriberReadyState" },
56 { "name" : "SubscriberId",
57 "format" : "string" },
58 { "name" : "SimIccId",
59 "format" : "string" },
60 { "name" : "ReadyInfo",
61 "format" : "guint32",
62 "public-format" : "MbimReadyInfoFlag" },
63 { "name" : "TelephoneNumbersCount",
64 "format" : "guint32" },
65 { "name" : "TelephoneNumbers",
66 "format" : "string-array",
67 "array-size-field" : "TelephoneNumbersCount" } ],
68 "notification" : [ { "name" : "ReadyState",
69 "format" : "guint32",
70 "public-format" : "MbimSubscriberReadyState" },
71 { "name" : "SubscriberId",
72 "format" : "string" },
73 { "name" : "SimIccId",
74 "format" : "string" },
75 { "name" : "ReadyInfo",
76 "format" : "guint32",
77 "public-format" : "MbimReadyInfoFlag" },
78 { "name" : "TelephoneNumbersCount",
79 "format" : "guint32" },
80 { "name" : "TelephoneNumbers",
81 "format" : "string-array",
82 "array-size-field" : "TelephoneNumbersCount" } ] },
83
84 // *********************************************************************************
85 { "name" : "Radio State",
86 "service" : "Basic Connect",
87 "type" : "Command",
88 "set" : [ { "name" : "RadioState",
89 "format" : "guint32",
90 "public-format" : "MbimRadioSwitchState" } ],
91 "query" : [],
92 "response" : [ { "name" : "HwRadioState",
93 "format" : "guint32",
94 "public-format" : "MbimRadioSwitchState" },
95 { "name" : "SwRadioState",
96 "format" : "guint32",
97 "public-format" : "MbimRadioSwitchState" } ],
98 "notification" : [ { "name" : "HwRadioState",
99 "format" : "guint32",
100 "public-format" : "MbimRadioSwitchState" },
101 { "name" : "SwRadioState",
102 "format" : "guint32",
103 "public-format" : "MbimRadioSwitchState" } ] },
104
105 // *********************************************************************************
106 { "name" : "Pin",
107 "service" : "Basic Connect",
108 "type" : "Command",
109 "set" : [ { "name" : "PinType",
110 "format" : "guint32",
111 "public-format" : "MbimPinType" },
112 { "name" : "PinOperation",
113 "format" : "guint32",
114 "public-format" : "MbimPinOperation" },
115 { "name" : "Pin",
116 "format" : "string" },
117 { "name" : "NewPin",
118 "format" : "string" } ],
119 "query" : [],
120 "response" : [ { "name" : "PinType",
121 "format" : "guint32",
122 "public-format" : "MbimPinType" },
123 { "name" : "PinState",
124 "format" : "guint32",
125 "public-format" : "MbimPinState" },
126 { "name" : "RemainingAttempts",
127 "format" : "guint32" } ] },
128
129 // *********************************************************************************
130 { "name" : "MbimPinDesc",
131 "type" : "Struct",
132 "contents" : [ { "name" : "PinMode",
133 "format" : "guint32",
134 "public-format" : "MbimPinMode" },
135 { "name" : "PinFormat",
136 "format" : "guint32",
137 "public-format" : "MbimPinFormat" },
138 { "name" : "PinLengthMin",
139 "format" : "guint32" },
140 { "name" : "PinLengthMax",
141 "format" : "guint32" } ] },
142
143 { "name" : "Pin List",
144 "service" : "Basic Connect",
145 "type" : "Command",
146 "query" : [],
147 "response" : [ { "name" : "PinDescPin1",
148 "format" : "struct",
149 "struct-type" : "MbimPinDesc" },
150 { "name" : "PinDescPin2",
151 "format" : "struct",
152 "struct-type" : "MbimPinDesc" },
153 { "name" : "PinDescDeviceSimPin",
154 "format" : "struct",
155 "struct-type" : "MbimPinDesc" },
156 { "name" : "PinDescDeviceFirstSimPin",
157 "format" : "struct",
158 "struct-type" : "MbimPinDesc" },
159 { "name" : "PinDescNetworkPin",
160 "format" : "struct",
161 "struct-type" : "MbimPinDesc" },
162 { "name" : "PinDescNetworkSubsetPin",
163 "format" : "struct",
164 "struct-type" : "MbimPinDesc" },
165 { "name" : "PinDescServiceProviderPin",
166 "format" : "struct",
167 "struct-type" : "MbimPinDesc" },
168 { "name" : "PinDescCorporatePin",
169 "format" : "struct",
170 "struct-type" : "MbimPinDesc" },
171 { "name" : "PinDescSubsidyLock",
172 "format" : "struct",
173 "struct-type" : "MbimPinDesc" },
174 { "name" : "PinDescCustom",
175 "format" : "struct",
176 "struct-type" : "MbimPinDesc" } ] },
177
178 // *********************************************************************************
179 { "name" : "MbimProvider",
180 "type" : "Struct",
181 "contents" : [ { "name" : "ProviderId",
182 "format" : "string" },
183 { "name" : "ProviderState",
184 "format" : "guint32",
185 "public-format" : "MbimProviderState" },
186 { "name" : "ProviderName",
187 "format" : "string" },
188 { "name" : "CellularClass",
189 "format" : "guint32",
190 "public-format" : "MbimCellularClass" },
191 { "name" : "Rssi",
192 "format" : "guint32" },
193 { "name" : "ErrorRate",
194 "format" : "guint32" } ] },
195
196 { "name" : "Home Provider",
197 "service" : "Basic Connect",
198 "type" : "Command",
199 "set" : [ { "name" : "Provider",
200 "format" : "struct" ,
201 "struct-type" : "MbimProvider" } ],
202 "query" : [],
203 "response" : [ { "name" : "Provider",
204 "format" : "struct",
205 "struct-type" : "MbimProvider" } ] },
206
207 // *********************************************************************************
208 { "name" : "Preferred Providers",
209 "service" : "Basic Connect",
210 "type" : "Command",
211 "set" : [ { "name" : "ProvidersCount",
212 "format" : "guint32" },
213 { "name" : "Providers",
214 "format" : "ref-struct-array" ,
215 "struct-type" : "MbimProvider",
216 "array-size-field" : "ProvidersCount" } ],
217 "query" : [],
218 "response" : [ { "name" : "ProvidersCount",
219 "format" : "guint32" },
220 { "name" : "Providers",
221 "format" : "ref-struct-array" ,
222 "struct-type" : "MbimProvider",
223 "array-size-field" : "ProvidersCount" } ],
224 "notification" : [ { "name" : "ProvidersCount",
225 "format" : "guint32" },
226 { "name" : "Providers",
227 "format" : "ref-struct-array" ,
228 "struct-type" : "MbimProvider",
229 "array-size-field" : "ProvidersCount" } ] },
230
231 // *********************************************************************************
232 { "name" : "Visible Providers",
233 "service" : "Basic Connect",
234 "type" : "Command",
235 "query" : [ { "name" : "Action",
236 "format": "guint32",
237 "public-format" : "MbimVisibleProvidersAction" } ],
238 "response" : [ { "name" : "ProvidersCount",
239 "format" : "guint32" },
240 { "name" : "Providers",
241 "format" : "ref-struct-array" ,
242 "struct-type" : "MbimProvider",
243 "array-size-field" : "ProvidersCount" } ] },
244
245 // *********************************************************************************
246 { "name" : "Register State",
247 "service" : "Basic Connect",
248 "type" : "Command",
249 "set" : [ { "name" : "ProviderId",
250 "format" : "string" },
251 { "name" : "RegisterAction",
252 "format" : "guint32",
253 "public-format" : "MbimRegisterAction" },
254 { "name" : "DataClass",
255 "format" : "guint32",
256 "public-format" : "MbimDataClass" } ],
257 "query" : [],
258 "response" : [ { "name" : "NwError",
259 "format" : "guint32",
260 "public-format" : "MbimNwError" },
261 { "name" : "RegisterState",
262 "format" : "guint32",
263 "public-format" : "MbimRegisterState" },
264 { "name" : "RegisterMode",
265 "format" : "guint32",
266 "public-format" : "MbimRegisterMode" },
267 { "name" : "AvailableDataClasses",
268 "format" : "guint32",
269 "public-format" : "MbimDataClass" },
270 { "name" : "CurrentCellularClass",
271 "format" : "guint32",
272 "public-format" : "MbimCellularClass" },
273 { "name" : "ProviderId",
274 "format" : "string" },
275 { "name" : "ProviderName",
276 "format" : "string" },
277 { "name" : "RoamingText",
278 "format" : "string" },
279 { "name" : "RegistrationFlag",
280 "format" : "guint32",
281 "public-format" : "MbimRegistrationFlag" } ],
282 "notification" : [ { "name" : "NwError",
283 "format" : "guint32",
284 "public-format" : "MbimNwError" },
285 { "name" : "RegisterState",
286 "format" : "guint32",
287 "public-format" : "MbimRegisterState" },
288 { "name" : "RegisterMode",
289 "format" : "guint32",
290 "public-format" : "MbimRegisterMode" },
291 { "name" : "AvailableDataClasses",
292 "format" : "guint32",
293 "public-format" : "MbimDataClass" },
294 { "name" : "CurrentCellularClass",
295 "format" : "guint32",
296 "public-format" : "MbimCellularClass" },
297 { "name" : "ProviderId",
298 "format" : "string" },
299 { "name" : "ProviderName",
300 "format" : "string" },
301 { "name" : "RoamingText",
302 "format" : "string" },
303 { "name" : "RegistrationFlag",
304 "format" : "guint32",
305 "public-format" : "MbimRegistrationFlag" } ] },
306
307 // *********************************************************************************
308 { "name" : "Signal State",
309 "service" : "Basic Connect",
310 "type" : "Command",
311 "set" : [ { "name" : "SignalStrengthInterval",
312 "format" : "guint32" },
313 { "name" : "RssiThreshold",
314 "format" : "guint32" },
315 { "name" : "ErrorRateThreshold",
316 "format" : "guint32" } ],
317 "query" : [],
318 "response" : [ { "name" : "Rssi",
319 "format" : "guint32" },
320 { "name" : "ErrorRate",
321 "format" : "guint32" },
322 { "name" : "SignalStrengthInterval",
323 "format" : "guint32" },
324 { "name" : "RssiThreshold",
325 "format" : "guint32" },
326 { "name" : "ErrorRateThreshold",
327 "format" : "guint32" } ],
328 "notification" : [ { "name" : "Rssi",
329 "format" : "guint32" },
330 { "name" : "ErrorRate",
331 "format" : "guint32" },
332 { "name" : "SignalStrengthInterval",
333 "format" : "guint32" },
334 { "name" : "RssiThreshold",
335 "format" : "guint32" },
336 { "name" : "ErrorRateThreshold",
337 "format" : "guint32" } ] },
338
339
340 // *********************************************************************************
341 { "name" : "Packet Service",
342 "service" : "Basic Connect",
343 "type" : "Command",
344 "set" : [ { "name" : "PacketServiceAction",
345 "format" : "guint32",
346 "public-format" : "MbimPacketServiceAction" } ],
347 "query" : [],
348 "response" : [ { "name" : "NwError",
349 "format" : "guint32" },
350 { "name" : "PacketServiceState",
351 "format" : "guint32",
352 "public-format" : "MbimPacketServiceState" },
353 { "name" : "HighestAvailableDataClass",
354 "format" : "guint32",
355 "public-format" : "MbimDataClass" },
356 { "name" : "UplinkSpeed",
357 "format" : "guint64" },
358 { "name" : "DownlinkSpeed",
359 "format" : "guint64" } ],
360 "notification" : [ { "name" : "NwError",
361 "format" : "guint32" },
362 { "name" : "PacketServiceState",
363 "format" : "guint32",
364 "public-format" : "MbimPacketServiceState" },
365 { "name" : "HighestAvailableDataClass",
366 "format" : "guint32",
367 "public-format" : "MbimDataClass" },
368 { "name" : "UplinkSpeed",
369 "format" : "guint64" },
370 { "name" : "DownlinkSpeed",
371 "format" : "guint64" } ] },
372
373 // *********************************************************************************
374 { "name" : "Connect",
375 "service" : "Basic Connect",
376 "type" : "Command",
377 "set" : [ { "name" : "SessionId",
378 "format" : "guint32" },
379 { "name" : "ActivationCommand",
380 "format" : "guint32",
381 "public-format" : "MbimActivationCommand" },
382 { "name" : "AccessString",
383 "format" : "string" },
384 { "name" : "UserName",
385 "format" : "string" },
386 { "name" : "Password",
387 "format" : "string" },
388 { "name" : "Compression",
389 "format" : "guint32",
390 "public-format" : "MbimCompression" },
391 { "name" : "AuthProtocol",
392 "format" : "guint32",
393 "public-format" : "MbimAuthProtocol" },
394 { "name" : "IpType",
395 "format" : "guint32",
396 "public-format" : "MbimContextIpType" },
397 { "name" : "ContextType",
398 "format" : "uuid" } ],
399 "query" : [ { "name" : "SessionId",
400 "format" : "guint32" },
401 { "name" : "ActivationState",
402 "format" : "guint32",
403 "public-format" : "MbimActivationState" },
404 { "name" : "VoiceCallState",
405 "format" : "guint32",
406 "public-format" : "MbimVoiceCallState" },
407 { "name" : "IpType",
408 "format" : "guint32",
409 "public-format" : "MbimContextIpType" },
410 { "name" : "ContextType",
411 "format" : "uuid" },
412 { "name" : "NwError",
413 "format" : "guint32" } ],
414 "response" : [ { "name" : "SessionId",
415 "format" : "guint32" },
416 { "name" : "ActivationState",
417 "format" : "guint32",
418 "public-format" : "MbimActivationState" },
419 { "name" : "VoiceCallState",
420 "format" : "guint32",
421 "public-format" : "MbimVoiceCallState" },
422 { "name" : "IpType",
423 "format" : "guint32",
424 "public-format" : "MbimContextIpType" },
425 { "name" : "ContextType",
426 "format" : "uuid" },
427 { "name" : "NwError",
428 "format" : "guint32" } ],
429 "notification" : [ { "name" : "SessionId",
430 "format" : "guint32" },
431 { "name" : "ActivationState",
432 "format" : "guint32",
433 "public-format" : "MbimActivationState" },
434 { "name" : "VoiceCallState",
435 "format" : "guint32",
436 "public-format" : "MbimVoiceCallState" },
437 { "name" : "IpType",
438 "format" : "guint32",
439 "public-format" : "MbimContextIpType" },
440 { "name" : "ContextType",
441 "format" : "uuid" },
442 { "name" : "NwError",
443 "format" : "guint32" } ] },
444
445 // *********************************************************************************
446 { "name" : "MbimProvisionedContextElement",
447 "type" : "Struct",
448 "contents" : [ { "name" : "ContextId",
449 "format" : "guint32" },
450 { "name" : "ContextType",
451 "format" : "uuid" },
452 { "name" : "AccessString",
453 "format" : "string" },
454 { "name" : "UserName",
455 "format" : "string" },
456 { "name" : "Password",
457 "format" : "string" },
458 { "name" : "Compression",
459 "format" : "guint32",
460 "public-format" : "MbimCompression" },
461 { "name" : "AuthProtocol",
462 "format" : "guint32",
463 "public-format" : "MbimAuthProtocol" } ] },
464
465 { "name" : "Provisioned Contexts",
466 "service" : "Basic Connect",
467 "type" : "Command",
468 "set" : [ { "name" : "ContextId",
469 "format" : "guint32" },
470 { "name" : "ContextType",
471 "format" : "uuid" },
472 { "name" : "AccessString",
473 "format" : "string" },
474 { "name" : "UserName",
475 "format" : "string" },
476 { "name" : "Password",
477 "format" : "string" },
478 { "name" : "Compression",
479 "format" : "guint32",
480 "public-format" : "MbimCompression" },
481 { "name" : "AuthProtocol",
482 "format" : "guint32",
483 "public-format" : "MbimAuthProtocol" },
484 { "name" : "ProviderId",
485 "format" : "string" } ],
486 "query" : [],
487 "response" : [ { "name" : "ProvisionedContextsCount",
488 "format" : "guint32" },
489 { "name" : "ProvisionedContexts",
490 "format" : "ref-struct-array",
491 "struct-type" : "MbimProvisionedContextElement",
492 "array-size-field" : "ProvisionedContextsCount" } ],
493 "notification" : [ { "name" : "ProvisionedContextsCount",
494 "format" : "guint32" },
495 { "name" : "ProvisionedContexts",
496 "format" : "ref-struct-array",
497 "struct-type" : "MbimProvisionedContextElement",
498 "array-size-field" : "ProvisionedContextsCount" } ] },
499
500 // *********************************************************************************
501
502 { "name" : "Service Activation",
503 "service" : "Basic Connect",
504 "type" : "Command",
505 "set" : [ { "name" : "Buffer",
506 "format" : "unsized-byte-array" } ],
507 "response" : [ { "name" : "NwError",
508 "format" : "guint32",
509 "public-format" : "MbimNwError" },
510 { "name" : "Buffer",
511 "format" : "unsized-byte-array" } ] },
512
513 // *********************************************************************************
514 { "name" : "MbimIPv4Element",
515 "type" : "Struct",
516 "contents" : [ { "name" : "OnLinkPrefixLength",
517 "format" : "guint32" },
518 { "name" : "IPv4Address",
519 "format" : "ipv4" } ] },
520
521 { "name" : "MbimIPv6Element",
522 "type" : "Struct",
523 "contents" : [ { "name" : "OnLinkPrefixLength",
524 "format" : "guint32" },
525 { "name" : "IPv6Address",
526 "format" : "ipv6" } ] },
527
528 { "name" : "IP Configuration",
529 "service" : "Basic Connect",
530 "type" : "Command",
531 "query" : [ { "name" : "SessionId",
532 "format" : "guint32" },
533 { "name" : "IPv4ConfigurationAvailable",
534 "format" : "guint32",
535 "public-format" : "MbimIPConfigurationAvailableFlag" },
536 { "name" : "IPv6ConfigurationAvailable",
537 "format" : "guint32",
538 "public-format" : "MbimIPConfigurationAvailableFlag" },
539 { "name" : "IPv4AddressCount",
540 "format" : "guint32" },
541 { "name" : "IPv4Address",
542 "format" : "struct-array",
543 "struct-type" : "MbimIPv4Element",
544 "array-size-field" : "IPv4AddressCount" },
545 { "name" : "IPv6AddressCount",
546 "format" : "guint32" },
547 { "name" : "IPv6Address",
548 "format" : "struct-array",
549 "struct-type" : "MbimIPv6Element",
550 "array-size-field" : "IPv6AddressCount" },
551 { "name" : "IPv4Gateway",
552 "format" : "ref-ipv4" },
553 { "name" : "IPv6Gateway",
554 "format" : "ref-ipv6" },
555 { "name" : "IPv4DnsServerCount",
556 "format" : "guint32" },
557 { "name" : "IPv4DnsServer",
558 "format" : "ipv4-array",
559 "array-size-field" : "IPv4DnsServerCount" },
560 { "name" : "IPv6DnsServerCount",
561 "format" : "guint32" },
562 { "name" : "IPv6DnsServer",
563 "format" : "ipv6-array",
564 "array-size-field" : "IPv6DnsServerCount" },
565 { "name" : "IPv4Mtu",
566 "format" : "guint32" },
567 { "name" : "IPv6Mtu",
568 "format" : "guint32" } ],
569 "response" : [ { "name" : "SessionId",
570 "format" : "guint32" },
571 { "name" : "IPv4ConfigurationAvailable",
572 "format" : "guint32",
573 "public-format" : "MbimIPConfigurationAvailableFlag" },
574 { "name" : "IPv6ConfigurationAvailable",
575 "format" : "guint32",
576 "public-format" : "MbimIPConfigurationAvailableFlag" },
577 { "name" : "IPv4AddressCount",
578 "format" : "guint32" },
579 { "name" : "IPv4Address",
580 "format" : "struct-array",
581 "struct-type" : "MbimIPv4Element",
582 "array-size-field" : "IPv4AddressCount" },
583 { "name" : "IPv6AddressCount",
584 "format" : "guint32" },
585 { "name" : "IPv6Address",
586 "format" : "struct-array",
587 "struct-type" : "MbimIPv6Element",
588 "array-size-field" : "IPv6AddressCount" },
589 { "name" : "IPv4Gateway",
590 "format" : "ref-ipv4" },
591 { "name" : "IPv6Gateway",
592 "format" : "ref-ipv6" },
593 { "name" : "IPv4DnsServerCount",
594 "format" : "guint32" },
595 { "name" : "IPv4DnsServer",
596 "format" : "ipv4-array",
597 "array-size-field" : "IPv4DnsServerCount" },
598 { "name" : "IPv6DnsServerCount",
599 "format" : "guint32" },
600 { "name" : "IPv6DnsServer",
601 "format" : "ipv6-array",
602 "array-size-field" : "IPv6DnsServerCount" },
603 { "name" : "IPv4Mtu",
604 "format" : "guint32" },
605 { "name" : "IPv6Mtu",
606 "format" : "guint32" } ],
607 "notification" : [ { "name" : "SessionId",
608 "format" : "guint32" },
609 { "name" : "IPv4ConfigurationAvailable",
610 "format" : "guint32",
611 "public-format" : "MbimIPConfigurationAvailableFlag" },
612 { "name" : "IPv6ConfigurationAvailable",
613 "format" : "guint32",
614 "public-format" : "MbimIPConfigurationAvailableFlag" },
615 { "name" : "IPv4AddressCount",
616 "format" : "guint32" },
617 { "name" : "IPv4Address",
618 "format" : "struct-array",
619 "struct-type" : "MbimIPv4Element",
620 "array-size-field" : "IPv4AddressCount" },
621 { "name" : "IPv6AddressCount",
622 "format" : "guint32" },
623 { "name" : "IPv6Address",
624 "format" : "struct-array",
625 "struct-type" : "MbimIPv6Element",
626 "array-size-field" : "IPv6AddressCount" },
627 { "name" : "IPv4Gateway",
628 "format" : "ref-ipv4" },
629 { "name" : "IPv6Gateway",
630 "format" : "ref-ipv6" },
631 { "name" : "IPv4DnsServerCount",
632 "format" : "guint32" },
633 { "name" : "IPv4DnsServer",
634 "format" : "ipv4-array",
635 "array-size-field" : "IPv4DnsServerCount" },
636 { "name" : "IPv6DnsServerCount",
637 "format" : "guint32" },
638 { "name" : "IPv6DnsServer",
639 "format" : "ipv6-array",
640 "array-size-field" : "IPv6DnsServerCount" },
641 { "name" : "IPv4Mtu",
642 "format" : "guint32" },
643 { "name" : "IPv6Mtu",
644 "format" : "guint32" } ] },
645
646 // *********************************************************************************
647 { "name" : "MbimDeviceServiceElement",
648 "type" : "Struct",
649 "contents" : [ { "name" : "DeviceServiceId",
650 "format" : "uuid" },
651 { "name" : "DssPayload",
652 "format" : "guint32" },
653 { "name" : "MaxDssInstances",
654 "format" : "guint32" },
655 { "name" : "CidsCount",
656 "format" : "guint32" },
657 { "name" : "Cids",
658 "format" : "guint32-array",
659 "array-size-field" : "CidsCount" } ] },
660
661 { "name" : "Device Services",
662 "service" : "Basic Connect",
663 "type" : "Command",
664 "query" : [],
665 "response" : [ { "name" : "DeviceServicesCount",
666 "format" : "guint32" },
667 { "name" : "MaxDssSessions",
668 "format" : "guint32" },
669 { "name" : "DeviceServices",
670 "format" : "ref-struct-array",
671 "struct-type" : "MbimDeviceServiceElement",
672 "array-size-field" : "DeviceServicesCount" } ] },
673
674 // *********************************************************************************
675 { "name" : "MbimEventEntry",
676 "type" : "Struct",
677 "contents" : [ { "name" : "DeviceServiceId",
678 "format" : "uuid" },
679 { "name" : "CidsCount",
680 "format" : "guint32" },
681 { "name" : "Cids",
682 "format" : "guint32-array",
683 "array-size-field" : "CidsCount" } ] },
684
685 { "name" : "Device Service Subscribe List",
686 "service" : "Basic Connect",
687 "type" : "Command",
688 "set" : [ { "name" : "EventsCount",
689 "format" : "guint32" },
690 { "name" : "Events",
691 "format" : "ref-struct-array",
692 "struct-type" : "MbimEventEntry",
693 "array-size-field" : "EventsCount" } ],
694 "response" : [ { "name" : "EventsCount",
695 "format" : "guint32" },
696 { "name" : "Events",
697 "format" : "ref-struct-array",
698 "struct-type" : "MbimEventEntry",
699 "array-size-field" : "EventsCount" } ] },
700
701 // *********************************************************************************
702 { "name" : "Packet Statistics",
703 "service" : "Basic Connect",
704 "type" : "Command",
705 "query" : [],
706 "response" : [ { "name" : "InDiscards",
707 "format" : "guint32" },
708 { "name" : "InErrors",
709 "format" : "guint32" },
710 { "name" : "InOctets",
711 "format" : "guint64" },
712 { "name" : "InPackets",
713 "format" : "guint64" },
714 { "name" : "OutOctets",
715 "format" : "guint64" },
716 { "name" : "OutPackets",
717 "format" : "guint64" },
718 { "name" : "OutErrors",
719 "format" : "guint32" },
720 { "name" : "OutDiscards",
721 "format" : "guint32" } ] },
722
723 // *********************************************************************************
724 { "name" : "Network Idle Hint",
725 "service" : "Basic Connect",
726 "type" : "Command",
727 "query" : [],
728 "set" : [ { "name" : "State",
729 "format" : "guint32",
730 "public-format" : "MbimNetworkIdleHintState" } ],
731 "response" : [ { "name" : "State",
732 "format" : "guint32",
733 "public-format" : "MbimNetworkIdleHintState" } ] },
734
735 // *********************************************************************************
736 { "name" : "Emergency Mode",
737 "service" : "Basic Connect",
738 "type" : "Command",
739 "query" : [],
740 "set" : [ { "name" : "State",
741 "format" : "guint32",
742 "public-format" : "MbimEmergencyModeState" } ],
743 "response" : [ { "name" : "State",
744 "format" : "guint32",
745 "public-format" : "MbimEmergencyModeState" } ],
746 "notification" : [ { "name" : "State",
747 "format" : "guint32",
748 "public-format" : "MbimEmergencyModeState" } ] },
749
750 // *********************************************************************************
751 { "name" : "MbimPacketFilter",
752 "type" : "Struct",
753 "contents" : [ { "name" : "FilterSize",
754 "format" : "guint32" },
755 { "name" : "PacketFilter",
756 "format" : "ref-byte-array",
757 "array-size-field" : "FilterSize" },
758 { "name" : "PacketMask",
759 "format" : "ref-byte-array",
760 "array-size-field" : "FilterSize" } ] },
761
762 { "name" : "IP Packet Filters",
763 "service" : "Basic Connect",
764 "type" : "Command",
765 "query" : [ { "name" : "SessionId",
766 "format" : "guint32" },
767 { "name" : "PacketFiltersCount",
768 "format" : "guint32" },
769 { "name" : "PacketFilters",
770 "format" : "ref-struct-array",
771 "struct-type" : "MbimPacketFilter",
772 "array-size-field" : "PacketFiltersCount" } ],
773 "set" : [ { "name" : "SessionId",
774 "format" : "guint32" },
775 { "name" : "PacketFiltersCount",
776 "format" : "guint32" },
777 { "name" : "PacketFilters",
778 "format" : "ref-struct-array",
779 "struct-type" : "MbimPacketFilter",
780 "array-size-field" : "PacketFiltersCount" } ],
781 "response" : [ { "name" : "SessionId",
782 "format" : "guint32" },
783 { "name" : "PacketFiltersCount",
784 "format" : "guint32" },
785 { "name" : "PacketFilters",
786 "format" : "ref-struct-array",
787 "struct-type" : "MbimPacketFilter",
788 "array-size-field" : "PacketFiltersCount" } ] },
789
790 // *********************************************************************************
791 { "name" : "Multicarrier Providers",
792 "service" : "Basic Connect",
793 "type" : "Command",
794 "set" : [ { "name" : "ProvidersCount",
795 "format" : "guint32" },
796 { "name" : "Providers",
797 "format" : "ref-struct-array" ,
798 "struct-type" : "MbimProvider",
799 "array-size-field" : "ProvidersCount" } ],
800 "query" : [],
801 "response" : [ { "name" : "ProvidersCount",
802 "format" : "guint32" },
803 { "name" : "Providers",
804 "format" : "ref-struct-array" ,
805 "struct-type" : "MbimProvider",
806 "array-size-field" : "ProvidersCount" } ],
807 "notification" : [ { "name" : "ProvidersCount",
808 "format" : "guint32" },
809 { "name" : "Providers",
810 "format" : "ref-struct-array" ,
811 "struct-type" : "MbimProvider",
812 "array-size-field" : "ProvidersCount" } ] }
813
814 ]