diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-08-01 09:59:27 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-08-28 14:59:06 +0000 |
commit | e7409b689876488594409e945687486adb1d9514 (patch) | |
tree | 0b10be5c3d08fa5e21b22565e51b4fdfc071dcc2 /introspection | |
parent | b2979c63eb2d724512c7a96c071f3d4b422e79cb (diff) |
api,modem: new 'SimSlots' and 'PrimarySimSlot' properties
The 'SimSlots' property exposes an array of SIM object paths, with one
array item for each available SIM slot in the system. If a valid SIM
card is found in a given slot, the path of the SIM object will be
exposed in the array item; if no valid SIM card is found, the empty
object path ("/") will be exposed instead.
The 'PrimarySimSlot' property exposes which of the SIM slots available
in the system is the one configured as being primary. In a Multi-SIM
Single-Standby setup, the primary slot will be the one corresponding
to the single active SIM in the system. In a Multi-SIM Multi-Standby
setup, the primary slot will be the one configured to act as primary
(e.g. the one that will be used for the data connection) among all the
active SIM cards found.
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.xml | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml index b026b01f..9b8d2d6d 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.xml @@ -217,11 +217,56 @@ <!-- Sim: - The path of the SIM object available in this device, if any. + The path of the primary active SIM object available in this device, + if any. + + This SIM object is the one used for network registration and data + connection setup. + + If multiple #org.freedesktop.ModemManager1.Modem.SimSlots are + supported, the #org.freedesktop.ModemManager1.Modem.PrimarySimSlot + index value specifies which is the slot number where this SIM card + is available. --> <property name="Sim" type="o" access="read" /> <!-- + SimSlots: + + The list of SIM slots available in the system, including the SIM object + paths if the cards are present. If a given SIM slot at a given index + doesn't have a SIM card available, an empty object path will be given. + + The length of this array of objects will be equal to the amount of + available SIM slots in the system, and the index in the array is the + slot index. + + This list includes the SIM object considered as primary active SIM slot + (#org.freedesktop.ModemManager1.Modem.Sim) at index + #org.freedesktop.ModemManager1.Modem.ActiveSimSlot. + --> + <property name="SimSlots" type="ao" access="read" /> + + <!-- + PrimarySimSlot: + + The index of the primary active SIM slot in the + #org.freedesktop.ModemManager1.Modem.SimSlots array, given in the [1,N] + range. + + If multiple SIM slots aren't supported, this property will report + value 0. + + In a Multi SIM Single Standby setup, this index identifies the only SIM + that is currently active. All the remaining slots will be inactive. + + In a Multi SIM Multi Standby setup, this index identifies the active SIM + that is considered primary, i.e. the one that will be used when a data + connection is setup. + --> + <property name="PrimarySimSlot" type="u" access="read" /> + + <!-- Bearers: The list of bearer object paths (EPS Bearers, PDP Contexts, or |