aboutsummaryrefslogtreecommitdiffstats
path: root/data/qmi-service-ctl.json
blob: 0bf182deeabf309c78a32610253359adcd8a862c (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

[
  {  "name"    : "QMI Client CTL",
     "type"    : "Client" },

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

  {  "name"    : "Get Version Info",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0021",
     "output"  : [  { "name"      : "Result",
                      "type"      : "common-TLV" },
                    { "name"      : "Service list",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "array",
                      "array-element" : { "name"     : "Service",
                                          "format"   : "struct",
                                          "contents" : [ { "name"   : "service",
                                                           "type"   : "guint8" },
                                                         { "name"   : "major version",
                                                           "type"   : "guint16" },
                                                         { "name"   : "minor version",
                                                           "type"   : "guint16" } ] },
                      "prerequisite": { "field"     : "Result.Error Status",
                                        "operation" : "==",
                                        "value"     : "QMI_STATUS_SUCCESS" } } ] },

  {  "name"    : "Allocate CID",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0022",
     "input"   : [  { "name"      : "Service",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "guint8" } ],
     "output"  : [  { "name"      : "Result",
                      "type"      : "common-TLV" },
                    { "name"      : "Allocation Info",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "struct",
                      "contents"  : [ { "name" : "Service",
                                        "type" : "guint8" },
                                      { "name" : "Cid",
                                        "type" : "guint8" } ],
                      "prerequisite": { "field"     : "Result.Error Status",
                                        "operation" : "==",
                                        "value"     : "QMI_STATUS_SUCCESS" } } ] },

  {  "name"    : "Release CID",
     "type"    : "Message",
     "service" : "CTL",
     "id"      : "0x0023",
     "input"   : [  { "name"      : "Release Info",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "struct",
                      "contents"  : [ { "name" : "Service",
                                        "type" : "guint8" },
                                      { "name" : "Cid",
                                        "type" : "guint8" } ] } ],
     "output"  : [  { "name"      : "Result",
                      "type"      : "common-TLV" },
                    { "name"      : "Release Info",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "struct",
                      "contents"  : [ { "name" : "Service",
                                        "type" : "guint8" },
                                      { "name" : "Cid",
                                        "type" : "guint8" } ],
                      "prerequisite": { "field"     : "Result.Error Status",
                                        "operation" : "==",
                                        "value"     : "QMI_STATUS_SUCCESS" } } ] },

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