libmm-glib,modem-helpers,mm-base-sim: implement Sim.PreferredNetworks

The ModemManager1.Sim.PreferredNetworks property contains the preferred
networks (and access technologies, if available) configured to the
SIM card.

This commit implements preferred networks reading with AT+CPOL.
This commit is contained in:
Teijo Kinnunen
2021-02-26 12:28:01 +01:00
committed by Aleksander Morgado
parent c7d366671f
commit 816beeffcb
13 changed files with 562 additions and 0 deletions
@@ -127,5 +127,19 @@
-->
<property name="EmergencyNumbers" type="as" access="read" />
<!--
PreferredNetworks:
List of preferred networks with access technologies configured in the SIM card.
Each entry contains an operator id string (<literal>"MCCMNC"</literal>)
consisting of 5 or 6 digits, and an
<link linkend="MMModemAccessTechnology">MMModemAccessTechnology</link> mask.
If the SIM card does not support access technology storage, the mask will be
set to <link linkend="MM-MODEM-ACCESS-TECHNOLOGY-UNKNOWN:CAPS">
MM_MODEM_ACCESS_TECHNOLOGY_UNKNOWN</link>.
-->
<property name="PreferredNetworks" type="a(su)" access="read" />
</interface>
</node>