Reading IMSI
Nathaniel Haggard
natester at gmail.com
Wed Sep 6 16:22:09 UTC 2017
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170906/23ad7bb3/attachment.html>
More information about the ModemManager-devel
mailing list