summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-07-15 10:16:06 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-07-15 10:24:31 +0200
commit3e9577081174cbc1f5d5f3b9ba8a2a348a9ab1da (patch)
tree7623ae2fcde007cd9fe78d0b35e9e75486b09bbb
parentcf62f84382373190c6da29926f45529da9509a30 (diff)
downloadlibqmi-3e9577081174cbc1f5d5f3b9ba8a2a348a9ab1da.tar.gz
dms: support TLV 0x13 (PRL) in 'DMS Activate Manual'
-rw-r--r--TODO8
-rw-r--r--data/qmi-service-dms.json14
2 files changed, 13 insertions, 9 deletions
diff --git a/TODO b/TODO
index 7f089f71..d9b8d277 100644
--- a/TODO
+++ b/TODO
@@ -25,14 +25,6 @@ List of things left for later:
detailed sub-types, e.g.: the 'QmiNasRadioTechnologyPreference' flags type,
where the first two bits define the type of the next ones.
- * dms: Support 'Preferred Roaming List' TLV (0x13) in DMS/"Activate Manual".
- This TLV is based on an array of raw binary data which can be passed to the
- device over multiple messages, using a sequence number to identify each
- passed chunk. Probably not worth handling this specific case in qmi-codegen.
- Also, sending such a message should trigger internally multiple messages
- being sent automatically, not just one.
-
- * qmicli: Implement `--dms-activate-manual'.
* qmicli: Implement `--dms-set-time'.
* qmicli: Implement `--dms-get-alt-net-config'.
* qmicli: Implement `--dms-set-alt-net-config'.
diff --git a/data/qmi-service-dms.json b/data/qmi-service-dms.json
index 2a9aa5da..2664c5b1 100644
--- a/data/qmi-service-dms.json
+++ b/data/qmi-service-dms.json
@@ -606,7 +606,19 @@
"mandatory" : "no",
"type" : "TLV",
"format" : "string",
- "max-size" : "16" } ],
+ "max-size" : "16" },
+ { "name" : "PRL",
+ "id" : "0x13",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "sequence",
+ "contents" : [ { "name" : "PRL total length",
+ "format" : "guint16" },
+ { "name" : "PRL segment",
+ "format" : "array",
+ "size-prefix-format" : "guint16",
+ "sequence-prefix-format" : "guint8",
+ "array-element" : { "format" : "guint8" } } ] } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************