April 15, 2008

Howto Disable SIM card pin on Wavecom GSM Modem

Since I'm working on remote automation system development, I've been playing a lot with this Wavecom GSM Modem on my development since I use it for GPRS connection. The issue is, when I use a new SIM card, sometimes that SIM card have pin number which make the modem locked and cannot dial or connect to the internet via GPRS until I unlock the GSM Modem by issuing the pin number. That was annoying when you have put the pin number every time it is booting while you suppose to just leave this device to work and connect automatically.

Actually, in order to fix this issue, I can just disable the SIM card pin. So, I would like to share my routine with new SIM card with pin number, assuming you knew some AT+Command basic and how to use it. Here's how to disable your SIM card pin via Wavecom Meastro, Fastrack or any compatible GSM modems:

  1. Connect your modem to your computer.

  2. Open up serial terminal. I'm using minicom coz I'm on Linux box. On Windows, you can use HyperTerminal.

  3. Turn on your GSM Modem

  4. Issue an AT command to test it. You may want to change to the right baudrate in order to get the reply:
    AT
    the expected reply is:
    OK

  5. Check if the Modem is locked by the SIM pin by issuing:
    AT+CPIN?

    the expected reply for unlocked modem should be:
    +CPIN: READY

    or else, you have to unlock it by issuing: (example: my default SIM card pin is 1234)
    AT+CPIN="1234"

    and it will reply OK
  6. Now, we can disable the pin by issuing:
    AT+CLCK="SC",0,"1234"

    where 1234 is your current SIM pin.

That's all. You can now restart the modem and use it with your automated GPRS dialer. I don't know if this GSM AT Command will also works on siemens gsm modem or other GSM modems. You can try it and feel free to leave your comments. Have fun!

Share This Article:


Bookmark This Article:
Feed Me Digg Technorati del.icio.us Best to Stumbleupon Reddit Blinklist Furl Spurl Yahoo Simpy

7 comments:

jenna said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

Lucy

http://cellularaccessoriess.com

Nick said...

Works also fine on a Option Globetrotter 505M usb modem! Thanks!

jollyen said...

It works on the - BenQ M32 GSM/GPRS module

Felix said...

Works also with Telit GM862-GPS module.

Thanks a lot.

Marcel Dutt said...

Just tried it on my Qualcomm Gobi 2000 and what should I say: works just fine =)

Thanks for your help - my provider software (which is crap anyway) didn't allow me to disable it. Nice if one know how to do it anyway.

Administrateur said...

Really man, by reading your post, I saved about 3 or 4 hours of my time. I owe you something

Thank you for sharing !

Andrew said...

I suspect this command will work on any modem that supports the AT command set. Works fine on a Maxon Intellimax.