move a variable declaration to the right place
[project/uqmi.git] / data / qmi-service-oma.json
1
2 [
3   // *********************************************************************************
4   {  "name"    : "OMA",
5      "type"    : "Service" },
6
7   // *********************************************************************************
8   {  "name"    : "QMI Client OMA",
9      "type"    : "Client" },
10
11   // *********************************************************************************
12   {  "name"    : "QMI Message OMA",
13      "type"    : "Message-ID-Enum" },
14
15   // *********************************************************************************
16   {  "name"    : "QMI Indication OMA",
17      "type"    : "Indication-ID-Enum" },
18
19   // *********************************************************************************
20   {  "name"    : "Reset",
21      "type"    : "Message",
22      "service" : "OMA",
23      "id"      : "0x0000",
24      "version" : "1.0",
25      "output"  : [ { "common-ref" : "Operation Result" } ] },
26
27   // *********************************************************************************
28   {  "name"    : "Set Event Report",
29      "type"    : "Message",
30      "service" : "OMA",
31      "id"      : "0x0001",
32      "version" : "1.0",
33      "input"   : [ { "name"          : "Network Initiated Alert Reporting",
34                      "id"            : "0x10",
35                      "mandatory"     : "no",
36                      "type"          : "TLV",
37                      "format"        : "guint8",
38                      "public-format" : "gboolean" },
39                    { "name"          : "Session State Reporting",
40                      "id"            : "0x11",
41                      "mandatory"     : "no",
42                      "type"          : "TLV",
43                      "format"        : "guint8",
44                      "public-format" : "gboolean" } ],
45      "output"  : [ { "common-ref" : "Operation Result" } ] },
46
47   {  "name"    : "Event Report",
48      "type"    : "Indication",
49      "service" : "OMA",
50      "id"      : "0x0001",
51      "output"  : [ { "name"      : "Network Initiated Alert",
52                      "id"        : "0x10",
53                      "mandatory" : "no",
54                      "type"      : "TLV",
55                      "format"    : "sequence",
56                      "contents"  : [ { "name"          : "Session Type",
57                                        "format"        : "guint8",
58                                        "public-format" : "QmiOmaSessionType" },
59                                      { "name"   : "Session ID",
60                                        "format" : "guint16" } ] },
61                     { "name"          : "Session State",
62                       "id"            : "0x11",
63                       "mandatory"     : "no",
64                       "type"          : "TLV",
65                       "format"        : "guint8",
66                       "public-format" : "QmiOmaSessionState" },
67                     { "name"          : "Session Fail Reason",
68                       "id"            : "0x12",
69                       "mandatory"     : "no",
70                       "type"          : "TLV",
71                       "format"        : "guint8",
72                       "public-format" : "QmiOmaSessionFailedReason" } ] },
73
74   // *********************************************************************************
75   {  "name"    : "Start Session",
76      "type"    : "Message",
77      "service" : "OMA",
78      "id"      : "0x0020",
79      "version" : "1.0",
80      "input"   : [ { "name"          : "Session Type",
81                      "id"            : "0x10",
82                      "mandatory"     : "no",
83                      "type"          : "TLV",
84                      "format"        : "guint8",
85                      "public-format" : "QmiOmaSessionType" } ],
86      "output"  : [ { "common-ref" : "Operation Result" } ] },
87
88   // *********************************************************************************
89   {  "name"    : "Cancel Session",
90      "type"    : "Message",
91      "service" : "OMA",
92      "id"      : "0x0021",
93      "version" : "1.0",
94      "output"  : [ { "common-ref" : "Operation Result" } ] },
95
96   // *********************************************************************************
97   {  "name"    : "Get Session Info",
98      "type"    : "Message",
99      "service" : "OMA",
100      "id"      : "0x0022",
101      "output"  : [ { "name"         : "Session Info",
102                      "id"           : "0x10",
103                      "mandatory"    : "no",
104                      "type"         : "TLV",
105                      "format"       : "sequence",
106                      "contents"     : [ { "name"          : "Session State",
107                                           "format"        : "guint8",
108                                           "public-format" : "QmiOmaSessionState" },
109                                         { "name"          : "Session Type",
110                                           "format"        : "guint8",
111                                           "public-format" : "QmiOmaSessionType" } ],
112                      "prerequisites": [ { "common-ref" : "Success" } ] },
113                    { "name"          : "Session Failed Reason",
114                      "id"            : "0x11",
115                      "mandatory"     : "no",
116                      "type"          : "TLV",
117                      "format"        : "guint8",
118                      "public-format" : "QmiOmaSessionFailedReason",
119                      "prerequisites" : [ { "field" : "Session Info Session State",
120                                            "operation" : "==",
121                                            "value" : "QMI_OMA_SESSION_STATE_FAILED" } ] },
122                    { "name"         : "Retry Info",
123                      "id"           : "0x12",
124                      "mandatory"    : "no",
125                      "type"         : "TLV",
126                      "format"       : "sequence",
127                      "contents"     : [ { "name"   : "Retry Count",
128                                           "format" : "guint8" },
129                                         { "name"   : "Retry Pause Timer",
130                                           "format" : "guint16" },
131                                         { "name"   : "Retry Pause Timer Remaining",
132                                           "format" : "guint16" } ],
133                      "prerequisites": [ { "common-ref" : "Success" } ] },
134                    { "name"         : "Network Initiated Alert",
135                      "id"           : "0x13",
136                      "mandatory"    : "no",
137                      "type"         : "TLV",
138                      "format"       : "sequence",
139                      "contents"     : [ { "name"          : "Session Type",
140                                           "format"        : "guint8",
141                                           "public-format" : "QmiOmaSessionType" },
142                                         { "name"   : "Session ID",
143                                           "format" : "guint16" } ],
144                      "prerequisites": [ { "common-ref" : "Success" } ] },
145                    { "common-ref" : "Operation Result" } ] },
146
147   // *********************************************************************************
148   {  "name"    : "Send Selection",
149      "type"    : "Message",
150      "service" : "OMA",
151      "id"      : "0x0023",
152      "input"   : [ { "name"         : "Network Initiated Alert Selection",
153                      "id"           : "0x10",
154                      "mandatory"    : "no",
155                      "type"         : "TLV",
156                      "format"       : "sequence",
157                      "contents"     : [ { "name"          : "Control Point Selection Accept",
158                                           "format"        : "guint8",
159                                           "public-format" : "gboolean" },
160                                         { "name"   : "Session ID",
161                                           "format" : "guint16" } ] } ],
162      "output"  : [ { "common-ref" : "Operation Result" } ] },
163
164   // *********************************************************************************
165   {  "name"    : "Get Feature Setting",
166      "type"    : "Message",
167      "service" : "OMA",
168      "id"      : "0x0024",
169      "output"  : [ { "name"          : "Device Provisioning Service Update Config",
170                      "id"            : "0x10",
171                      "mandatory"     : "no",
172                      "type"          : "TLV",
173                      "format"        : "guint8",
174                      "public-format" : "gboolean",
175                      "prerequisites" : [ { "common-ref" : "Success" } ] },
176                    { "name"          : "PRL Update Service Config",
177                      "id"            : "0x11",
178                      "mandatory"     : "no",
179                      "type"          : "TLV",
180                      "format"        : "guint8",
181                      "public-format" : "gboolean",
182                      "prerequisites" : [ { "common-ref" : "Success" } ] },
183                    { "name"          : "HFA Feature Config",
184                      "id"            : "0x12",
185                      "mandatory"     : "no",
186                      "type"          : "TLV",
187                      "format"        : "guint8",
188                      "public-format" : "gboolean",
189                      "prerequisites" : [ { "common-ref" : "Success" } ] },
190                    { "name"          : "HFA Feature Done State",
191                      "id"            : "0x13",
192                      "mandatory"     : "no",
193                      "type"          : "TLV",
194                      "format"        : "guint8",
195                      "public-format" : "QmiOmaHfaFeatureDoneState",
196                      "prerequisites" : [ { "common-ref" : "Success" } ] },
197                    { "common-ref" : "Operation Result" } ] },
198
199   // *********************************************************************************
200   {  "name"    : "Set Feature Setting",
201      "type"    : "Message",
202      "service" : "OMA",
203      "id"      : "0x0025",
204      "input"   : [ { "name"          : "Device Provisioning Service Update Config",
205                      "id"            : "0x10",
206                      "mandatory"     : "no",
207                      "type"          : "TLV",
208                      "format"        : "guint8",
209                      "public-format" : "gboolean" },
210                    { "name"          : "PRL Update Service Config",
211                      "id"            : "0x11",
212                      "mandatory"     : "no",
213                      "type"          : "TLV",
214                      "format"        : "guint8",
215                      "public-format" : "gboolean" },
216                    { "name"          : "HFA Feature Config",
217                      "id"            : "0x12",
218                      "mandatory"     : "no",
219                      "type"          : "TLV",
220                      "format"        : "guint8",
221                      "public-format" : "gboolean" } ],
222      "output"  : [ { "common-ref" : "Operation Result" } ] }
223 ]