Are the commands to fetch IMEI/IMSI integrated in mmcli?

Aleksander Morgado aleksander at aleksander.es
Mon Oct 17 19:08:39 UTC 2016


On Mon, Oct 17, 2016 at 8:34 PM, Ajay Garg <ajaygargnsit at gmail.com> wrote:
> https://mail.gnome.org/archives/networkmanager-list/2011-September/msg00137.html
> seems to be quite an old thread, but the following two are NOT listed in
> SIM-options in the Modem-manager that I currently use (neither do they work)
> ::
>
>   --card-get-imei                                     Get IMEI of the modem
>   --card-get-imsi                                     Get IMSI of the SIM
> card
>
>
> So, just a quick question, are the above two features present in the
> "latest" Modem-Manager?

They are not given as command line options, but as part of the SIM/modem info:

* If you want to get the IMSI, you can show the information of the SIM
card (e.g. "mmcli -i 0" for SIM card in index 0), and there you'll get
the IMSI reported.
* If you want to get the IMEI, you can show the information of the
modem (e.g. "mmcli -m 0" for modem in index 0), and there you'll get
the IMEI reported (in the 3GPP section).

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list