dms: implement "Activate Manual" request/response

The 'Preferred Roaming List' TLV (0x13) is not yet supported, as it involves
working with a very specific case not yet handled by qmi-codegen. Added a TODO
task for that.
This commit is contained in:
Aleksander Morgado 2012-07-06 09:49:49 +02:00
parent 6ba2b61bba
commit 807e41161a
2 changed files with 45 additions and 0 deletions

9
TODO
View File

@ -6,3 +6,12 @@ List of things left for later:
* qmi-codegen: Skip additional heap allocation for Strings marked with
'max-size'. If the 'max-size' is short enough, we can just use arrays of
gchars with a specific size directly in the input/output bundle.
* 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'.

View File

@ -412,6 +412,42 @@
"format" : "string" } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "Activate Manual",
"type" : "Message",
"service" : "DMS",
"id" : "0x0033",
"input" : [ { "name" : "Info",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service Programming Code",
"format" : "string",
"fixed-size" : "6" },
{ "name" : "System Identification Number",
"format" : "string",
"fixed-size" : "2" },
{ "name" : "Mobile Directory Number",
"format" : "string",
"max-size" : "15" },
{ "name" : "Mobile Identification Number",
"format" : "string",
"max-size" : "15" } ] },
{ "name" : "MN HA key",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "string",
"max-size" : "16" },
{ "name" : "MN AAA key",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "string",
"max-size" : "16" } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "UIM Get ICCID",
"type" : "Message",