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