I am trying to factory reset my EM7455 module and found following command
mmcli -m <> --factory-reset=CODE, i am wondering what is CODE for EM7455 ?
Also found AT commands for the same will the following factory reset my modem ?
In QMI SDK, /docs/SwiApiReference/qaGobiApiDms_8h.html, it says "NULL-terminated string representing a six-digit service programming code:.
Maybe you can try “000000”.
I get following error when executing ‘mmcli -m 0 --factory-reset=‘000000’’
error: couldn’t reset the modem to factory state: ‘GDBus.Error:org.freedesktop.libqmi.Error.Protocol.Internal: Couldn’t restore factory defaults: QMI protocol error (3): ‘Internal’’
Here is the debug log:
Blockquote
Jun 25 18:31:33 ModemManager[23370]: performing a factory reset…
Jun 25 18:31:33 ModemManager[23370]: [/dev/cdc-wdm0] sent message… <<<<<< RAW: <<<<<< length = 22 <<<<<< data = 01:15:00:00:02:04:00:20:00:3A:00:09:00:01:06:00:30:30:30:30:30:30
Jun 25 18:31:33 ModemManager[23370]: [/dev/cdc-wdm0] sent generic request (translated)… <<<<<< QMUX: <<<<<< length = 21 <<<<<< flags = 0x00 <<<<<< service = “dms” <<<<<< client = 4 <<<<<< QMI: <<<<<< flags = “none” <<<<<< trans
Jun 25 18:31:33 ModemManager[23370]: [/dev/cdc-wdm0] received message… <<<<<< RAW: <<<<<< length = 20 <<<<<< data = 01:13:00:80:02:04:02:20:00:3A:00:07:00:02:04:00:01:00:03:00
Jun 25 18:31:33 ModemManager[23370]: [/dev/cdc-wdm0] received generic response (translated)… <<<<<< QMUX: <<<<<< length = 19 <<<<<< flags = 0x80 <<<<<< service = “dms” <<<<<< client = 4 <<<<<< QMI: <<<<<< flags = “response” <<<<<
Sorry, but I haven’t actually tried the factory reset as I don’t want to do that on this modem. I assumed the dms-validate-service-programming-code request would have the same problem, but I was wrong as demonstrated by @prap4network.
FWIW, I’m running 02.24.05.06 since I haven’t been satisfied with the stability of any of the newer firmwares. Might be just me…