How to enable hot-swap function of SIM card?

  1. Ensure that the SIM_PRESENCE pin of module has been connected.

  2. Enable the SIM card detection function by AT command.

Example:

AT+QSIMSTAT=1 // Enable SIM inserted status report

AT+QSIMDET=1,1 or AT+QSIMDET=1,0 // Enable SIM card presence detection

When SIM card is pulled out or plugged in, module will immediately respond:

+CPIN:NOT READY

+QSIMSTAT:1,0 or +QSIMSTAT:1,1

Call Ready

Hi Akso,

I have quectel EC20 EVB board.

How to ensure SIM_PRESENCE pin is connected or not ??

And i am giving same command but it’s not working.

Thanks,
Hardik

Dear Hardik_Pokar,
Please check the following command which used to enable or disable USIM card detection. And our LTE&UMTS EVB board already connected the SIM_Presence pin, so hardware design is ok, just need to use command to enable this function. If it is dose not work in your side, please help to provide more information to us, like AT log, test video, then we can help you to solve the issue. Thanks!

Hi Kyson,

AT+QSIMDET=1,0
OK
AT&W
OK
AT+QSIMSTAT? (SIMCARD REMOVED)
+QSIMSTAT: 1,0
OK
AT+QSIMSTAT? (SIMCARD INSERTED)
+QSIMSTAT: 1,1
OK
AT+QSIMDET? (SIMCARD REMOVED)
+QSIMDET: 1,0
OK

I am not getting any inttrupt.

AT+QSIMDET=1,1
OK
AT+QSIMSTAT? (SIM INSERTED)
+QSIMSTAT: 1,1
OK
AT+QSIMSTAT? (SIM REMOVED)
+QSIMSTAT: 1,0
OK
AT+QSIMSTAT? (SIM INSERTED)
+QSIMSTAT: 1,1
OK

Not Getting any intterupt like +CPIN: NOT READY .

AT+QSIMDET?
+QSIMDET: 1,1
OK

Dear Hardik Pokar,
Please help to provide your firmware version with ATI command, and it is better to check the voltage of SIM_PRESENCE to confirm whether the pin status is normal. Thanks!