From 049ebb70842ad07bc5c03f096960e909ad36d85c Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sat, 11 Dec 2021 22:28:36 +0100 Subject: api,profile-manager: new 'IndexField' property For most protocols, the operations to manage profiles require a unique 'profile-id' as index. This applies to AT, QMI and generic MBIM. But for MBIM using the Microsoft Extensions for profile management, this is no longer true; the device expects the 'apn-type' to be the index. This new property lets the user know which is the expected index field in the Delete() and Set() operations. --- ...odemManager1.Modem.Modem3gpp.ProfileManager.xml | 28 ++++++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'introspection') diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager.xml b/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager.xml index f3086757..790d9aea 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager.xml @@ -64,9 +64,11 @@ @requested_properties: the requested profile properties. @stored_properties: the stored profile properties. - Creates or updates a connection profile on this modem. If - "profile-id" is not given, a new profile will be - created; otherwise, the profile with the given ID will be updated. + Creates or updates a connection profile on this modem, depending on + whether the expected + index field + is given or not. If not given, a new profile will be created; otherwise, + the profile with the given index will be updated. Profiles are represented as dictionaries of properties, and any of the 3GPP-specific properties defined in the @@ -102,7 +104,9 @@ Delete: @properties: the profile properties. - Deletes the profile with the "profile-id" given in @properties. + Deletes the profile with the + index field + given in @properties. If additional settings are given in @properties they are ignored. This allows the user to easily request the deletion of a profile that has been @@ -113,7 +117,7 @@ cannot be fully removed. In this case, the method will succeed, but the size of the list of profiles will not change. - This method will fail if "profile-id" is not given. + This method will fail if the expected index field is not given. The operation may fail if it is attempting to delete a profile for which connected bearer objects already exist. In this case, @@ -142,5 +146,19 @@ --> + + + -- cgit v1.2.3-70-g09d2