AW: Set allowed mode to 2G, 3G, 4G not working

Stelling2 Carsten Carsten.Stelling2 at goerlitz.com
Wed Feb 27 10:58:51 UTC 2019


Hi,

Thanks for clarification. This means, Daniele's patches work like expected.

Additional note: To make Daniele's patches work, I had to revert Aleksander's patch
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/72
to enable XMM features for Telit.

Thank you for your support.

Carsten

-----Ursprüngliche Nachricht-----
Von: Daniele Palmas [mailto:dnlplm at gmail.com] 
Gesendet: Mittwoch, 27. Februar 2019 11:28
An: Aleksander Morgado
Cc: Stelling2 Carsten; modemmanager-devel at lists.freedesktop.org; Reinhard Speyerer
Betreff: Re: Set allowed mode to 2G, 3G, 4G not working

Il giorno mer 27 feb 2019 alle ore 11:22 Aleksander Morgado
<aleksander at aleksander.es> ha scritto:
>
> >
> > But setting the preferred mode fails.
> >
> > mmcli -m 0 --set-preferred-mode=2G
> > error: setting preferred mode requires list of allowed modes
> >
>
> This is expected; you only want to set a "preferred mode" if you're
> configuring multiple "allowed modes".
>
> E.g. if you just want 2G, you would do:
>   --set-allowed-modes=2G
> If you want 2G+3G with 3G preferred, you would do:
>   --set-allowed-modes="2G|3G" --set-preferred-mode=3G
>

Let me add also that preferred mode setting is not supported at the AT
command level for Telit modems (see comment in set_current_modes).

Regards,
Daniele

> --
> Aleksander
> https://aleksander.es




More information about the ModemManager-devel mailing list