summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-05-22 19:53:00 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-07-03 16:08:55 +0200
commit2b5c76bb800d87f2274c859fc19644a6f2dd3a8e (patch)
tree8a232d609edad987fdb22d134c53b5b04784e668
parent5701f9185b9b699cb99c3deef7d527a23bd8aaf7 (diff)
data: use the `QmiService' enum in the CTL interface instead of raw guint8
-rw-r--r--data/qmi-service-ctl.json35
1 files changed, 20 insertions, 15 deletions
diff --git a/data/qmi-service-ctl.json b/data/qmi-service-ctl.json
index 4e9cff0..4e83125 100644
--- a/data/qmi-service-ctl.json
+++ b/data/qmi-service-ctl.json
@@ -22,11 +22,12 @@
"format" : "array",
"array-element" : { "name" : "Service",
"format" : "struct",
- "contents" : [ { "name" : "service",
- "format" : "guint8" },
- { "name" : "major version",
+ "contents" : [ { "name" : "Service",
+ "format" : "guint8",
+ "public-format" : "QmiService" },
+ { "name" : "Major version",
"format" : "guint16" },
- { "name" : "minor version",
+ { "name" : "Minor version",
"format" : "guint16" } ] },
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
@@ -35,19 +36,21 @@
"type" : "Message",
"service" : "CTL",
"id" : "0x0022",
- "input" : [ { "name" : "Service",
- "id" : "0x01",
- "mandatory" : "yes",
- "type" : "TLV",
- "format" : "guint8" } ],
+ "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" : "struct",
- "contents" : [ { "name" : "Service",
- "format" : "guint8" },
+ "contents" : [ { "name" : "Service",
+ "format" : "guint8",
+ "public-format" : "QmiService" },
{ "name" : "Cid",
"format" : "guint8" } ],
"prerequisites": [ { "common-ref" : "Success" } ] } ] },
@@ -62,8 +65,9 @@
"mandatory" : "yes",
"type" : "TLV",
"format" : "struct",
- "contents" : [ { "name" : "Service",
- "format" : "guint8" },
+ "contents" : [ { "name" : "Service",
+ "format" : "guint8",
+ "public-format" : "QmiService" },
{ "name" : "Cid",
"format" : "guint8" } ] } ],
"output" : [ { "common-ref" : "Operation Result" },
@@ -72,8 +76,9 @@
"mandatory" : "yes",
"type" : "TLV",
"format" : "struct",
- "contents" : [ { "name" : "Service",
- "format" : "guint8" },
+ "contents" : [ { "name" : "Service",
+ "format" : "guint8",
+ "public-format" : "QmiService" },
{ "name" : "Cid",
"format" : "guint8" } ],
"prerequisites": [ { "common-ref" : "Success" } ] } ] },