Disable/Enable SIM card


#1

Hi everyone,

I have some problems with an operator who seems to ‘crash’ some sim card when doing triangulation to have the device’s position.

The operator tell us that a solution consist to remove the sim and replace it after. a kind of power off power on on the sim…

I must do that with the openat… can i control the sim vcc with at commands?

Thanks in advance for suggestions

Best regards,

gdt


#2

I think you can put something like transistor and control power throw one of GPIO putting it in high or low.


#3

Thanks Anjey,

The problem for us is that the pcb exists and we have no gpio available on the design. I will prefer software solution if possible…
Thanks for your quick reply,

Best regards,

gdt


#4

Hi gdt,

I think the only “software solution” would be AT+CPOF. This will turn off the module (only if the on/off PIN is not ON all the time) thus also shut down power to the SIM, but you’ll need to manually turn on the module again (unless you have some external circuit that controls the on/off Pin).

Best Regards,
Jan


#5

Hi Jan,

To complicate a little more the problem, the device is installed in the dashboard of many trucks. We must have automatic software solution without any operator manipulation…

If I do an at+cfun=1, the wavecom power off the sim card. I will do this after 20 retries of reconnection. I hope that it will solve the problem.

Thanks for all replies

Best regards,

gdt