[PATCH] [Telit Plugin] Add load_supported_bands for some Telit modem models
Aleksander Morgado
aleksander at aleksander.es
Thu Jan 14 00:48:18 PST 2016
On Wed, Jan 13, 2016 at 11:55 AM, Carlo Lobrano <c.lobrano at gmail.com> wrote:
> +
> + g_assert_true (TELIT_MODEL_HE910_EU == mm_telit_get_model(he910_pid1, "HE910 EU"));
> + g_assert_true (TELIT_MODEL_HE910_EU == mm_telit_get_model(he910_pid2, "HE910_EU"));
> + g_assert_false (TELIT_MODEL_HE910_EU == mm_telit_get_model(he910_pid2, "HE910 EU V2"));
> + g_assert_false (TELIT_MODEL_HE910_EU == mm_telit_get_model(he910_pid2, "HE910 V2 EU"));
Please note that g_assert_true() and g_assert_false() are only given
in GLib 2.38. Currently we require GLib 2.32 for MM, although I'm
already thinking in bump git master to support 2.36 so that we can use
GTask. That said, probably 2.38 is anyway totally ok for git master,
given that it's more than 2 years old.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list