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. --- docs/reference/libmm-glib/libmm-glib-sections.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'docs/reference/libmm-glib') diff --git a/docs/reference/libmm-glib/libmm-glib-sections.txt b/docs/reference/libmm-glib/libmm-glib-sections.txt index a077be65..92d25bc8 100644 --- a/docs/reference/libmm-glib/libmm-glib-sections.txt +++ b/docs/reference/libmm-glib/libmm-glib-sections.txt @@ -872,6 +872,8 @@ mm_simple_connect_properties_get_allow_roaming mm_simple_connect_properties_set_allow_roaming mm_simple_connect_properties_get_rm_protocol mm_simple_connect_properties_set_rm_protocol +mm_simple_connect_properties_get_multiplex +mm_simple_connect_properties_set_multiplex mm_simple_connect_properties_get_number mm_simple_connect_properties_set_number @@ -1189,10 +1191,12 @@ mm_bearer_properties_get_ip_type mm_bearer_properties_set_ip_type mm_bearer_properties_get_allow_roaming mm_bearer_properties_set_allow_roaming -mm_bearer_properties_get_number -mm_bearer_properties_set_number mm_bearer_properties_get_rm_protocol mm_bearer_properties_set_rm_protocol +mm_bearer_properties_get_multiplex +mm_bearer_properties_set_multiplex +mm_bearer_properties_get_number +mm_bearer_properties_set_number mm_bearer_properties_new_from_dictionary mm_bearer_properties_new_from_string @@ -1527,6 +1531,7 @@ mm_bearer_type_get_string mm_bearer_ip_method_get_string mm_bearer_ip_family_get_string mm_bearer_allowed_auth_build_string_from_mask +mm_bearer_multiplex_support_get_string mm_modem_capability_build_string_from_mask mm_modem_state_get_string mm_modem_state_failed_reason_get_string @@ -1589,6 +1594,7 @@ mm_bearer_type_build_string_from_mask mm_bearer_ip_family_build_string_from_mask mm_bearer_ip_method_build_string_from_mask mm_bearer_allowed_auth_get_string +mm_bearer_multiplex_support_build_string_from_mask mm_modem_cdma_registration_state_build_string_from_mask mm_modem_cdma_activation_state_build_string_from_mask mm_modem_cdma_rm_protocol_build_string_from_mask @@ -1613,6 +1619,7 @@ MM_TYPE_BEARER_TYPE MM_TYPE_BEARER_IP_FAMILY MM_TYPE_BEARER_IP_METHOD MM_TYPE_BEARER_ALLOWED_AUTH +MM_TYPE_BEARER_MULTIPLEX_SUPPORT MM_TYPE_FIRMWARE_IMAGE_TYPE MM_TYPE_MODEM_3GPP_FACILITY MM_TYPE_MODEM_3GPP_NETWORK_AVAILABILITY @@ -1655,6 +1662,7 @@ mm_bearer_type_get_type mm_bearer_ip_family_get_type mm_bearer_ip_method_get_type mm_bearer_allowed_auth_get_type +mm_bearer_multiplex_support_get_type mm_firmware_image_type_get_type mm_modem_3gpp_facility_get_type mm_modem_3gpp_network_availability_get_type -- cgit v1.2.3-70-g09d2