I'm trying to do Host card based emulation,HCE using this example for ACR 1281U Nfc card reader.
The tutorial Suggest to use nfctools to read logs when connected to the reader b using the command
java -cp "C:\DATA\setups\ACR1281U-C1 SDK v1.0\nfctools-examples.jar" org.nfctools.examples.hce.HceDemo
But the error I get is on my windows 7 system
C:\DATA\setups\ACR1281U-C1 SDK v1.0\nfctools-examples\org\nfctools\examples\hce>
java -cp "C:\DATA\setups\ACR1281U-C1 SDK v1.0\nfctools-examples.jar" org.nfctool
s.examples.hce.HceDemo
Jan 08, 2015 12:17:29 AM org.nfctools.scio.TerminalHandler getAvailableTerminal
INFO: Checking terminal: ACS ACR1281 1S Dual Reader ICC 0
Jan 08, 2015 12:17:29 AM org.nfctools.scio.TerminalHandler getAvailableTerminal
INFO: Checking terminal: ACS ACR1281 1S Dual Reader PICC 0
Jan 08, 2015 12:17:29 AM org.nfctools.scio.TerminalHandler getAvailableTerminal
INFO: Checking terminal: ACS ACR1281 1S Dual Reader SAM 0
Exception in thread "main" java.lang.IllegalArgumentException: No supported card
terminal found. Available Terminals [ACS ACR1281 1S Dual Reader ICC 0] [ACS AC
R1281 1S Dual Reader PICC 0] [ACS ACR1281 1S Dual Reader SAM 0]
at org.nfctools.scio.TerminalHandler.getAvailableTerminal(TerminalHandle
r.java:59)
at org.nfctools.examples.TerminalUtils.getAvailableTerminal(TerminalUtil
s.java:34)
at org.nfctools.examples.TerminalUtils.getAvailableTerminal(TerminalUtil
s.java:26)
at org.nfctools.examples.hce.HceDemo.run(HceDemo.java:10)
at org.nfctools.examples.hce.HceDemo.main(HceDemo.java:16)
In one of the comments on blog some one mentions " Do you have pcsc installed? Java can only access the reader using a smartcard interface."
- Please suggest what is pcsc and I how can I make this work ?
- How can I find out what AID should I register in my project which coresponds to my reader?
There are hardly any resources on HCE and I'm not able to find any solution to this.
Thanks!