qmi-service-ctl.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. [
  2. // *********************************************************************************
  3. { "name" : "CTL",
  4. "type" : "Service" },
  5. // *********************************************************************************
  6. { "name" : "QMI Client CTL",
  7. "type" : "Client",
  8. "since" : "1.0" },
  9. // *********************************************************************************
  10. { "name" : "QMI Message CTL",
  11. "type" : "Message-ID-Enum" },
  12. // *********************************************************************************
  13. { "name" : "QMI Indication CTL",
  14. "type" : "Indication-ID-Enum" },
  15. // *********************************************************************************
  16. { "name" : "Set Instance ID",
  17. "type" : "Message",
  18. "service" : "CTL",
  19. "id" : "0x0020",
  20. "since" : "1.0",
  21. "input" : [ { "name" : "ID",
  22. "id" : "0x01",
  23. "type" : "TLV",
  24. "since" : "1.0",
  25. "format" : "guint8" } ],
  26. "output" : [ { "common-ref" : "Operation Result" },
  27. { "name" : "Link ID",
  28. "id" : "0x01",
  29. "type" : "TLV",
  30. "since" : "1.0",
  31. "format" : "guint16",
  32. "prerequisites": [ { "common-ref" : "Success" } ] } ] },
  33. // *********************************************************************************
  34. { "name" : "Get Version Info",
  35. "type" : "Message",
  36. "service" : "CTL",
  37. "id" : "0x0021",
  38. "since" : "1.0",
  39. "output" : [ { "common-ref" : "Operation Result" },
  40. { "name" : "Service list",
  41. "id" : "0x01",
  42. "type" : "TLV",
  43. "since" : "1.0",
  44. "format" : "array",
  45. "size-prefix-format" : "guint8",
  46. "array-element" : { "name" : "Service",
  47. "format" : "struct",
  48. "contents" : [ { "name" : "Service",
  49. "format" : "guint8",
  50. "public-format" : "QmiService" },
  51. { "name" : "Major version",
  52. "format" : "guint16" },
  53. { "name" : "Minor version",
  54. "format" : "guint16" } ] },
  55. "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
  56. // *********************************************************************************
  57. { "name" : "Allocate CID",
  58. "type" : "Message",
  59. "service" : "CTL",
  60. "id" : "0x0022",
  61. "since" : "1.0",
  62. "input" : [ { "name" : "Service",
  63. "id" : "0x01",
  64. "type" : "TLV",
  65. "since" : "1.0",
  66. "format" : "guint8" ,
  67. "public-format" : "QmiService" } ],
  68. "output" : [ { "common-ref" : "Operation Result" },
  69. { "name" : "Allocation Info",
  70. "id" : "0x01",
  71. "type" : "TLV",
  72. "since" : "1.0",
  73. "format" : "sequence",
  74. "contents" : [ { "name" : "Service",
  75. "format" : "guint8",
  76. "public-format" : "QmiService" },
  77. { "name" : "Cid",
  78. "format" : "guint8" } ],
  79. "prerequisites": [ { "common-ref" : "Success" } ] } ] },
  80. // *********************************************************************************
  81. { "name" : "Release CID",
  82. "type" : "Message",
  83. "service" : "CTL",
  84. "id" : "0x0023",
  85. "since" : "1.0",
  86. "input" : [ { "name" : "Release Info",
  87. "id" : "0x01",
  88. "type" : "TLV",
  89. "since" : "1.0",
  90. "format" : "sequence",
  91. "contents" : [ { "name" : "Service",
  92. "format" : "guint8",
  93. "public-format" : "QmiService" },
  94. { "name" : "Cid",
  95. "format" : "guint8" } ] } ],
  96. "output" : [ { "common-ref" : "Operation Result" },
  97. { "name" : "Release Info",
  98. "id" : "0x01",
  99. "type" : "TLV",
  100. "since" : "1.0",
  101. "format" : "sequence",
  102. "contents" : [ { "name" : "Service",
  103. "format" : "guint8",
  104. "public-format" : "QmiService" },
  105. { "name" : "Cid",
  106. "format" : "guint8" } ],
  107. "prerequisites": [ { "common-ref" : "Success" } ] } ] },
  108. // *********************************************************************************
  109. { "name" : "Set Data Format",
  110. "type" : "Message",
  111. "service" : "CTL",
  112. "id" : "0x0026",
  113. "since" : "1.0",
  114. "input" : [ { "name" : "Format",
  115. "id" : "0x01",
  116. "type" : "TLV",
  117. "since" : "1.0",
  118. "format" : "guint8",
  119. "public-format" : "QmiCtlDataFormat" },
  120. { "name" : "Protocol",
  121. "id" : "0x10",
  122. "type" : "TLV",
  123. "since" : "1.0",
  124. "format" : "guint16",
  125. "public-format" : "QmiCtlDataLinkProtocol" } ],
  126. "output" : [ { "common-ref" : "Operation Result" },
  127. { "name" : "Protocol",
  128. "id" : "0x10",
  129. "mandatory" : "yes",
  130. "type" : "TLV",
  131. "since" : "1.0",
  132. "format" : "guint16",
  133. "public-format" : "QmiCtlDataLinkProtocol",
  134. "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
  135. // *********************************************************************************
  136. { "name" : "Sync",
  137. "type" : "Message",
  138. "service" : "CTL",
  139. "id" : "0x0027",
  140. "since" : "1.0",
  141. "output" : [ { "common-ref" : "Operation Result" } ] },
  142. { "name" : "Sync",
  143. "type" : "Indication",
  144. "service" : "CTL",
  145. "id" : "0x0027",
  146. "since" : "1.0" },
  147. // *********************************************************************************
  148. // Internal
  149. { "name" : "Internal Proxy Open",
  150. "type" : "Message",
  151. "service" : "CTL",
  152. "id" : "0xFF00",
  153. "since" : "1.8",
  154. "input" : [ { "name" : "Device Path",
  155. "id" : "0x01",
  156. "type" : "TLV",
  157. "since" : "1.8",
  158. "format" : "string" } ],
  159. "output" : [ { "common-ref" : "Operation Result" } ] },
  160. // *********************************************************************************
  161. // Internal
  162. { "name" : "Internal Allocate CID QRTR",
  163. "type" : "Message",
  164. "service" : "CTL",
  165. "id" : "0xFF22",
  166. "since" : "1.0",
  167. "input" : [ { "name" : "Service",
  168. "id" : "0x01",
  169. "type" : "TLV",
  170. "since" : "1.0",
  171. "format" : "guint16" ,
  172. "public-format" : "QmiService" } ],
  173. "output" : [ { "common-ref" : "Operation Result" },
  174. { "name" : "Allocation Info",
  175. "id" : "0x01",
  176. "type" : "TLV",
  177. "since" : "1.0",
  178. "format" : "sequence",
  179. "contents" : [ { "name" : "Service",
  180. "format" : "guint16",
  181. "public-format" : "QmiService" },
  182. { "name" : "Cid",
  183. "format" : "guint8" } ],
  184. "prerequisites": [ { "common-ref" : "Success" } ] } ] },
  185. // *********************************************************************************
  186. // Internal
  187. { "name" : "Internal Release CID QRTR",
  188. "type" : "Message",
  189. "service" : "CTL",
  190. "id" : "0xFF23",
  191. "since" : "1.0",
  192. "input" : [ { "name" : "Release Info",
  193. "id" : "0x01",
  194. "type" : "TLV",
  195. "since" : "1.0",
  196. "format" : "sequence",
  197. "contents" : [ { "name" : "Service",
  198. "format" : "guint16",
  199. "public-format" : "QmiService" },
  200. { "name" : "Cid",
  201. "format" : "guint8" } ] } ],
  202. "output" : [ { "common-ref" : "Operation Result" },
  203. { "name" : "Release Info",
  204. "id" : "0x01",
  205. "type" : "TLV",
  206. "since" : "1.0",
  207. "format" : "sequence",
  208. "contents" : [ { "name" : "Service",
  209. "format" : "guint16",
  210. "public-format" : "QmiService" },
  211. { "name" : "Cid",
  212. "format" : "guint8" } ],
  213. "prerequisites": [ { "common-ref" : "Success" } ] } ] }
  214. ]