1ce2ddc6f417927398bbeb2495e4e90151dce24e
[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
11   // *********************************************************************************
12   {  "name"    : "QMI Message CTL",
13      "type"    : "Message-ID-Enum" },
14
15   // *********************************************************************************
16   {  "name"    : "QMI Indication CTL",
17      "type"    : "Indication-ID-Enum" },
18
19   // *********************************************************************************
20   {  "name"    : "Set Instance ID",
21      "type"    : "Message",
22      "service" : "CTL",
23      "id"      : "0x0020",
24      "input"   : [  { "name"      : "ID",
25                       "id"        : "0x01",
26                       "mandatory" : "yes",
27                       "type"      : "TLV",
28                       "format"    : "guint8" } ],
29      "output"  : [  { "common-ref" : "Operation Result" },
30                     { "name"      : "Link ID",
31                       "id"        : "0x01",
32                       "mandatory" : "yes",
33                       "type"      : "TLV",
34                       "format"    : "guint16",
35                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
36
37   // *********************************************************************************
38   {  "name"    : "Get Version Info",
39      "type"    : "Message",
40      "service" : "CTL",
41      "id"      : "0x0021",
42      "output"  : [  { "common-ref" : "Operation Result" },
43                     { "name"      : "Service list",
44                       "id"        : "0x01",
45                       "mandatory" : "yes",
46                       "type"      : "TLV",
47                       "format"    : "array",
48                       "array-element" : { "name"     : "Service",
49                                           "format"   : "struct",
50                                           "contents" : [ { "name"          : "Service",
51                                                            "format"        : "guint8",
52                                                            "public-format" : "QmiService" },
53                                                          { "name"   : "Major version",
54                                                            "format" : "guint16" },
55                                                          { "name"   : "Minor version",
56                                                            "format" : "guint16" } ] },
57                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
58
59   // *********************************************************************************
60   {  "name"    : "Allocate CID",
61      "type"    : "Message",
62      "service" : "CTL",
63      "id"      : "0x0022",
64      "input"   : [  { "name"          : "Service",
65                       "id"            : "0x01",
66                       "mandatory"     : "yes",
67                       "type"          : "TLV",
68                       "format"        : "guint8" ,
69                       "public-format" : "QmiService" } ],
70      "output"  : [  { "common-ref" : "Operation Result" },
71                     { "name"      : "Allocation Info",
72                       "id"        : "0x01",
73                       "mandatory" : "yes",
74                       "type"      : "TLV",
75                       "format"    : "sequence",
76                       "contents"  : [ { "name"          : "Service",
77                                         "format"        : "guint8",
78                                         "public-format" : "QmiService" },
79                                       { "name"   : "Cid",
80                                         "format" : "guint8" } ],
81                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
82
83   // *********************************************************************************
84   {  "name"    : "Release CID",
85      "type"    : "Message",
86      "service" : "CTL",
87      "id"      : "0x0023",
88      "input"   : [  { "name"      : "Release Info",
89                       "id"        : "0x01",
90                       "mandatory" : "yes",
91                       "type"      : "TLV",
92                       "format"    : "sequence",
93                       "contents"  : [ { "name"          : "Service",
94                                         "format"        : "guint8",
95                                         "public-format" : "QmiService" },
96                                       { "name"   : "Cid",
97                                         "format" : "guint8" } ] } ],
98      "output"  : [  { "common-ref" : "Operation Result" },
99                     { "name"      : "Release Info",
100                       "id"        : "0x01",
101                       "mandatory" : "yes",
102                       "type"      : "TLV",
103                       "format"    : "sequence",
104                       "contents"  : [ { "name"          : "Service",
105                                         "format"        : "guint8",
106                                         "public-format" : "QmiService" },
107                                       { "name"   : "Cid",
108                                         "format" : "guint8" } ],
109                       "prerequisites": [ { "common-ref" : "Success" } ] } ] },
110
111   // *********************************************************************************
112   {  "name"    : "Set Data Format",
113      "type"    : "Message",
114      "service" : "CTL",
115      "id"      : "0x0026",
116      "input"   : [  { "name"          : "Format",
117                       "id"            : "0x01",
118                       "mandatory"     : "yes",
119                       "type"          : "TLV",
120                       "format"        : "guint8",
121                       "public-format" : "QmiCtlDataFormat" },
122                     { "name"          : "Protocol",
123                       "id"            : "0x10",
124                       "mandatory"     : "yes",
125                       "type"          : "TLV",
126                       "format"        : "guint16",
127                       "public-format" : "QmiCtlDataLinkProtocol" } ],
128      "output"  : [  { "common-ref" : "Operation Result" },
129                     { "name"          : "Protocol",
130                       "id"            : "0x10",
131                       "mandatory"     : "no",
132                       "type"          : "TLV",
133                       "format"        : "guint16",
134                       "public-format" : "QmiCtlDataLinkProtocol" } ],
135                       "prerequisites" : [ { "common-ref" : "Success" } ] },
136
137   // *********************************************************************************
138   {  "name"    : "Sync",
139      "type"    : "Message",
140      "service" : "CTL",
141      "id"      : "0x0027",
142      "output"  : [  { "common-ref" : "Operation Result" } ] },
143
144   {  "name"    : "Sync",
145      "type"    : "Indication",
146      "service" : "CTL",
147      "id"      : "0x0027" }
148 ]