Excited to tell you that our welfare activity has been upgraded - Paying only $5.00 + Freight to get JCOP J3H145 card and A40CR card.
Please check this post for more details.

Moreover, if you want to get Free Samples by Paying Freight only , please check this page.

Contactless Interface

JavaCard Applet Development Related Questions and Answers.
naresh
Posts: 20
Joined: Fri May 11, 2018 11:29 am
Points :378
Contact:

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.

Regards,
Naresh.

BirdKing
Posts: 41
Joined: Wed Nov 04, 2015 7:23 am
Points :294
Contact:

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.

happy123654
Posts: 29
Joined: Wed Jun 20, 2018 4:06 am
Points :162
Contact:

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: No registered users and 3 guests

JavaCard OS : Disclaimer