3 thoughts on “SIMDET and QSS based SIM card presence detection”
Hi,
I would like to use the software based SIM card presence detection (e.g. holder without SIM detect pin). For that I use the following algorithm:
AT#SIMDET=0
Wait(500ms)
AT#SIMDET=1
Wait(1000ms)
AT#QSS?
if QSS status == 1 –> SIM present
if QSS status == 0 –> SIM not present
This seems to be working fine. My questions are:
a) is this solution good?
b) what are the times I need to wait between the issuing of the commands? For example, If I don’t wait after the AT#SIMDET=1 (or wait for ~20ms) the SIM is never detected.
I’m using GL-865.
—
Best regards,
Andrzej Telszewski
Hi,
the solution is good.
The delay between AT#SIMDET=0 and #SIMDET=1 should be increased, specially if the SIM is ready (+CPIN: Ready) and the module registered. In this case the timeout should be 5 seconds tonot interfere with the detach procedure.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi,
I would like to use the software based SIM card presence detection (e.g. holder without SIM detect pin). For that I use the following algorithm:
AT#SIMDET=0
Wait(500ms)
AT#SIMDET=1
Wait(1000ms)
AT#QSS?
if QSS status == 1 –> SIM present
if QSS status == 0 –> SIM not present
This seems to be working fine. My questions are:
a) is this solution good?
b) what are the times I need to wait between the issuing of the commands? For example, If I don’t wait after the AT#SIMDET=1 (or wait for ~20ms) the SIM is never detected.
I’m using GL-865.
—
Best regards,
Andrzej Telszewski
Hi,
the solution is good.
The delay between AT#SIMDET=0 and #SIMDET=1 should be increased, specially if the SIM is ready (+CPIN: Ready) and the module registered. In this case the timeout should be 5 seconds tonot interfere with the detach procedure.
Thanks.
—
Best regards,
Andrzej Telszewski