summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2018-07-26 23:38:06 -0700
committerBen Chan <benchan@chromium.org>2018-07-28 14:02:26 -0700
commitdbe70fee692974a92ce102642049b072bb17c9bd (patch)
treea8637472f697e581e279e4a744d4baf01da5296f /data
parentb7f244c7206142fd869e2b865ae7f29e677036e1 (diff)
libmbim-glib: add partial support for Basic IP Connectivity Extensions service
This patch adds partial support for the Basic IP Connectivity Extensions service defined in Microsoft Mobile Broadband Design Guide. Only the Protocol Configuration Operations (PCO) command is defined.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am1
-rw-r--r--data/mbim-service-basic-connect-extensions.json34
2 files changed, 35 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 357275e..8be274b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,6 +2,7 @@ SUBDIRS = . pkg-config
EXTRA_DIST = \
mbim-service-basic-connect.json \
+ mbim-service-basic-connect-extensions.json \
mbim-service-sms.json \
mbim-service-ussd.json \
mbim-service-auth.json \
diff --git a/data/mbim-service-basic-connect-extensions.json b/data/mbim-service-basic-connect-extensions.json
new file mode 100644
index 0000000..088c7a2
--- /dev/null
+++ b/data/mbim-service-basic-connect-extensions.json
@@ -0,0 +1,34 @@
+[
+ // *********************************************************************************
+ { "type" : "Service",
+ "name" : "Basic Connect Extensions" },
+
+ // *********************************************************************************
+ { "name" : "PCO",
+ "service" : "Basic Connect Extensions",
+ "type" : "Command",
+ "query" : [ { "name" : "PcoValue",
+ "format" : "struct",
+ "struct-type" : "MbimPcoValue" } ],
+ "response" : [ { "name" : "PcoValue",
+ "format" : "struct",
+ "struct-type" : "MbimPcoValue" } ],
+ "notification" : [ { "name" : "PcoValue",
+ "format" : "struct",
+ "struct-type" : "MbimPcoValue" } ] },
+
+ // *********************************************************************************
+ { "name" : "MbimPcoValue",
+ "type" : "Struct",
+ "contents" : [ { "name" : "SessionId",
+ "format" : "guint32" },
+ { "name" : "PcoDataSize",
+ "format" : "guint32" },
+ { "name" : "PcoDataType",
+ "format" : "guint32",
+ "public-format" : "MbimPcoType" },
+ { "name" : "PcoDataBuffer",
+ "format" : "ref-byte-array-no-offset",
+ "array-size-field" : "PcoDataSize" } ] }
+
+]