Hi,
We’re using the following modems: UC20, EC25, and EM06 and there are several questions regarding them:
- We were wondering which of them support SIM card hot swap and what needs to be enabled for this? We tried setting AT+QSIMDET=1,1 and with 1,0 and the modules respond “OK” but there is no change, more than that, hard resetting the modem when QSIMDET is set does not update the ModemManager state to SIM Missing anymore.
- Is there a mmcli or AT command (or combination of commands) that we can use to update the CPIN and/or mmcli SIM state after executing the command?
Besides from QSIMDET, we have tried:
- If the SIM is seen as present in mmcli/CPIN and it was actually removed:
mmcli -m -r (hard reset) → updates mmcli state with missing sim
AT+QPOWD=0/1 (power off) → updates mmcli state with missing sim
Setting AT+QSIMSTAT=1 → updates CPIN response with code 13 Sim Failure (not 10, Sim missing) - If the SIM is seen as missing and the SIM is actually plugged in:
qmicli -d /dev/cdc-wdm0 -p --uim-sim-power-on=1 (resets modem) → updates mmcli state with actual state
mmcli -m -r (hard reset) → updates mmcli state with actual state
As you can see, the commands either reset the modem and it takes some time until everything is back to normal or only work partially.