This content has been marked as final. Show 8 replies
961512 wrote:May be you are right but to me the Install for Install command is not correct. I am missing toolkit parameters which should be present for a GSM specific applet.
This most likely means that you are using functionality not supported by the card OS.
Please verify that JCOP version of your card supports Javacard functionality you are using in your applet.
There are persons in this (Javacard) forum who know SIM card but i don't know why they are sitting quite : -)
what kind of applet are You installing? And what kind of a card?
If the card is usim then You must use package uicc (ETSI 102241+ver) and uicc.usim (3GPP 31130+ver) in source code. So install for install command will look approximately so:
install -i 0b0b0b0b0b0b0b0b0b0b0b0b0b0b6170 -q C9#(00)EA#(800AFF002001000000000000) 0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b0b0b0b0b0b0b6170
Tag EA - only for usim
And if the card is sim
then You must use package sim (3GPP 43019+ver). Then install for install command:
install -i 0b0b0b0b0b0b0b0b0b0b0b0b0b0b6170 -q CA#(0100FF0023010000)C9#(00) 0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b0b0b0b0b0b0b6170
Tag CA - for sim
Read more about install parameters in the ETSI 102226
Thanks for the above reply
I tried your mentioned method but still getting the same problem. Kindly have a look below:
cm> install -i 6368696E616D6F62696C652E617070 -q CA#(0100FF0023010000)C9#(00) 6368696E616D6F62696C652E7061636B 6368696E616D6F62696C652E617070 => 80 E6 0C 00 42 10 63 68 69 6E 61 6D 6F 62 69 6C ....B.chinamobil 65 2E 70 61 63 6B 0F 63 68 69 6E 61 6D 6F 62 69 e.pack.chinamobi 6C 65 2E 61 70 70 0F 63 68 69 6E 61 6D 6F 62 69 le.app.chinamobi 6C 65 2E 61 70 70 01 00 0D CA 08 01 00 FF 00 23 le.app.........# 01 00 00 C9 01 00 00 00 ........ (3641976 usec) <= 6A 80 j. Status: Wrong data jcshell: Error code: 6a80 (Wrong data) jcshell: Wrong response APDU: 6A80
Simply comment out all the content in your applet's constructor and try to isolate the cause by adding line by line with a new installation attempt every time. This is quite straight forward to identify the issue - which is most likely a method or class not supported by that particular SIM.
If the installation fails already with empty constructor you may have wrong installation parameters (e.g. double check all three AIDs).