dms: support TLV 0x13 (PRL) in 'DMS Activate Manual'

This commit is contained in:
Aleksander Morgado 2013-07-15 10:16:06 +02:00
parent cf62f84382
commit 3e95770811
2 changed files with 13 additions and 9 deletions

8
TODO
View File

@ -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'.

View File

@ -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" } ] },
// *********************************************************************************