summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-05-04 00:01:02 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-05-04 00:01:02 +0200
commit5f1014391f64d5c42f43a31cdf72910aff15f6f0 (patch)
tree3651e1346411e2b6e18574c1d2993d70c739c763 /data
parent56a04aafe3bc7641f5d9deab95d20848bc5dca0f (diff)
libmbim-glib,ms-basic-connect-extensions: rework 'LTE attach status'
The "LTE Attach Status" message was relying on a bogus MbimLteAttachStatus struct that was created by the library and passed as output of the parser methods to the user. This struct is completely avoidable, just by updating the messages to include the fields directly in the response/notification fields. We rename the method to 'LTE attach info' following this approach, and compatibility symbols are included in order to avoid breaking API/ABI.
Diffstat (limited to 'data')
-rw-r--r--data/mbim-service-ms-basic-connect-extensions.json68
1 files changed, 38 insertions, 30 deletions
diff --git a/data/mbim-service-ms-basic-connect-extensions.json b/data/mbim-service-ms-basic-connect-extensions.json
index 68f7018..2570e5f 100644
--- a/data/mbim-service-ms-basic-connect-extensions.json
+++ b/data/mbim-service-ms-basic-connect-extensions.json
@@ -88,37 +88,45 @@
// *********************************************************************************
- { "name" : "MbimLteAttachStatus",
- "type" : "Struct",
- "since" : "1.18",
- "contents" : [ { "name" : "LteAttachState",
- "format" : "guint32",
- "public-format" : "MbimLteAttachState" },
- { "name" : "IpType",
- "format" : "guint32",
- "public-format" : "MbimContextIpType" },
- { "name" : "AccessString",
- "format" : "string" },
- { "name" : "UserName",
- "format" : "string" },
- { "name" : "Password",
- "format" : "string" },
- { "name" : "Compression",
- "format" : "guint32",
- "public-format" : "MbimCompression" },
- { "name" : "AuthProtocol",
- "format" : "guint32",
- "public-format" : "MbimAuthProtocol" } ] },
-
- { "name" : "Lte Attach Status",
+ { "name" : "Lte Attach Info",
"service" : "Ms Basic Connect Extensions",
"type" : "Command",
- "since" : "1.18",
+ "since" : "1.26",
"query" : [],
- "response" : [ { "name" : "LteAttachStatus",
- "format" : "struct",
- "struct-type" : "MbimLteAttachStatus" } ],
- "notification" : [ { "name" : "LteAttachStatus",
- "format" : "struct",
- "struct-type" : "MbimLteAttachStatus" } ] }
+ "response" : [ { "name" : "LteAttachState",
+ "format" : "guint32",
+ "public-format" : "MbimLteAttachState" },
+ { "name" : "IpType",
+ "format" : "guint32",
+ "public-format" : "MbimContextIpType" },
+ { "name" : "AccessString",
+ "format" : "string" },
+ { "name" : "UserName",
+ "format" : "string" },
+ { "name" : "Password",
+ "format" : "string" },
+ { "name" : "Compression",
+ "format" : "guint32",
+ "public-format" : "MbimCompression" },
+ { "name" : "AuthProtocol",
+ "format" : "guint32",
+ "public-format" : "MbimAuthProtocol" } ],
+ "notification" : [ { "name" : "LteAttachState",
+ "format" : "guint32",
+ "public-format" : "MbimLteAttachState" },
+ { "name" : "IpType",
+ "format" : "guint32",
+ "public-format" : "MbimContextIpType" },
+ { "name" : "AccessString",
+ "format" : "string" },
+ { "name" : "UserName",
+ "format" : "string" },
+ { "name" : "Password",
+ "format" : "string" },
+ { "name" : "Compression",
+ "format" : "guint32",
+ "public-format" : "MbimCompression" },
+ { "name" : "AuthProtocol",
+ "format" : "guint32",
+ "public-format" : "MbimAuthProtocol" } ] }
]