diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-17 16:57:12 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:28:13 +0100 |
commit | 09d2f062c73a62bc32c21d2bcd9249c8a174fe82 (patch) | |
tree | fa3bfab24497997fe3ded9dbc92dd04afd8f50b3 /libmm-glib/mm-modem.h | |
parent | 76e52236a44d87bc7aacb141b956146ab67d66eb (diff) |
api,dbus: rename `AllowedBands' to just `Bands'
ModemManager will load:
1) The list of supported bands. Note that this doesn't mean that any possible
combination of bands is supported, as modems may support only specific
combinations, but at least gives a rough idea of what the modem is capable
of handling.
2) The list of CURRENT bands. There is no such "Allowed" bands, as we do with
modes, modems will have a specific set of bands being currently used, which
will be reported in the `Bands' property.
If the modem allows modifying the list of bands to use, this can be done with
the `SetBands()' method. If the modem doesn't support using a specific
combination of bands, this method will report an error.
Diffstat (limited to 'libmm-glib/mm-modem.h')
-rw-r--r-- | libmm-glib/mm-modem.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libmm-glib/mm-modem.h b/libmm-glib/mm-modem.h index 90c33e91..5f105040 100644 --- a/libmm-glib/mm-modem.h +++ b/libmm-glib/mm-modem.h @@ -74,7 +74,7 @@ MMModemMode mm_modem_get_preferred_mode (MMModem *self); void mm_modem_get_supported_bands (MMModem *self, MMModemBand **bands, guint *n_bands); -void mm_modem_get_allowed_bands (MMModem *self, +void mm_modem_get_bands (MMModem *self, MMModemBand **bands, guint *n_bands); @@ -191,20 +191,20 @@ gboolean mm_modem_set_allowed_modes_sync (MMModem *self, GCancellable *cancellable, GError **error); -void mm_modem_set_allowed_bands (MMModem *self, - const MMModemBand *bands, - guint n_bands, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean mm_modem_set_allowed_bands_finish (MMModem *self, - GAsyncResult *res, - GError **error); -gboolean mm_modem_set_allowed_bands_sync (MMModem *self, - const MMModemBand *bands, - guint n_bands, - GCancellable *cancellable, - GError **error); +void mm_modem_set_bands (MMModem *self, + const MMModemBand *bands, + guint n_bands, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_modem_set_bands_finish (MMModem *self, + GAsyncResult *res, + GError **error); +gboolean mm_modem_set_bands_sync (MMModem *self, + const MMModemBand *bands, + guint n_bands, + GCancellable *cancellable, + GError **error); void mm_modem_get_sim (MMModem *self, GCancellable *cancellable, |