Skip to content

CadClientInterface.powerUp() hangs while connecting smart card #1

@alinaaldea

Description

@alinaaldea

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....

Capture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions