getting ICCID without debug mode

Aleksander Morgado aleksander at aleksander.es
Tue Apr 6 07:36:41 UTC 2021


Hey Zurab,

> Why sending arbitrary AT command requires ModemManager &
> NetworkManager running in debug mode?

Sending arbitrary AT commands requires either ModemManager --debug or
configuring --with-at-command-via-dbus. The main reason was to avoid
users interfering with ModemManager's own state machine and AT command
processing, especially since parsing the boundaries of AT responses is
not perfect.

> I would like to get ICCID of the SIM, is it correct that there is no
> separate command for that implemented yet?

Oh, you already have that. You just need to print the SIM object
contents, e.g. with mmcli. Try "mmcli --sim 0".

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list