api,introspection: 'SupportedModes' is now a list of possible combinations

Instead of just a mask of MMModemMode values, we now provide a list of the
allowed and preferred mode combinations supported by the modem. E.g.:

$> sudo mmcli -m 0
  -------------------------
  Modes    |      supported: 'allowed: 2g; preferred: none
           |                  allowed: 3g; preferred: none
           |                  allowed: 2g, 3g; preferred: none
           |                  allowed: 2g, 3g; preferred: 2g
           |                  allowed: 2g, 3g; preferred: 3g
           |                  allowed: 4g; preferred: none
           |                  allowed: 2g, 3g, 4g; preferred: none'
This commit is contained in:
Aleksander Morgado
2013-05-29 12:41:49 +02:00
parent 212d00c529
commit 45ceba7692
35 changed files with 2060 additions and 307 deletions

View File

@@ -73,6 +73,7 @@ mm_object_get_type
<FILE>mm-modem</FILE>
<TITLE>MMModem</TITLE>
MMModem
MMModemModeCombination
<SUBSECTION Getters>
mm_modem_get_path
mm_modem_dup_path
@@ -106,6 +107,7 @@ mm_modem_get_max_bearers
mm_modem_get_max_active_bearers
mm_modem_get_own_numbers
mm_modem_dup_own_numbers
mm_modem_peek_supported_modes
mm_modem_get_supported_modes
mm_modem_get_allowed_modes
mm_modem_get_preferred_mode
@@ -1455,6 +1457,7 @@ mm_gdbus_modem_get_supported_bands
mm_gdbus_modem_dup_supported_bands
mm_gdbus_modem_get_supported_ip_families
mm_gdbus_modem_get_supported_modes
mm_gdbus_modem_dup_supported_modes
mm_gdbus_modem_get_unlock_required
mm_gdbus_modem_get_unlock_retries
mm_gdbus_modem_dup_unlock_retries