summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-06 18:50:07 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-06 19:53:03 +0200
commit9b65c877caa4b575b0f28650581e20b52e2486e0 (patch)
tree7cda8b7f9a5f46feeda69c5f09254af71b107f55
parent94c5f373a8394f26479f435f85560a548e86ff03 (diff)
wms: 'Message ID' TLV is supposed to be mandatory, but it really may not be
See the following ModemManager logs: ModemManager[7942]: [/dev/cdc-wdm0] Sending message... <<<<<< QMUX: <<<<<< length = 47 <<<<<< flags = 0x00 <<<<<< service = "wms" <<<<<< client = 16 <<<<<< QMI: <<<<<< flags = "none" <<<<<< transaction = 16 <<<<<< tlv_length = 35 <<<<<< message = "Raw Send" (0x0020) <<<<<< TLV: <<<<<< type = "Raw Message Data" (0x01) <<<<<< length = 32 <<<<<< value = 06:1D:00:00:01:00:09:81:36:39:53:39:F6:00:00:12:C8:37:3B:0C:42:BE:D9:61:D0:30:2C:0F:8F:DF:EC:30 <<<<<< translated = [ format = '6' raw_data = '{ [0] = '0 ' [1] = '1 ' [2] = '0 ' [3] = '9 ' [4] = '129 ' [5] = '54 ' [6] = '57 ' [7] = '83 ' [8] = '57 ' [9] = '246 ' [10] = '0 ' [11] = '0 ' [12] = '18 ' [13] = '200 ' [14] = '55 ' [15] = '59 ' [16] = '12 ' [17] = '66 ' [18] = '190 ' [19] = '217 ' [20] = '97 ' [21] = '208 ' [22] = '48 ' [23] = '44 ' [24] = '15 ' [25] = '143 ' [26] = '223 ' [27] = '236 ' [28] = '48 '}' ] ModemManager[7942]: [/dev/cdc-wdm0] Received message... >>>>>> QMUX: >>>>>> length = 19 >>>>>> flags = 0x80 >>>>>> service = "wms" >>>>>> client = 16 >>>>>> QMI: >>>>>> flags = "response" >>>>>> transaction = 16 >>>>>> tlv_length = 7 >>>>>> message = "Raw Send" (0x0020) >>>>>> TLV: >>>>>> type = "Result" (0x02) >>>>>> length = 4 >>>>>> value = 00:00:00:00 >>>>>> translated = SUCCESS
-rw-r--r--data/qmi-service-wms.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/qmi-service-wms.json b/data/qmi-service-wms.json
index fd54d41..0f72053 100644
--- a/data/qmi-service-wms.json
+++ b/data/qmi-service-wms.json
@@ -161,7 +161,8 @@
"output" : [ { "common-ref" : "Operation Result" },
{ "name" : "Message ID",
"id" : "0x01",
- "mandatory" : "yes",
+ // Even if we have this TLV as mandatory, it seems it really isn't
+ "mandatory" : "no",
"type" : "TLV",
"format" : "guint16",
"prerequisites" : [ { "common-ref" : "Success" } ] },