From 064e92e9b77b35f83cb522c6ea98b9016ce5db8c Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 17 Feb 2021 15:49:01 +0100 Subject: api,simple: new 'multiplex' setting in bearer properties Both the Simple.Connect() and Modem.CreateBearer() are updated to allow a new 'multiplex' setting in the properties provided by the user in both of these methods. The new setting expects a MMBearerMultiplexSupport enum indicating what kind of multiplex needs the user has: * none: if multiplex must not be used. * requested: if multiplex should be used if available. * required: if multiplex must be used. The underlying implementations will take care of accepting or rejecting the setting depending on the system and modem capabilities. --- libmm-glib/mm-common-helpers.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libmm-glib/mm-common-helpers.h') diff --git a/libmm-glib/mm-common-helpers.h b/libmm-glib/mm-common-helpers.h index 960a1f52..b8a75dfb 100644 --- a/libmm-glib/mm-common-helpers.h +++ b/libmm-glib/mm-common-helpers.h @@ -82,6 +82,9 @@ MMModem3gppEpsUeModeOperation mm_common_get_eps_ue_mode_operation_from_string (c MMModemAccessTechnology mm_common_get_access_technology_from_string (const gchar *str, GError **error); +MMBearerMultiplexSupport mm_common_get_multiplex_support_from_string (const gchar *str, + GError **error); + GArray *mm_common_ports_variant_to_garray (GVariant *variant); MMModemPortInfo *mm_common_ports_variant_to_array (GVariant *variant, guint *n_ports); -- cgit v1.2.3-70-g09d2