Top |
org.freedesktop.ModemManager1.Simorg.freedesktop.ModemManager1.Sim — The ModemManager SIM interface. |
SendPin (IN s pin); SendPuk (IN s puk, IN s pin); EnablePin (IN s pin, IN b enabled); ChangePin (IN s old_pin, IN s new_pin); SetPreferredNetworks (IN a(su) preferred_networks);
Active readable b SimIdentifier readable s Imsi readable s Eid readable s OperatorIdentifier readable s OperatorName readable s EmergencyNumbers readable as PreferredNetworks readable a(su) Gid1 readable ay Gid2 readable ay SimType readable u EsimStatus readable u Removability readable u
SendPin (IN s pin);
Send the PIN to unlock the SIM card.
Since: 1.0
|
A string containing the PIN code. |
SendPuk (IN s puk, IN s pin);
Send the PUK and a new PIN to unlock the SIM card.
Since: 1.0
|
A string containing the PUK code. |
|
A string containing the PIN code. |
EnablePin (IN s pin, IN b enabled);
Enable or disable the PIN checking.
Since: 1.0
|
A string containing the PIN code. |
|
|
ChangePin (IN s old_pin, IN s new_pin);
Change the PIN code.
Since: 1.0
|
A string containing the current PIN code. |
|
A string containing the new PIN code. |
SetPreferredNetworks (IN a(su) preferred_networks);
Stores the provided preferred network list to the SIM card. Each entry contains
an operator id string ("MCCMNC"
) consisting of 5 or 6 digits,
and an MMModemAccessTechnology mask
to store to SIM card if supported.
This method removes any pre-existing entries of the preferred network list. Note that even if this operation fails, the preferred network list on the SIM card may have changed. Read the PreferredNetworks property to get the up-to-date list.
Since: 1.18
|
|
Active readable b
Boolean indicating whether the SIM is currently active.
On systems that support Multi SIM Single Standby, only one SIM may be active at any given time, which will be the one considered primary.
On systems that support Multi SIM Multi Standby, more than one SIM may be active at any given time, but only one of them is considered primary.
Since: 1.16
SimIdentifier readable s
The ICCID of the SIM card.
This may be available before the PIN has been entered depending on the device itself.
Since: 1.0
OperatorName readable s
The name of the network operator, as given by the SIM card, if known.
Since: 1.0
EmergencyNumbers readable as
List of emergency numbers programmed in the SIM card.
These numbers should be treated as numbers for emergency calls in addition to 112 and 911.
Since: 1.12
PreferredNetworks readable a(su)
List of preferred networks with access technologies configured in the SIM card.
Each entry contains an operator id string ("MCCMNC"
)
consisting of 5 or 6 digits, and an
MMModemAccessTechnology mask.
If the SIM card does not support access technology storage, the mask will be
set to
MM_MODEM_ACCESS_TECHNOLOGY_UNKNOWN.
Since: 1.18
SimType readable u
Indicates whether the current primary SIM is a ESIM or a physical SIM, given as MMSimType value.
Since: 1.20
EsimStatus readable u
If current SIM is ESIM then this indicates whether there is a profile or not, given as MMSimEsimStatus value.
Since: 1.20
Removability readable u
Indicates whether the current SIM is a removable SIM or not, given as a MMSimRemovability value.
Since: 1.20