frankmorgner / vsmartcard

umbrella project for emulation of smart card readers or smart cards
http://frankmorgner.github.io/vsmartcard/
712 stars 200 forks source link

Can i use it just like nfcgate? #259

Closed RandLily closed 8 months ago

RandLily commented 9 months ago

A great project! Can i use it just like nfcgate? One Android device operates as a "reader" reading an NFC tag, the other Android device emulates an NFC tag using the Host Card Emulation。How can i do this? I found that there are two apks(smart card reader & smart card emulator),but I don't know how to use the pcsc-relay......the "ReadMe" confuses me, should I have to use a plug-in hardware to do relaying?

frankmorgner commented 8 months ago

It doesn't work directly. What you could do is the following:

  1. Use "Remote Reader" to connect your tag to a PC that has the virtual reader installed (This is the intended functionality of the app)
  2. Use "pcsc-relay --emulator vpcd" to forward exactly that reader to the Emulator App as described here https://frankmorgner.github.io/vsmartcard/pcsc-relay/README.html#hints-on-android-smart-card-emulator