aboutsummaryrefslogtreecommitdiffstats
path: root/src/libqmi-glib
diff options
context:
space:
mode:
authorCarlo Lobrano <c.lobrano@gmail.com>2017-02-21 16:04:00 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-02-28 23:40:46 +0100
commita04525d9e167a44b8295af922114d34062e9feaf (patch)
tree985c536608b9ed7a5c2a28ea559f3a31e7898043 /src/libqmi-glib
parentcfc21f4fc93ef041f5e9c660ce3221cdc2d20141 (diff)
downloadexternal_libqmi-a04525d9e167a44b8295af922114d34062e9feaf.zip
external_libqmi-a04525d9e167a44b8295af922114d34062e9feaf.tar.gz
external_libqmi-a04525d9e167a44b8295af922114d34062e9feaf.tar.bz2
wda: extended wda set format message to enable QMUX
Added the following configurable values: - upload datagram protocol - download datagram protocol - download datagram max size - download max datagrams - endpoint type - endpoint interface number According to last GobiNet from CodeAura project, it is necessary to set the following values to enable multiple data connection through one controller device: - upload datagram protocol = QMAP - download datagram protocol = QMAP - download datagram max size = 32 (it seems working even without setting it) - download max datagrams = 32768 (it seems working even without setting it) - endpoint type = HSUSB (it seems working even without setting it) - endpoint interface number = this depends on the modem, but it seems working even without setting it
Diffstat (limited to 'src/libqmi-glib')
-rw-r--r--src/libqmi-glib/qmi-enums.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/libqmi-glib/qmi-enums.h b/src/libqmi-glib/qmi-enums.h
index 083370b..f9ce25e 100644
--- a/src/libqmi-glib/qmi-enums.h
+++ b/src/libqmi-glib/qmi-enums.h
@@ -145,4 +145,24 @@ typedef enum {
* Since: 1.0
*/
+/**
+ * QmiDataEndpointType:
+ * @QMI_DATA_ENDPOINT_TYPE_HSUSB: Data Endpoint Type HSUSB.
+ * @QMI_DATA_ENDPOINT_TYPE_UNDEFINED: Data Endpoint Type undefined.
+ *
+ * Data Endpoint Type.
+ *
+ * Since: 1.18
+ */
+typedef enum { /*< underscore_name=qmi_data_endpoint_type > */
+ QMI_DATA_ENDPOINT_TYPE_HSUSB = 0X02,
+ QMI_DATA_ENDPOINT_TYPE_UNDEFINED = 0XFF,
+} QmiDataEndpointType;
+
+/**
+ * qmi_data_endpoint_type_get_string:
+ *
+ * Since: 1.18
+ */
+
#endif /* _LIBQMI_GLIB_QMI_ENUMS_H_ */