I am writing an application to interact with smart card currently using Java. I have a OMRON V2BF series card reader. The application is run on Debian.
I have tried using Java Smart Card I/O API to try to establish connection to the smart card.
But I couldn't detect/get any card terminals using
TerminalFactory factory = TerminalFactory.getDefault();
List<CardTerminal> terminals = factory.terminals().list();
I also tried using "Press and activate(cold reset) ICC" by sending a command packet to OMRON reader, but the response is always "Negative".
May I know which part I did wrongly? Any advice would be greatly appreciated!