Re: Any special reason set cid=0 as invalid CID

2019-02-27 Thread Dan Williams
On Wed, 2019-02-27 at 14:55 +0800, 王道之 wrote: > Hey > When I read the MM code, the bearer treat the cid=0 as a invalid CID > confused me. But I think there may be some special reasons. > In the MM Ver1.10.0 source code, src/mm-broadband-bearer.c Older versions of the ETSI 27.007 spec specified

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

2019-02-27 Thread Aleksander Morgado
> 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. > Yeah, I

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

2019-02-27 Thread Stelling2 Carsten
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

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

2019-02-27 Thread Daniele Palmas
Il giorno mer 27 feb 2019 alle ore 11:22 Aleksander Morgado 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

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

2019-02-27 Thread Aleksander Morgado
> > 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:

[review] Carrier config support and fwupd integration

2019-02-27 Thread Aleksander Morgado
Hey Dan & all, The following MR adds support for reporting the current carrier config in use, and also implements automatic carrier config switching based on QMI PDC, initially done for the DW5821e. https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/66 A single modem may

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

2019-02-27 Thread Stelling2 Carsten
Hi Daniele, I applied both patches, and can successfully switch from 2G to 4G and vice versa. mmcli -m 0 --set-allowed-modes=2G successfully set current modes in the modem mmcli -m 0 shows in the Modes section: supported: allowed: 2g; preferred: none allowed: 4g; preferred: none

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

2019-02-27 Thread Stelling2 Carsten
Hi Daniele, Thank you. Yes, I'll give it a try tomorrow. Following patches from your commits should be applied to MM 1.10.0 4089726c1fbdc90ecec8737f9ea287784708ca7f 90cb911437538d5b6bd681aa1d7e1be2e1700227 Is this right? Best regards, Carsten -Ursprüngliche Nachricht- Von: Daniele