summaryrefslogtreecommitdiff
path: root/data/qmi-service-dms.json
blob: 572a08c945218371321e08fcc11111e38944bfe0 (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
163
164
[
  // *********************************************************************************
  {  "name"    : "DMS",
     "type"    : "Service" },

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

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

  // *********************************************************************************
  {  "name"    : "Get Capabilities",
     "type"    : "Message",
     "service" : "DMS",
     "id"      : "0x0020",
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Info",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "struct",
                      "contents"  : [ { "name"   : "Max Tx Channel Rate",
                                        "format" : "guint32" },
                                      { "name"   : "Max Rx Channel Rate",
                                        "format" : "guint32" },
                                      { "name"          : "Data Service Capability",
                                        "format"        : "guint8",
                                        "public-format" : "QmiDmsDataServiceCapability" },
                                      { "name"          : "SIM Capability",
                                        "format"        : "guint8",
                                        "public-format" : "QmiDmsSimCapability" },
                                      { "name"   : "Radio Interface List",
                                        "format" : "array",
                                        "array-element" : { "format"        : "guint8",
                                                            "public-format" : "QmiDmsRadioInterface" } } ],
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Get Manufacturer",
     "type"    : "Message",
     "service" : "DMS",
     "id"      : "0x0021",
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Manufacturer",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "string",
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Get Model",
     "type"    : "Message",
     "service" : "DMS",
     "id"      : "0x0022",
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Model",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "string",
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Get Revision",
     "type"    : "Message",
     "service" : "DMS",
     "id"      : "0x0023",
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Revision",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "string",
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Get MSISDN",
     "type"    : "Message",
     "service" : "DMS",
     "id"      : "0x0024",
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "MSISDN",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "string",
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Get IDs",
     "type"    : "Message",
     "service" : "DMS",
     "id"      : "0x0025",
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Esn",
                      "id"        : "0x10",
                      "mandatory" : "no",
                      "type"      : "TLV",
                      "format"    : "string",
                      "prerequisites": [ { "common-ref" : "Success" } ] },
                    { "name"      : "Imei",
                      "id"        : "0x11",
                      "mandatory" : "no",
                      "type"      : "TLV",
                      "format"    : "string",
                      "prerequisites": [ { "common-ref" : "Success" } ] },
                    { "name"      : "Meid",
                      "id"        : "0x12",
                      "mandatory" : "no",
                      "type"      : "TLV",
                      "format"    : "string",
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Get Power State",
     "type"    : "Message",
     "service" : "DMS",
     "id"      : "0x0026",
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Info",
                      "id"        : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "struct",
                      "contents"  : [ { "name"   : "Power State Flags",
                                        "format" : "guint8" },
                                      { "name"   : "Battery Level",
                                        "format" : "guint8" } ],
                      "prerequisites": [ { "common-ref" : "Success" } ] } ] },

  // *********************************************************************************
  {  "name"    : "Set PIN Protection",
     "type"    : "Message",
     "service" : "DMS",
     "id"      : "0x0027",
     "input"   : [  { "name" : "Info",
                      "id"   : "0x01",
                      "mandatory" : "yes",
                      "type"      : "TLV",
                      "format"    : "struct",
                      "contents"  : [ { "name"          : "Pin ID",
                                        "format"        : "guint8",
                                        "public-format" : "QmiDmsPinId" },
                                      { "name"          : "Protection Enabled",
                                        "format"        : "guint8",
                                        "public-format" : "gboolean" },
                                      { "name"   : "PIN",
                                        "format" : "string" } ] } ],
     "output"  : [  { "common-ref" : "Operation Result" },
                    { "name"      : "Pin Retries Status",
                      "id"        : "0x10",
                      "mandatory" : "no",
                      "type"      : "TLV",
                      "format"    : "struct",
                      "contents"  : [ { "name"   : "Verify Retries Left",
                                        "format" : "guint8" },
                                      { "name"   : "Unblock Retries Left",
                                        "format" : "guint8" } ] } ] }
]