iface-modem: new helpers to query supported modes
This commit is contained in:
@@ -306,6 +306,15 @@ gboolean mm_iface_modem_is_3gpp_lte_only (MMIfaceModem *self);
|
||||
gboolean mm_iface_modem_is_cdma (MMIfaceModem *self);
|
||||
gboolean mm_iface_modem_is_cdma_only (MMIfaceModem *self);
|
||||
|
||||
/* Helpers to query supported modes */
|
||||
MMModemMode mm_iface_modem_get_supported_modes (MMIfaceModem *self);
|
||||
gboolean mm_iface_modem_is_2g (MMIfaceModem *self);
|
||||
gboolean mm_iface_modem_is_2g_only (MMIfaceModem *self);
|
||||
gboolean mm_iface_modem_is_3g (MMIfaceModem *self);
|
||||
gboolean mm_iface_modem_is_3g_only (MMIfaceModem *self);
|
||||
gboolean mm_iface_modem_is_4g (MMIfaceModem *self);
|
||||
gboolean mm_iface_modem_is_4g_only (MMIfaceModem *self);
|
||||
|
||||
/* Initialize Modem interface (async) */
|
||||
void mm_iface_modem_initialize (MMIfaceModem *self,
|
||||
GCancellable *cancellable,
|
||||
|
Reference in New Issue
Block a user