licel / jcardsim

https://jcardsim.org
222 stars 123 forks source link

Can jCardSim work with SEEK's emulator extension for SIM applet development? #69

Open bitsim-chris opened 9 years ago

bitsim-chris commented 9 years ago

Thanks for your great work on jCardSim.

The emulator extension of the SEEK project (see https://code.google.com/p/seek-for-android/wiki/EmulatorExtension) enables a patched SIM Toolkit system app to run in an Android emulator and talk to a real SIM card in a PCSC reader on the development PC.

Can this work in conjunction with jCardSim, where a SIM applet is developed in jCardSim rather than on a real SIM card?

Manouchehri commented 8 years ago

You can use @frankmorgner's PC/SC relay to interface with APDUs. Check the source code for ACardEmulator (which uses jCardSim on Android) as an example.

jCardSim -> PC/SC Relay -> SEEK (Android) or USB CCID (Linux/Windows)

frankmorgner commented 8 years ago

Yes, I can confirm this should work!

Manouchehri commented 8 years ago

@frankmorgner Do you have any suggestions on how to deal with debugging in that type of setup?

frankmorgner commented 8 years ago

well, hard to say. There are a lot of layers that provide a good amount of data. Depends on the actual problem to be solved.