From e2789b18a1847eecd90fe76902300d99c4ebade3 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 4 Apr 2021 13:30:53 +0200 Subject: libmm-glib,3gpp-profile: new 3GPP profile helper object Define a new helper object which we're going to use to implement the new profile management interface. The 3GPP profile object provides the list of settings that modems may be able to store in their profile list, e.g. "apn", "ip-type" and so on. Not all modems will be able to support all the settings defined in the profile object, and therefore, when looking for a specific 3GPP profile object with a given set of settings, we must make sure we only compare those settings that are supported by the modem. The profile management implementation will be able to load during runtime a set of "compare flags", specifying which settings should not be checked during the comparison. E.g. a generic AT-based modem that supports only "apn" and "ip-type" will be compared with the NO_APN_TYPE and NO_AUTH flags; and an AT/Icera-based modem (which supports auth settings) will use only NO_APN_TYPE. The settings in the 3GPP profile should be considered a subset of the bearer properties. --- docs/reference/libmm-glib/libmm-glib-docs.xml | 4 +++ docs/reference/libmm-glib/libmm-glib-sections.txt | 39 +++++++++++++++++++++++ 2 files changed, 43 insertions(+) (limited to 'docs/reference') diff --git a/docs/reference/libmm-glib/libmm-glib-docs.xml b/docs/reference/libmm-glib/libmm-glib-docs.xml index 5b9a04d6..3646e7dd 100644 --- a/docs/reference/libmm-glib/libmm-glib-docs.xml +++ b/docs/reference/libmm-glib/libmm-glib-docs.xml @@ -103,6 +103,10 @@ USSD support +
+ Profile management support + +
Location support diff --git a/docs/reference/libmm-glib/libmm-glib-sections.txt b/docs/reference/libmm-glib/libmm-glib-sections.txt index 327f33e5..16c19faa 100644 --- a/docs/reference/libmm-glib/libmm-glib-sections.txt +++ b/docs/reference/libmm-glib/libmm-glib-sections.txt @@ -1532,6 +1532,45 @@ MM_TYPE_CALL_AUDIO_FORMAT mm_call_audio_format_get_type
+
+mm-3gpp-profile +3GPP profile +MM_3GPP_PROFILE_ID_UNKNOWN +MM3gppProfile +mm_3gpp_profile_new + +mm_3gpp_profile_get_apn +mm_3gpp_profile_set_apn +mm_3gpp_profile_get_apn_type +mm_3gpp_profile_set_apn_type +mm_3gpp_profile_get_allowed_auth +mm_3gpp_profile_set_allowed_auth +mm_3gpp_profile_get_user +mm_3gpp_profile_set_user +mm_3gpp_profile_get_password +mm_3gpp_profile_set_password +mm_3gpp_profile_get_ip_type +mm_3gpp_profile_set_ip_type +mm_3gpp_profile_get_profile_id +mm_3gpp_profile_set_profile_id + +mm_3gpp_profile_new_from_dictionary +mm_3gpp_profile_new_from_string +mm_3gpp_profile_consume_string +mm_3gpp_profile_consume_variant +mm_3gpp_profile_get_dictionary + +MM3gppProfileClass +MM3gppProfilePrivate +MM_3GPP_PROFILE +MM_3GPP_PROFILE_CLASS +MM_3GPP_PROFILE_GET_CLASS +MM_IS_3GPP_PROFILE +MM_IS_3GPP_PROFILE_CLASS +MM_TYPE_3GPP_PROFILE +mm_3gpp_profile_get_type +
+
mm-enums-types Flags and Enumerations -- cgit v1.2.3-70-g09d2