Hi,
I'm using the following smart card Thales IDCore 140C supporting Javacard 3.1 and extended apdu

and my applet implements ExtendedLength:
public class crypto_applet extends Applet implements ExtendedLength {
having
Card c = t.connect("*");
the following APDU command never reaches the process() method and gives me the error
[2025-09-09 21:36:13 556 CEST] [APDU-C] 80F20000 100[35C543FB74325D16D466E5C924370F1E44A4FE3D294ED5946E146A83213C3E601ACA2E5DBD97506CC171E59A3AA35FBA8CBDE44F48DB1961FDCFD11C0C74168A4277CE44233783905DD9DDDA5F2E4735AF01AD81E20AA8AFF642C71EA81C44D893FBEEB5B4809B05494BC48312CC4356C72E333B774F8CC0B75F9F6EA2EAF80D253FCBD4B91BCF4735D584EDFC768D1650BA78A3200A0C20C996E3DCE7C5758103E111618250E132BDE9DB2595811B9148D02049517826103110F035AE10F67DCEB778B5A66590DECDE0BBFB099D9F7A66C4ECC7F7926277B2DCEDC5A1DB553D16AC5A2D2E569842CF8206589D8F68CCC29F2A3766B7B5FA709B7E715C3D2612]
com.oracle.javacard.ams.script.ScriptFailedException: javax.smartcardio.CardException: Extended length forms not supported for T=0
at com.oracle.javacard.amservice/com.oracle.javacard.ams.script.APDUScript$APDUScriptCommand.run(APDUScript.java:70)
instead using
Card c = t.connect("T=1");
this is the error:
javax.smartcardio.CardException: connect() failed
at java.smartcardio/sun.security.smartcardio.TerminalImpl.connect(TerminalImpl.java:85)
at com.alstom.ertms.crypto.client.AMS_ERTMS_Crypto_Client.main(AMS_ERTMS_Crypto_Client.java:305)
Caused by: sun.security.smartcardio.PCSCException: SCARD_E_PROTO_MISMATCH
Instead I've no error using the simulator.
How can I solve the problem?
Thanks
Antonio