Hello. I am new to Java Smart card and I am trying to build a client to send APDU commands to my applet, which is another project.
My debug stops at cad.powerUp(), even though the cad object is created.
public void connect() throws Exception {
sock = new Socket("localhost", port);
sock.setTcpNoDelay(true);
BufferedInputStream is = new BufferedInputStream(sock.getInputStream());
BufferedOutputStream os = new BufferedOutputStream(sock.getOutputStream());
cad = new CadT1Client(is,os);
cad.powerUp(); //...hangs here for unlimited time
}
Do you have any idea why this might happen? Maybe I missed an intermediary step, something....

Hello. I am new to Java Smart card and I am trying to build a client to send APDU commands to my applet, which is another project.
My debug stops at cad.powerUp(), even though the cad object is created.
public void connect() throws Exception {
sock = new Socket("localhost", port);
sock.setTcpNoDelay(true);
BufferedInputStream is = new BufferedInputStream(sock.getInputStream());
BufferedOutputStream os = new BufferedOutputStream(sock.getOutputStream());
cad = new CadT1Client(is,os);
cad.powerUp(); //...hangs here for unlimited time
}
Do you have any idea why this might happen? Maybe I missed an intermediary step, something....