JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Contactless Interface
Contactless Interface
Hello sir,
I want to Know whether my application used "CONTACTLESS INTERFACE" or NOT.
Regards,
Naresh.
I want to Know whether my application used "CONTACTLESS INTERFACE" or NOT.
Regards,
Naresh.
Re: Contactless Interface
On javacard, the API "APDU.getProtocol()" should help you to find which protocol.
-
- Posts: 35
- Joined: Wed Jun 20, 2018 4:06 am
- Points :218
- Contact:
Re: Contactless Interface
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;
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;
Who is online
Users browsing this forum: No registered users and 72 guests