SCardSetVdd(couplerId, millivolts);
}
public static void main(String[] args) throws ScardException, CardException, IOException {
try {
Star265TerminalManager manager = new Star265TerminalManager();
List<GenericTerminal> terminals = manager.list();
terminals = manager.list();
terminals = manager.list();
if (0 == terminals.size()) {
System.out.println("Star265 terminal not detected.");
return;
}
//Star265Terminal star265 = (Star265Terminal) terminals.get(0);
GenericTerminal star265 = terminals.get(0);
terminals = manager.list();
star265.addLogHandler(new ScardPrintStreamLogHandler(System.out));
System.out.println("Please insert a card in terminal " + star265.getName());
while (false == star265.isCardPresent()) {
try {
Thread.sleep(200);