[PATCH 2/2] ublox: support modems connected to serial port
Aleksander Morgado
aleksander at aleksander.es
Wed May 10 12:43:18 UTC 2017
On 08/05/17 10:45, Javier Viguera wrote:
> Add the vendor string, so it can be probed via AT commands. This allows
> to support modems that are connected to a serial port.
>
> Signed-off-by: Javier Viguera <javier.viguera at digi.com>
Pushed to git master, plus a follow up commit doing some minor alignment
fixes. Thanks!
> ---
> plugins/ublox/mm-plugin-ublox.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/plugins/ublox/mm-plugin-ublox.c b/plugins/ublox/mm-plugin-ublox.c
> index 890f520754aa..0ca74d903f88 100644
> --- a/plugins/ublox/mm-plugin-ublox.c
> +++ b/plugins/ublox/mm-plugin-ublox.c
> @@ -66,11 +66,13 @@ mm_plugin_create (void)
> {
> static const gchar *subsystems[] = { "tty", "net", NULL };
> static const guint16 vendor_ids[] = { 0x1546, 0 };
> + static const gchar *vendor_strings[] = { "u-blox", NULL };
>
> return MM_PLUGIN (g_object_new (MM_TYPE_PLUGIN_UBLOX,
> MM_PLUGIN_NAME, "u-blox",
> MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems,
> MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids,
> + MM_PLUGIN_ALLOWED_VENDOR_STRINGS, vendor_strings,
> MM_PLUGIN_ALLOWED_AT, TRUE,
> MM_PLUGIN_CUSTOM_AT_PROBE, custom_at_probe,
> NULL));
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list