Send AT commands with ModemManager Debug Mode

Monica Ruiz Macias moruiz at gmv.com
Tue Apr 28 10:07:48 UTC 2020


Hello,

I am using EM7455 module and I would like to send AT commands using mmcli and ModemManager in Debug mode.

Is there any problem to use this functionality when the modem is in failed state because of sim missing?
I couldn't send any commands because the answer is always the same:

:~# mmcli -m 0 --command=AT+GMM
error: command failed: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.WrongState: modem in failed state'
:~# mmcli -m 0 --command=ATMI
error: command failed: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.WrongState: modem in failed state'
:~# mmcli -m 0 --command=AT
error: command failed: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.WrongState: modem in failed state'

:~# mmcli -m 0
  -----------------------------
  General  |         dbus path: /org/freedesktop/ModemManager1/Modem/0
           |         device id: 58adf37d1038c7844a5831a0217174771554a027
  -----------------------------
  Hardware |      manufacturer: Sierra Wireless, Incorporated
           |             model: EM7455
           | firmware revision: SWI9X30C_02.24.05.06 r7040 CARMD-EV-FRMWR2 2017/05/19 06:23:09
           |    carrier config: default
           |      h/w revision: 1.0
           |         supported: gsm-umts, lte
           |           current: gsm-umts, lte
           |      equipment id: 359073063521797
  -----------------------------
  System   |            device: /sys/devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4.1
           |           drivers: qcserial, qmi_wwan
           |            plugin: Sierra
           |      primary port: cdc-wdm0
           |             ports: ttyUSB7 (at), ttyUSB0 (qcdm), ttyUSB2 (gps),
           |                    cdc-wdm0 (qmi), cdc-wdm1 (qmi), wwan0 (net), wwan1 (net)
  -----------------------------
  Status   |             state: failed
           |     failed reason: sim-missing
           |       power state: on
           |    signal quality: 0% (cached)
  -----------------------------
  Modes    |         supported: allowed: 3g; preferred: none
           |                    allowed: 4g; preferred: none
           |                    allowed: 3g, 4g; preferred: 3g
           |                    allowed: 3g, 4g; preferred: 4g
           |           current: allowed: any; preferred: none
  -----------------------------
  Bands    |         supported: utran-1, utran-3, utran-4, utran-5, utran-8, utran-2,
           |                    eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8,
           |                    eutran-12, eutran-13, eutran-20, eutran-25, eutran-41
  -----------------------------
  IP       |         supported: ipv4, ipv6, ipv4v6

I attach the ModemManager log in Debug mode to this email in case it is useful.

Thanks in advance,
Mónica






P Please consider the environment before printing this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200428/789103e5/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mmcli at command.txt
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200428/789103e5/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ModemManager debug mode.txt
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200428/789103e5/attachment-0003.txt>


More information about the ModemManager-devel mailing list