usage of nas-set-preferred-networks
Dan Williams
dan at ioncontrol.co
Mon Mar 31 13:35:31 UTC 2025
On Tue, 2025-03-18 at 07:03 +0100, Andreas Tobler wrote:
> On 18.03.2025 00:18, Dan Williams wrote:
>
> > > > I'm not sure it'll show much useful but it would allow us to
> > > > double-
> > > > check what qmicli is sending to the modem.
> > > >
> > > > One thing to try is that perhaps the modem doesn't like the
> > > > "all"
> > > > access technology option and doesn't know how to handle it.
> > > > Could
> > > > you
> > > > try explicitly listing them, like "22802,gsm|umts|lte"?
> > >
> > > I have tried all possible access technologies, always the same
> > > answer.
> >
> > I see the trace you attached is still using "all" for one of the
> > networks:
> >
> > <<<<<< translated = { [0] = '[ mcc = '228' mnc = '3'
> > radio_access_technology = 'all' ] ' [1] = '[ mcc = '228' mnc = '1'
> > radio_access_technology = 'utran' ] '}
> >
> > Did it still return UimUninitialized when you did it without "all"?
>
> Yes, attached the trace with utran only. The same applies to eutran,
> ngran, gsm, gsm-compact and unspecified.
Reinhard had a good point in another thread ("--nas-get-preferred-
networks displays no networks...") that perhaps your SIM doesn't
include the necessary SIM file where this info is stored. MM doesn't
create those records in the SIM.
Let's see if he has thoughts in that thread. Perhaps MM could create it
if it doesn't exist, not sure.
Dan
More information about the libqmi-devel
mailing list