usage of nas-set-preferred-networks

Andreas Tobler andreas.tobler at onway.ch
Thu Mar 13 06:10:36 UTC 2025


All,

I am trying the --nas-set-preferred-networks with the qmicli tool and I 
fail.

qmicli -d /dev/cdc-wdm0 --nas-set-preferred-networks=22802,all
error: couldn't set preferred networks: QMI protocol error (37): 
'UimUninitialized'

I'm not sure if I use the command correctly and was looking for a sample 
'session' which is able to set the preferred networks.

Is the 'UimUninitialized' error due to my arguments or how do I 
interpret the error?

I'm able to establish a network connection with the SIM card w/o problems.

Do I need some preparation steps to execute this command?

Any pointers are welcome, doc etc.

Thank you,
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/20250313/0bf3189c/attachment.bin>


More information about the libqmi-devel mailing list