diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-06 09:49:49 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-06 09:52:22 +0200 |
commit | 807e41161af2297ae1f9df216c6dbdaf3bce6b1f (patch) | |
tree | e9d80ffcf8b3fd87064dc8b6ed283e62763f4793 | |
parent | 6ba2b61bbade7f3728d57eb47644fd1b668df9a4 (diff) |
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.
-rw-r--r-- | TODO | 9 | ||||
-rw-r--r-- | data/qmi-service-dms.json | 36 |
2 files changed, 45 insertions, 0 deletions
@@ -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'. diff --git a/data/qmi-service-dms.json b/data/qmi-service-dms.json index 69a2440..fd1a569 100644 --- a/data/qmi-service-dms.json +++ b/data/qmi-service-dms.json @@ -413,6 +413,42 @@ "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", "service" : "DMS", |