I'd like to read the IMSI just before assigning APN, but

~# mmcli -m 0 --command="AT+CIMI"
error: command failed:
'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unauthorized: Cannot
send AT command to modem: operation only allowed in debug mode'

and sometimes:

~# qmicli -d /dev/cdc-wdm0 --dms-uim-get-imsi | grep IMSI: | cut -d "'" -f2
error: couldn't create client for the 'dms' service: CID allocation failed
in the CTL client: Transaction timed out

other times I get this:

~# qmicli -d /dev/cdc-wdm0 --dms-uim-get-imsi
[/dev/cdc-wdm0] UIM IMSI retrieved:
IMSI: '310410874358522'


I thought qmi-proxy took care of locking issues.  How can I get the IMSI
reliably?
_______________________________________________
ModemManager-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to