diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-04 13:31:28 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-29 10:13:22 +0000 |
commit | 793370f2f8efc6472d7265892013f6615188344e (patch) | |
tree | 7b6f881bd8517938f2838b11c77e73da077d8793 /introspection | |
parent | e2789b18a1847eecd90fe76902300d99c4ebade3 (diff) |
api,bearer: new 'profile-id' setting
We define a new 'profile-id' setting in the bearer properties that
users will use to specify which connection profile of the ones
available in the device should be connected.
When the 'profile-id' is given, the associated bearer object will be
bound to the 'profile-id', and the user is able to provide additional
settings to apply on top (e.g. if the profile storage doesn't allow
some of the settings we support, like 'apn-type', or if the setting is
completely unrelated to profiles, like 'multiplex').
After introducing the 'profile-id' as a valid setting in the bearer
properties, we also reimplement the properties object internals to
make use a 3GPP profile for the subset of common settings between both
objects.
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Bearer.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Bearer.xml b/introspection/org.freedesktop.ModemManager1.Bearer.xml index a88a361c..a60993e9 100644 --- a/introspection/org.freedesktop.ModemManager1.Bearer.xml +++ b/introspection/org.freedesktop.ModemManager1.Bearer.xml @@ -414,6 +414,18 @@ value (signature <literal>"s"</literal>). </listitem> </varlistentry> + <varlistentry><term><literal>"profile-id"</literal></term> + <listitem> + The ID of the 3GPP profile to connect to (signature + <literal>"i"</literal>), as given in the + <link linkend="gdbus-method-org-freedesktop-ModemManager1-Modem-Modem3gpp-ProfileManager.List">profile list</link>. + In this case, if additional profile settings are given in the properties + and they already exist in the profile (e.g. <literal>"apn"</literal>), + the new settings will be explicitly ignored; the settings stored in the + profile itself always take preference. The value -1 is used to + indicate an invalid or uninitialized profile id. Since 1.18. + </listitem> + </varlistentry> </variablelist> The following settings apply to 3GPP2 (CDMA/EVDO) devices: |