I'm trying to develop a STK application but I don't know where to get the development kit. Right now for Javacard I'm getting the one from Oracle's website, but it doesn't have the sim.toolkit package.
I don't want to buy it from Gemalto, etc. Is there any "free" implementation?
I have found the ETSI - 3GPP a zip file with some code and libraries, but I don't know if this would be enough. Do I generate the cap/jar file from the code there?
Thanks
Essentially, the SIM Toolkit allows your phone's SIM to initiate and relay commands between your phone and network. Think of SIM Toolkit as a client-server relation where your phone acts as the client while the SIM card that inserted into a phone is server-side.
The Java Card Development Kit Tools is available for download at https://www.oracle.com/technetwork/java/embedded/javacard/overview/index.html . Download the Java Card Development Kit Tools . zip file to a directory of your choice.
Settings -> Wireless Settings -> Sim & Network Settings -> Click on a SIM (SIM 1 or SIM 2, this one is dual-SIM) -> Scroll to the bottom of the list and click on SIM Toolkit.
The files from 3GPP should be enough to complement the Javacard libraries that you've downloaded from Oracle.
Just as you need to know the Javacard version of your card, you need to know also what version of SIM API the card support. Check it againsts the 3GPP TS 03.19 that you've mentioned, or you may also check for 3GPP TS 43.019. Download the correct version.
Here is some steps I used to generate SIM API library:
43019-560.zip
fileAnnex_A_java.zip
under itAnnex_A_java
directorysim
foldersim.zip
extension to sim_v5.6.0.jar
Besides the JAR file, you also need to copy the export files (required when generating CAP file).
Annex_B_Export_Files.zip
Annex_B_Export_Files
directorysim
directory into your collection of export files directory.Hope it helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With