summaryrefslogtreecommitdiff
path: root/data/qmi-service-ctl.json
blob: 1e293f7c97eb4720356b5dd1165f905362239602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[
  // *********************************************************************************
  {  "name"    : "CTL",
     "type"    : "Service" },

  // *********************************************************************************
  {  "name"    : "QMI Client CTL",
     "type"    : "Client" },

  // *********************************************************************************
  {  "name"    : "QMI Message CTL",
     "type"    : "Message-ID-Enum" },

  // *********************************************************************************
  {  "name"    : "QMI Indication CTL",
     "type"    : "Indication-ID-Enum" },

  // *********************************************************************************
  {  "name"    : "Set Instance ID",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0020",
     "input"   : [  { "name"      : "ID",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "guint8" } ],
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Link ID",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "guint16",
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Get Version Info",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0021",
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Service list",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "array",
                      "array-element" : { "name"     : "Service",
                                          "format"   : "struct",
                                          "contents" : [ { "name"          : "Service",
                                                           "format"        : "guint8",
                                                           "public-format" : "QmiService" },
                                                         { "name"   : "Major version",
                                                           "format" : "guint16" },
                                                         { "name"   : "Minor version",
                                                           "format" : "guint16" } ] },
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Allocate CID",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0022",
     "input"   : [  { "name"          : "Service",
                      "id"            : "0x01",
                      "mandatory"     : "yes",
                      "type"          : "TLV",
                      "format"        : "guint8" ,
                      "public-format" : "QmiService" } ],
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Allocation Info",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "sequence",
                      "contents"  : [ { "name"          : "Service",
                                        "format"        : "guint8",
                                        "public-format" : "QmiService" },
                                      { "name"   : "Cid",
                                        "format" : "guint8" } ],
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Release CID",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0023",
     "input"   : [  { "name"      : "Release Info",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "sequence",
                      "contents"  : [ { "name"          : "Service",
                                        "format"        : "guint8",
                                        "public-format" : "QmiService" },
                                      { "name"   : "Cid",
                                        "format" : "guint8" } ] } ],
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Release Info",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "sequence",
                      "contents"  : [ { "name"          : "Service",
                                        "format"        : "guint8",
                                        "public-format" : "QmiService" },
                                      { "name"   : "Cid",
                                        "format" : "guint8" } ],
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Set Data Format",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0026",
     "input"   : [  { "name"          : "Format",
                      "id"            : "0x01",
                      "mandatory"     : "yes",
                      "type"          : "TLV",
                      "format"        : "guint8",
                      "public-format" : "QmiCtlDataFormat" },
                    { "name"          : "Protocol",
                      "id"            : "0x10",
                      "mandatory"     : "yes",
                      "type"          : "TLV",
                      "format"        : "guint16",
                      "public-format" : "QmiCtlDataLinkProtocol" } ],
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"          : "Protocol",
                      "id"            : "0x10",
                      "mandatory"     : "no",
                      "type"          : "TLV",
                      "format"        : "guint16",
                      "public-format" : "QmiCtlDataLinkProtocol" } ],
                      "prerequisites" : [ { "common-ref" : "Success" } ] },

  // *********************************************************************************
  {  "name"    : "Sync",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0027",
     "output"  : [  { "common-ref" : "Operation Result" } ] },

  {  "name"    : "Sync",
     "type"    : "Indication",
     "service" : "CTL",
     "id"      : "0x0027" },

  // *********************************************************************************
  // Internal
  {  "name"    : "Internal Proxy Open",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0xFF00",
     "input"   : [ { "name"      : "Device Path",
                     "id"        : "0x01",
                     "mandatory" : "yes",
                     "type"      : "TLV",
                     "format"    : "string" } ],
     "output"  : [ { "common-ref" : "Operation Result" } ] }

]