aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-bearer.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-04-03 21:58:25 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-04-29 10:13:22 +0000
commit9fd5aced67d9a5e548f706e62990fa24abda65d5 (patch)
treea3e914928c729a5042f3838b1d6d2428a412e5d2 /libmm-glib/mm-bearer.h
parent2d43ea48e1d2bae37f9d0594c385451739287bef (diff)
api,bearer: new 'ProfileId' property
To report which is the currently active profile with this bearer, if known. If the modem doesn't support profiles, or if the bearer is disconnected, -1 (MM_3GPP_PROFILE_ID_UNKNOWN) will be reported. It is guaranteed that no two connected bearers will have the same ProfileId property value.
Diffstat (limited to 'libmm-glib/mm-bearer.h')
-rw-r--r--libmm-glib/mm-bearer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmm-glib/mm-bearer.h b/libmm-glib/mm-bearer.h
index c96888df..9f15e926 100644
--- a/libmm-glib/mm-bearer.h
+++ b/libmm-glib/mm-bearer.h
@@ -84,6 +84,8 @@ guint mm_bearer_get_ip_timeout (MMBearer *self);
MMBearerType mm_bearer_get_bearer_type (MMBearer *self);
+gint mm_bearer_get_profile_id (MMBearer *self);
+
void mm_bearer_connect (MMBearer *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,