From ff8e21b535bc43d0ecfb135628711b3c32c47de8 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 23 Mar 2021 10:16:42 +0100 Subject: api,bearer: new 'apn-type' setting This new setting allows the user setting up the connection to specify the purpose of the connection being brought up. Until now, we would always assume that connections are exclusively brought up for connecting to the Internet, also limited by the inability to connect to multiple different APNs at the same time. But that may really not be true as there may be additional services that may be accessed through other APNs, like MMS services or even private networks for companies that have their own APNs on a given operator (e.g. not that uncommon with banks and connected cars). The new APN type setting will not change the way the bearer is connected, but will allow the connection manager to decide what kind of networking setup the specific connection needs. This new setting can be provided by the user itself, or implicitly read from the device if the device stores this information. --- 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 b8a75dfb..86843b67 100644 --- a/libmm-glib/mm-common-helpers.h +++ b/libmm-glib/mm-common-helpers.h @@ -85,6 +85,9 @@ MMModemAccessTechnology mm_common_get_access_technology_from_string (const gchar MMBearerMultiplexSupport mm_common_get_multiplex_support_from_string (const gchar *str, GError **error); +MMBearerApnType mm_common_get_apn_type_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