Unable to set preferred mode to 4G from ModemManager for Quectel BG96
Aleksander Morgado
aleksander at aleksander.es
Wed Dec 1 10:16:44 UTC 2021
Hey,
> 2. Then I set the priority to 2G. Both MM and AT-cmd shows the 2G has now priority.
>
> # mmcli -m 1 --set-allowed-modes='2g|4g' --set-preferred-mode='2g'
> successfully set current modes in the modem
> #
> # mmcli -m 1 --command="AT+QCFG=\"nwscanseq\""
> response: '+QCFG: "nwscanseq",010203'
>
> 3. Then I wanted to set the priority to 4G again. But could not do it with MM. AT comamnd shows the search sequence does not change. But the MM "thinks" the priority is already set back to 4G.
>
> # mmcli -m 1 --set-allowed-modes='2g|4g' --set-preferred-mode='4g'
> successfully set current modes in the modem
> #
> #
> # mmcli -m 1 --command="AT+QCFG=\"nwscanseq\""
> response: '+QCFG: "nwscanseq",010203'
>
We need to see what kind of QMI responses we get from the modem, maybe
there is something we're not processing right.
Could you please retry this sequence but with debugging enabled? see
https://modemmanager.org/docs/modemmanager/debugging/
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list