aboutsummaryrefslogtreecommitdiffstats
path: root/data/qmi-service-wds.json
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-19 12:02:05 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-19 12:06:28 +0200
commit201e0cea5fa9747ebd57e7da35c91f131d51bcf8 (patch)
treee983a4a2b81e29eca8b57a00f0dac5fcb179631d /data/qmi-service-wds.json
parent7345ca6aaf57c39eda83650e5d7f87e2d66f5be3 (diff)
qmi-codegen: for strings, use 'size-prefix-format' instead of 'length-prefix-size'
Use the new 'size-prefix-format' property to specify whether the length prefix variable is a 'guint8' or a 'guint16'. We therefore consolidate the way how this length prefix variable is specified in both arrays and strings. So, instead of: "length-prefix-size" : "16" We now just do: "size-prefix-format" : "guint16"
Diffstat (limited to 'data/qmi-service-wds.json')
-rw-r--r--data/qmi-service-wds.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/qmi-service-wds.json b/data/qmi-service-wds.json
index dc2580d..d0d64ef 100644
--- a/data/qmi-service-wds.json
+++ b/data/qmi-service-wds.json
@@ -304,8 +304,8 @@
"type" : "TLV",
"format" : "array",
"array-element" : { "name" : "FQDN",
- "length-prefix-size" : "16",
- "format" : "string" },
+ "format" : "string",
+ "size-prefix-format" : "guint16" },
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "IPv6 Address",
"id" : "0x25",
@@ -359,8 +359,8 @@
"type" : "TLV",
"format" : "array",
"array-element" : { "name" : "Domain Name",
- "length-prefix-size" : "16",
- "format" : "string" },
+ "format" : "string",
+ "size-prefix-format" : "guint16" },
"prerequisites" : [ { "common-ref" : "Success" } ] },
{ "name" : "IP Family",
"id" : "0x2B",