summaryrefslogtreecommitdiff
path: root/data/qmi-service-ctl.json
blob: 484f79ea8e9caf04ea47be5ec49649726b279690 (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
[
  // *********************************************************************************
  {  "name"    : "CTL",
     "type"    : "Service" },

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

  // *********************************************************************************
  {  "name"    : "QMI Message CTL",
     "type"    : "Message-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"    : "Sync",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0027",
     "output"  : [  { "common-ref" : "Operation Result" } ] }
]