I used following in the code to connect card and get channel
card = terminal.connect("T=1");
channel = card.getBasicChannel();
Here T=1 i.e. protocol is hardcoded. Is there any way from which we can find protocol of the card inserted in card reader ?
javacard.framework.APDU has method getProtocol() but I want protocol at the time of connecting with card.