I'm sure this has been discussed in detail somewhere, but all my attempts to find any information on the same have not been successful.
There are two things I really wanted to know.
1) Is there any way to identify a SIM card? The IMEI number is of the handset, so I guess, any SIM card in the handset will give the same number.
The idea is, to have a phone-number based log-in. Since we cannot retrieve the phone number from the SIM card, is there any other data that I could retrieve, that can uniquely identify a SIM card? Something similar to IMEI for handsets.
At the server side, I can always construct a data-base with this unique data with phone numbers.
2) Is there any way to check for the presence of a SIM card? I just want to check if there is a SIM card physically present or not.
One solution (I thought) was if I could check for some standard information (part 1) and found none, I could assume there is no sim card. But, is there any module that would do the same?