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.
This commit is contained in:
Aleksander Morgado
2021-04-03 21:58:25 +02:00
parent 2d43ea48e1
commit 9fd5aced67
7 changed files with 49 additions and 0 deletions

View File

@@ -1082,6 +1082,7 @@ mm_bearer_get_suspended
mm_bearer_get_multiplexed
mm_bearer_get_ip_timeout
mm_bearer_get_bearer_type
mm_bearer_get_profile_id
mm_bearer_peek_ipv4_config
mm_bearer_get_ipv4_config
mm_bearer_peek_ipv6_config
@@ -1837,6 +1838,7 @@ mm_gdbus_bearer_get_connected
mm_gdbus_bearer_get_suspended
mm_gdbus_bearer_get_multiplexed
mm_gdbus_bearer_get_bearer_type
mm_gdbus_bearer_get_profile_id
mm_gdbus_bearer_get_stats
mm_gdbus_bearer_dup_stats
<SUBSECTION Methods>
@@ -1856,6 +1858,7 @@ mm_gdbus_bearer_set_ip_timeout
mm_gdbus_bearer_set_properties
mm_gdbus_bearer_set_suspended
mm_gdbus_bearer_set_bearer_type
mm_gdbus_bearer_set_profile_id
mm_gdbus_bearer_set_stats
mm_gdbus_bearer_set_multiplexed
mm_gdbus_bearer_override_properties