usage of nas-set-preferred-networks
Andreas Tobler
andreas.tobler at onway.ch
Mon Mar 31 13:40:29 UTC 2025
On 31.03.2025 15:35, Dan Williams wrote:
> 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.
For the record, is it this file?
pySIM-shell (00:MF/ADF.USIM/EF.PLMNwAcT)> read_binary_decoded
[
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
]
The EF.OPLMNwAcT is also available but also filled with NULL.
Best,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5000 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20250331/3ba24c7a/attachment-0001.bin>
More information about the libqmi-devel
mailing list