2
0

mbim-service-basic-connect.json 40 KB

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