04-07-2009 06:48 PM
As per ISO/IEC 7816-4 specifications, various APDU commands can be executed to get data (SELECT, READ BINARY, READ RECORD, GET RESPONSE etc.) from the SIM. But, if I am not wrong, Application IDs (like
a0.00.00.00.62.03.01.0c.02.01
) are required to execute the commands.
Ex
"apdu:0;target=a0.00.00.00.62.03.01.0c.02.01";
How can we get these AIDs?
I don't need to install any application on the SIM: I need only to read informations in the SIM's ElementaryFile.
Is there any other way to access SIM resources or it can be accomplished using APDU commands but without requiring Application ID? Or are there any wrappers above APDU, which can be used for this purpose.
Thanks in advance!
04-20-2009 12:55 PM
11-15-2009 03:02 PM
> You can communicate with an application installed on the SIM card.
< What do you mean please.
Thks.
11-15-2009 04:14 PM
> You can communicate with an application installed on the SIM card.
< Can I execute the "RUN GSM ALGORITHM" described in the specification of GSM 11.11 (specification of the interface between the Mobile equipment and the SIM card).
Here is the definition of the RUN GSM ALGORITHM provided by the GSM 11.11 specification:
8.16 RUN GSM ALGORITHM
This function is used during the procedure for authenticating the SIM to a GSM network and to calculate a
cipher key. The card runs the specified algorithms A3 and A8 using a 16 byte random number and the
subscriber authentication key Ki, which is stored in the SIM. The function returns the calculated response
SRES and the cipher key Kc.
The function shall not be executable unless DFGSM has been selected as the Current Directory and a
successful CHV1 verification procedure has been performed (see 11.3.1).
Input:
- RAND.
Output:
- SRES, Kc.
The contents of Kc shall be presented to algorithm A5 by the ME in its full 64 bit format as delivered by the
SIM.
Please help.
Thsnks in advance.
06-07-2010 07:35 AM
Hello All,
I need to get two parameters from the SIM, XRES or SRES.
is it possible to get these two values?
As Mark said, we can not read raw data from SIM but we can communicate with the Application on SIM. So in this case, can we write SIM app in any langauge and then can we communicate with BB app?
-Shekhar.
06-29-2010 11:24 AM
Hi MSohm,
I have the same requirement as discussed above. I want to know the commandAPDU available in net.rim.device.api.smartcard package can be used for communicating with GSM SIM card?
If we need to write an application on SIM card, is it related to Java card application?
If this is doable then how the final deployment will be done?
Please let me know your view on this.
Thanks in Advance,
Kims
06-30-2010 01:14 PM
You will need to work with your carrier in order to get an application onto their SIM card.
RIM does not provide any tools for creating such an application.
11-06-2010 08:25 AM
Hello,
I have The AID of custom application in the sim , when I try to open the apduConnection it throws IO Exception with no error message. I Debug on 8520 with 4.6.1 device with signed application.
What could be the problem?
Thank you so much