diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-04-10 10:26:32 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-04-10 10:26:32 +0200 |
commit | 0355e5ad7284af43d071db6dd045d6fb4bd60345 (patch) | |
tree | 492e91a70856538cd80ff8db8f9d1b423f77e751 | |
parent | 481b06e8098e3a7e1408f80e1d8bf0325414d91b (diff) |
wds: fix the 'Data Systems' TLV in the "Event Report" indicationdcbw/wds-events
There was a first field missing before the array. And also, the network types
are not identified by a 'QmiWdsNetworkType' value, instead '0' is used if 3GPP
and '1' is used if 3GPP2, so convert it to a boolean value and change the name.
-rw-r--r-- | data/qmi-service-wds.json | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/data/qmi-service-wds.json b/data/qmi-service-wds.json index 523b573..a5470fd 100644 --- a/data/qmi-service-wds.json +++ b/data/qmi-service-wds.json @@ -221,16 +221,21 @@ "id" : "0x24", "mandatory" : "no", "type" : "TLV", - "format" : "array", - "array-element" : { "name" : "Element", - "format" : "struct", - "contents" : [ { "name" : "Network Type", - "format" : "guint8", - "public-format" : "QmiWdsNetworkType" }, - { "name" : "RAT Mask", - "format" : "guint32" }, - { "name" : "SO Mask", - "format" : "guint32" } ] } }, + "format" : "sequence", + "contents" : [ { "name" : "Preferred Network Is 3GPP2", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Network Info", + "format" : "array", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Network Is 3GPP2", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "RAT Mask", + "format" : "guint32" }, + { "name" : "SO Mask", + "format" : "guint32" } ] } } ] }, { "name" : "TX Packets Dropped", "id" : "0x25", "mandatory" : "no", |