×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    40

    To read and edit PIN number on SIM

    Hello group,
    I tried to find some help for reading the PIN number of any particular SIM. I am trying for an application where I can read the PIN number on the SIM and edit if possible. The basic idea is to lock the SIM to be used in any other phone.

    Can I get some help ?

    Thanks in advance
    Sharat

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: To read and edit PIN number on SIM

    Hi,

    there is not public API for this as I know. I guess you will have also problems with getting such application signed as you might need manufacturer and also network operator approval for this...

    BR
    STeN

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: To read and edit PIN number on SIM

    Quote Originally Posted by sharatprasad View Post
    I tried to find some help for reading the PIN number of any particular SIM.
    Reading the PIN would be something like if a lock (on your door) would provide detailed description about how to create a key for it.
    So obviously it works in the other direction: the device forwards your guess to the SIM card, then the card says if it is a hit or a miss.
    I am trying for an application where I can read the PIN number on the SIM and edit if possible.
    You should try something else.
    The basic idea is to lock the SIM to be used in any other phone.
    Since all phones are capable for asking the PIN code, it is not the PIN code which prevents you from using SIM card of OperatorA in a device customized (locked) by OperatorB. It is the device which refuses the SIM card, and it happens independently from the PIN code.

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: To read and edit PIN number on SIM

    I'm not aware of anything that would allow you to get the PIN, but I think there are Symbian partner API's to allow the PIN to be changed (it requires the original PIN and the new PIN) and also to query whether the PIN is valid.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  5. #5
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: To read and edit PIN number on SIM

    You can also change the PIN with AT commands, provided of course that you know the original PIN code.

  6. #6
    Registered User
    Join Date
    Dec 2008
    Posts
    40

    Re: To read and edit PIN number on SIM

    Hello,

    Firstly thanks for your valuable comments.
    I am sorry if i put the question in wrong format, but the functionality what i was looking for is mentioned here

    http://www.infosyncworld.com/news/n/6567.html

    where I can set a security code to block the sim, so that it cannot be used in any other phones. Now, I am looking forward for the implementation which is also mentioned in the following thread.

    http://discussion.forum.nokia.com/fo...ad.php?t=79450

    The same functionality I need to implement.


    Thanks

  7. #7
    Registered User
    Join Date
    Dec 2008
    Posts
    40

    Re: To read and edit PIN number on SIM

    Hello again,
    I am newbie in developing S_60 Applications. I need to implement AT Command "AT+CPIN Enter PIN". I am trying to find some help, in vain. Can I get some help to start with?
    Thanks in anticipation.

  8. #8
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: To read and edit PIN number on SIM

    a example which with you could send AT commands could be found from the Wiki: http://wiki.forum.nokia.com/index.ph...T_Commands.zip

    For AT commands and how to use it, you could propably search the Wiki, as well as do some internet searches, I'm pretty sure there are information available.

  9. #9
    Registered User
    Join Date
    Dec 2008
    Posts
    40

    Re: To read and edit PIN number on SIM

    Hi group again,

    I got some material where the basic functionality which can be implemented by AT Commands are mentioned.

    http://www.developershome.com/sms/atCommandsIntro.asp
    http://nds1.nokia.com/phones/files/guides/
    http://wiki.forum.nokia.com/index.php/

    Thanks for the example symbianyucca. I have gone through the materials, but however, I am unable to understand how should I proceed for implementation of AT+CPIN Enter PIN command.
    I mean do I need to implement what +CPIN? shall do at the front view and what +CPIN: <code> should do at the back end? As I am looking out for blocking SIM which can be provided by this command.
    Can anyone give a start up push?
    Thanks ...

Similar Threads

  1. Replies: 3
    Last Post: 2008-06-07, 10:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •