In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

Contactless Interface

JavaCard Applet Development Related Questions and Answers.
Posts: 16
Joined: Fri May 11, 2018 11:29 am
Points :324

Contactless Interface

Post by naresh » Wed Jul 04, 2018 9:59 am

Hello sir,
I want to Know whether my application used "CONTACTLESS INTERFACE" or NOT.


Posts: 36
Joined: Wed Nov 04, 2015 7:23 am
Points :254

Re: Contactless Interface

Post by BirdKing » Wed Jul 04, 2018 10:15 pm

On javacard, the API "APDU.getProtocol()" should help you to find which protocol.

Posts: 19
Joined: Wed Jun 20, 2018 4:06 am
Points :98

Re: Contactless Interface

Post by happy123654 » Thu Jul 05, 2018 4:02 am

static native byte javacard.framework.APDU.getProtocol ( )

Returns the ISO 7816 transport protocol type, T=1 or T=0 in the low nibble and the transport media in the upper nibble in use.
Returnsthe protocol media and type in progress Valid nibble codes are listed in PROTOCOL_* constants above. See PROTOCOL_T0.

public static final byte PROTOCOL_T0 = 0;
public static final byte PROTOCOL_T1 = 1;
public static final byte PROTOCOL_MEDIA_CONTACTLESS_TYPE_A = -128;
public static final byte PROTOCOL_MEDIA_CONTACTLESS_TYPE_B = -112;

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Google [Bot] and 5 guests

JavaCard OS : Disclaimer