qmi-service-ctl.json 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. "array-element" : { "name" : "Service",
  46. "format" : "struct",
  47. "contents" : [ { "name" : "Service",
  48. "format" : "guint8",
  49. "public-format" : "QmiService" },
  50. { "name" : "Major version",
  51. "format" : "guint16" },
  52. { "name" : "Minor version",
  53. "format" : "guint16" } ] },
  54. "prerequisites": [ { "common-ref" : "Success" } ] } ] },
  55. // *********************************************************************************
  56. { "name" : "Allocate CID",
  57. "type" : "Message",
  58. "service" : "CTL",
  59. "id" : "0x0022",
  60. "since" : "1.0",
  61. "input" : [ { "name" : "Service",
  62. "id" : "0x01",
  63. "type" : "TLV",
  64. "since" : "1.0",
  65. "format" : "guint8" ,
  66. "public-format" : "QmiService" } ],
  67. "output" : [ { "common-ref" : "Operation Result" },
  68. { "name" : "Allocation Info",
  69. "id" : "0x01",
  70. "type" : "TLV",
  71. "since" : "1.0",
  72. "format" : "sequence",
  73. "contents" : [ { "name" : "Service",
  74. "format" : "guint8",
  75. "public-format" : "QmiService" },
  76. { "name" : "Cid",
  77. "format" : "guint8" } ],
  78. "prerequisites": [ { "common-ref" : "Success" } ] } ] },
  79. // *********************************************************************************
  80. { "name" : "Release CID",
  81. "type" : "Message",
  82. "service" : "CTL",
  83. "id" : "0x0023",
  84. "since" : "1.0",
  85. "input" : [ { "name" : "Release Info",
  86. "id" : "0x01",
  87. "type" : "TLV",
  88. "since" : "1.0",
  89. "format" : "sequence",
  90. "contents" : [ { "name" : "Service",
  91. "format" : "guint8",
  92. "public-format" : "QmiService" },
  93. { "name" : "Cid",
  94. "format" : "guint8" } ] } ],
  95. "output" : [ { "common-ref" : "Operation Result" },
  96. { "name" : "Release Info",
  97. "id" : "0x01",
  98. "type" : "TLV",
  99. "since" : "1.0",
  100. "format" : "sequence",
  101. "contents" : [ { "name" : "Service",
  102. "format" : "guint8",
  103. "public-format" : "QmiService" },
  104. { "name" : "Cid",
  105. "format" : "guint8" } ],
  106. "prerequisites": [ { "common-ref" : "Success" } ] } ] },
  107. // *********************************************************************************
  108. { "name" : "Set Data Format",
  109. "type" : "Message",
  110. "service" : "CTL",
  111. "id" : "0x0026",
  112. "since" : "1.0",
  113. "input" : [ { "name" : "Format",
  114. "id" : "0x01",
  115. "type" : "TLV",
  116. "since" : "1.0",
  117. "format" : "guint8",
  118. "public-format" : "QmiCtlDataFormat" },
  119. { "name" : "Protocol",
  120. "id" : "0x10",
  121. "type" : "TLV",
  122. "since" : "1.0",
  123. "format" : "guint16",
  124. "public-format" : "QmiCtlDataLinkProtocol" } ],
  125. "output" : [ { "common-ref" : "Operation Result" },
  126. { "name" : "Protocol",
  127. "id" : "0x10",
  128. "mandatory" : "yes",
  129. "type" : "TLV",
  130. "since" : "1.0",
  131. "format" : "guint16",
  132. "public-format" : "QmiCtlDataLinkProtocol",
  133. "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
  134. // *********************************************************************************
  135. { "name" : "Sync",
  136. "type" : "Message",
  137. "service" : "CTL",
  138. "id" : "0x0027",
  139. "since" : "1.0",
  140. "output" : [ { "common-ref" : "Operation Result" } ] },
  141. { "name" : "Sync",
  142. "type" : "Indication",
  143. "service" : "CTL",
  144. "id" : "0x0027",
  145. "since" : "1.0" },
  146. // *********************************************************************************
  147. // Internal
  148. { "name" : "Internal Proxy Open",
  149. "type" : "Message",
  150. "service" : "CTL",
  151. "id" : "0xFF00",
  152. "since" : "1.8",
  153. "input" : [ { "name" : "Device Path",
  154. "id" : "0x01",
  155. "type" : "TLV",
  156. "since" : "1.8",
  157. "format" : "string" } ],
  158. "output" : [ { "common-ref" : "Operation Result" } ] }
  159. ]