aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 7afb9a7654504accd4a33da4fb9da3f3b061a301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Shadytel SIM Tools

## 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