Merge branch 'master' of github.com:Shadytel/sim-tools

master
Karl Koscher 10 years ago
commit 836f614d75
  1. 25
      README.md
  2. 4
      javacard/makefiles/applet-project.mk

@ -1,3 +1,26 @@
# Shadytel SIM Tools
Put README here.
## Creating JavaCard STK Applets
Use the hello-stk example to get started.
$ mkdir javacard
$ cd javacard
$ git clone https://github.com/Shadytel/sim-tools.git
$ git clone https://github.com/Shadytel/hello-stk.git
$ cd hello-stk
$ make
To install the applet onto a SIM card, first set the type of reader you are using.
# For PCSC readers:
$ export SHADYSIM_OPTIONS="--pcsc"
# For USB-serial readers:
$ export SHADYSIM_OPTIONS="--serialport /dev/ttyUSB0"
$ make install
The shadysim tool has lots of other options.
$ ./sim-tools/bin/shadysim --help

@ -31,8 +31,8 @@ install:
$(eval CAP_FILE := $(shell find $(BUILD_JAVACARD_DIR) -name *.cap))
$(eval MODULE_AID := $(shell echo $(APPLET_AID) | sed 's/0x//g' | sed 's/\://g'))
$(eval INSTANCE_AID := $(shell echo $(APPLET_AID) | sed 's/0x//g' | sed 's/\://g'))
python ../sim-tools/toorsimtool.py \
--serial /dev/ttyUSB0 \
../sim-tools/bin/shadysim \
$(SHADYSIM_OPTIONS) \
-l $(CAP_FILE) \
-i $(CAP_FILE) \
--enable-sim-toolkit \

Loading…
Cancel
Save