diff options
Diffstat (limited to 'plugins/telit/mm-modem-helpers-telit.h')
-rw-r--r-- | plugins/telit/mm-modem-helpers-telit.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/plugins/telit/mm-modem-helpers-telit.h b/plugins/telit/mm-modem-helpers-telit.h index d0d74b5d..a7e250e5 100644 --- a/plugins/telit/mm-modem-helpers-telit.h +++ b/plugins/telit/mm-modem-helpers-telit.h @@ -65,14 +65,21 @@ gint mm_telit_parse_csim_response (const guint step, const gchar *response, GError **error); -/* #BND=? response parser */ +typedef enum { + LOAD_SUPPORTED_BANDS, + LOAD_CURRENT_BANDS +} MMTelitLoadBandsType; + +/* #BND response parser */ gboolean -mm_telit_parse_supported_bands_response (const gchar *response, - const gboolean modem_is_2g, - const gboolean modem_is_3g, - const gboolean modem_is_4g, - GArray **supported_bands, - GError **error); +mm_telit_parse_bnd_response (const gchar *response, + gboolean modem_is_2g, + gboolean modem_is_3g, + gboolean modem_is_4g, + MMTelitLoadBandsType band_type, + GArray **supported_bands, + GError **error); + gboolean mm_telit_bands_contains (GArray *mm_bands, const MMModemBand mm_band); |