Friday, October 10, 2014

The Absolute Simplest HCE "Pay" Application Enablement


Most of the code below relates to GUI messaging,  but this Android app is full HCE for a Cloud Based Payments card.  It is a total of 201 lines of code including comments, and line spaces. It is a single class application for simplicity.
The goal is to show that the libraries for managing CBP on the mobile app are lightweight for developers to use.
The libs are designed to be placed into ANY application that may want to enable CBP.  The one below is about the simplest integration.
The full application is called SimplestTapp and can be downloaded and tested here:
http://wiki.simplytapp.com/home/self-driven-hce-pilot/make-a-payment-card/simplytapp-s-vcbp-changelog/software-dev-kits/mobile-sdk

it also may be good to view this help resource for creating and managing the card perso and lifecycle in the cloud:
http://wiki.simplytapp.com/home/using-admin-api-console

The core of the card download and enablement is really contained in this section.  This section instantiates a VirtualCard that will be loaded from the remote server.  In order to instantiate the CBP card, you will see that there are some required credential information because a request will be made to the CBP server to retrieve the card that will be used.
The data in the snippet is sample data only.

The AsyncTask is used because the load() method makes network calls and can't be run on the UI thread.

        // Create a card with data from AdminApi console
        // See wiki for help:
        // http://wiki.simplytapp.com/home/using-admin-api-console
        //
        // Values are found within your AdminApi Console. Click Get APP
        // Credentials.
        //
        // card agent code hash is found inside the Issuer Entity portion of the
        // web portal
        //
        final VirtualCard card = VirtualCardBuilder
                .cardId("5901")
                .mobileAppConsumerKey(
                        "oJmqoey7I97FBOZQDXoH0A9RbM7BciXbD8CHZDMU")
                .mobileAppConsumerSecret(
                        "ugTD5dGjBUEC1pyzxjMNtw6k9TUocGtY4plta9he")
                .walletAccessToken("O15F4jG3PcwC44NpkfEqv1ZD7tjNo5NhGpHHFEax")
                .walletTokenSecret("Ur504iPQn2lxgsS5fVBycf2zK9uuSglppvn2mBa3")
                .cardAgentCodeHash("aa4185c2364048447a38aa02499a9897")
                .context(this).build();

        // now load the card...
        // this requires network connectivity and is blocking
        // so we must use AsyncTask to avoid running this in UI thread
        //
        new AsyncTask() {
            @Override
            protected Void doInBackground(Void... params) {
                try {
                    myActivity.postUi("=================================="
                            + "\n" + "=====Loading Card From Server====="
                            + "\n" + "=================================="
                            + "\n");
                    card.load();
                } catch (IOException ex) {
                    Log.e(TAG, "Failed to load", ex);
                }
                return (Void) null;
            }
        }.execute();

 Once the VirtualCard successfully loads, it has a mind of it's own and will perform all activities related to making a successful payment when requested to do so.  For this, the feedback mechanism from the card to the mobile application is a messaging interface and should be defined in a block similar to the one below.  You will notice that the block below is responsible for handling feedback from the card and also notifying the card to activate after it was successfully created:

    // define the message default card message handler
    // and set it in the lib
    static {
        VirtualCardMessaging virtualCardMessenger = new VirtualCardMessaging() {
            @Override
            public void virtualCardMessage(VirtualCardMessaging.Message message) {
                switch (message.getCode()) {
                case VirtualCardMessaging.CARD_CREATION_COMPLETED:
                    try {
                        // when card is created, then activate the card agent,
                        // then connect it to the ApduService,
                        // then ask the user if they want this app the default
                        // app
                        // for servicing the reader
                        message.getVirtualCard().activate();
                        ApduService.setVirtualCard(message.getVirtualCard());
                        myActivity.postUi("========================"
                                + "\n"
                                + "=====Card Created======="
                                + "\n"
                                + "========================"
                                + "\n"
                                + "==Card Id: "
                                + message.getVirtualCard().getVirtualCardId()
                                + "\n"
                                + "==Num: "
                                + message.getVirtualCard()
                                        .getVirtualCardNumber()
                                + "\n"
                                + "==Card Exp: "
                                + message.getVirtualCard()
                                        .getVirtualCardExpDate() + "\n"
                                + "==Card Type: "
                                + message.getVirtualCard().getVirtualCardType()
                                + "\n" + "==Card Logo: "
                                + message.getVirtualCard().getVirtualCardLogo()
                                + "\n");
                        myActivity.postUi("========================" + "\n"
                                + "=====Card Activating====" + "\n"
                                + "========================" + "\n");
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
                    break;
                case VirtualCardMessaging.CARD_ACTIVATE_COMPLETED:
                    myActivity.postUi("========================" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n"
                            + "=====Card Activated=====" + "\n"
                            + "=====Ready To Tap=======" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n");
                    break;
                case VirtualCardMessaging.TRANSACTION_ENDED:
                    myActivity.postUi("========================" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n"
                            + "===Ready To Tap Again====" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n");
                    break;
                default:
                    break;
                }

                // log the message
                Log.d(TAG,
                        message.getMessage() + " cardId="
                                + message.getVirtualCardId() + " code="
                                + message.getCode());
                myActivity.postUi(message.getMessage() + " cardId="
                        + message.getVirtualCardId() + " code="
                        + message.getCode() + "\n");
            }

        };

        // set the default messenger
        VirtualCard.setDefaultVirtualCardMessaging(virtualCardMessenger);
    }


You will notice above that the messaging loop is logging all messages from the card and printing them to the screen of the app and the debugger.  This can give you an idea of the events the card notifies the app.  As far as API requests to the card from the app, the VirtualCard library contains many methods.  Here is the JavaDoc:
http://simplytapp.github.io/android/virtualcard/doc/

Full activity class code for this example:

package com.simplytapp.example.simplesttapp;

import java.io.IOException;

import com.simplytapp.virtualcard.ApduService;
import com.simplytapp.virtualcard.VirtualCard;
import com.simplytapp.virtualcard.VirtualCardBuilder;
import com.simplytapp.virtualcard.VirtualCardMessaging;

import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.nfc.NfcAdapter;
import android.nfc.cardemulation.CardEmulation;
import android.os.AsyncTask;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;
import android.util.Log;
import android.widget.TextView;

public class MainActivity extends Activity {
    private static final String TAG = MainActivity.class.getSimpleName();
    private static MainActivity myActivity = null;
    private TextView tv = null;

    // this method posts strings to the textview box in the UI thread
    private void postUi(final String t) {
        new Runnable() {
            public void run() {
                runOnUiThread(new Runnable() {
                    public void run() {
                        tv.append(t);
                        if (tv.getLayout() != null) {
                            // auto-scroll vertically
                            final int scrollAmount = tv.getLayout().getLineTop(
                                    tv.getLineCount())
                                    - tv.getHeight();
                            // if there is no need to scroll, scrollAmount will
                            // be <=0
                            if (scrollAmount > 0)
                                tv.scrollTo(0, scrollAmount);
                            else
                                tv.scrollTo(0, 0);
                        }
                    }
                });
            }
        }.run();
    }

    // define the message default card message handler
    // and set it in the lib
    static {
        VirtualCardMessaging virtualCardMessenger = new VirtualCardMessaging() {
            @Override
            public void virtualCardMessage(VirtualCardMessaging.Message message) {
                switch (message.getCode()) {
                case VirtualCardMessaging.CARD_CREATION_COMPLETED:
                    try {
                        // when card is created, then activate the card agent,
                        // then connect it to the ApduService,
                        // then ask the user if they want this app the default
                        // app
                        // for servicing the reader
                        message.getVirtualCard().activate();
                        ApduService.setVirtualCard(message.getVirtualCard());
                        myActivity.postUi("========================"
                                + "\n"
                                + "=====Card Created======="
                                + "\n"
                                + "========================"
                                + "\n"
                                + "==Card Id: "
                                + message.getVirtualCard().getVirtualCardId()
                                + "\n"
                                + "==Num: "
                                + message.getVirtualCard()
                                        .getVirtualCardNumber()
                                + "\n"
                                + "==Card Exp: "
                                + message.getVirtualCard()
                                        .getVirtualCardExpDate() + "\n"
                                + "==Card Type: "
                                + message.getVirtualCard().getVirtualCardType()
                                + "\n" + "==Card Logo: "
                                + message.getVirtualCard().getVirtualCardLogo()
                                + "\n");
                        myActivity.postUi("========================" + "\n"
                                + "=====Card Activating====" + "\n"
                                + "========================" + "\n");
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
                    break;
                case VirtualCardMessaging.CARD_ACTIVATE_COMPLETED:
                    myActivity.postUi("========================" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n"
                            + "=====Card Activated=====" + "\n"
                            + "=====Ready To Tap=======" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n");
                    break;
                case VirtualCardMessaging.TRANSACTION_ENDED:
                    myActivity.postUi("========================" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n"
                            + "===Ready To Tap Again====" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n"
                            + "========================" + "\n");
                    break;
                default:
                    break;
                }

                // log the message
                Log.d(TAG,
                        message.getMessage() + " cardId="
                                + message.getVirtualCardId() + " code="
                                + message.getCode());
                myActivity.postUi(message.getMessage() + " cardId="
                        + message.getVirtualCardId() + " code="
                        + message.getCode() + "\n");
            }

        };

        // set the default messenger
        VirtualCard.setDefaultVirtualCardMessaging(virtualCardMessenger);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        myActivity = this;
        tv = (TextView) findViewById(R.id.textView1);
        tv.setMovementMethod(new ScrollingMovementMethod());

        // try to set this app as the default HCE application app
        CardEmulation cardEmulationManager = CardEmulation
                .getInstance(NfcAdapter.getDefaultAdapter(this));
        ComponentName paymentServiceComponent = new ComponentName(
                getApplicationContext(), ApduService.class.getCanonicalName());

        if (!cardEmulationManager.isDefaultServiceForCategory(
                paymentServiceComponent, CardEmulation.CATEGORY_PAYMENT)) {
            Intent intent = new Intent(CardEmulation.ACTION_CHANGE_DEFAULT);
            intent.putExtra(CardEmulation.EXTRA_CATEGORY,
                    CardEmulation.CATEGORY_PAYMENT);
            intent.putExtra(CardEmulation.EXTRA_SERVICE_COMPONENT,
                    paymentServiceComponent);
            startActivityForResult(intent, 0);
        }

        // Create a card with data from AdminApi console
        // See wiki for help:
        // http://wiki.simplytapp.com/home/using-admin-api-console
        //
        // Values are found within your AdminApi Console. Click Get APP
        // Credentials.
        //
        // card agent code hash is found inside the Issuer Entity portion of the
        // web portal
        //
        final VirtualCard card = VirtualCardBuilder
                .cardId("5901")
                .mobileAppConsumerKey(
                        "oJmqoey7I97FBOZQDXoH0A9RbM7BciXbD8CHZDMU")
                .mobileAppConsumerSecret(
                        "ugTD5dGjBUEC1pyzxjMNtw6k9TUocGtY4plta9he")
                .walletAccessToken("O15F4jG3PcwC44NpkfEqv1ZD7tjNo5NhGpHHFEax")
                .walletTokenSecret("Ur504iPQn2lxgsS5fVBycf2zK9uuSglppvn2mBa3")
                .cardAgentCodeHash("aa4185c2364048447a38aa02499a9897")
                .context(this).build();

        // now load the card...
        // this requires network connectivity and is blocking
        // so we must use AsyncTask to avoid running this in UI thread
        //
        new AsyncTask() {
            @Override
            protected Void doInBackground(Void... params) {
                try {
                    myActivity.postUi("=================================="
                            + "\n" + "=====Loading Card From Server====="
                            + "\n" + "=================================="
                            + "\n");
                    card.load();
                } catch (IOException ex) {
                    Log.e(TAG, "Failed to load", ex);
                }
                return (Void) null;
            }
        }.execute();

    }

}

93 comments:

  1. Hi Doug, we are trying to implement HCE using SimplyTapp and getting BAD_CREDENTIAL error while trying to load card. Below is my code snippet, your help would be appreciable. Thanks

    final VirtualCard card = VirtualCardBuilder
    .cardId("446")
    .mobileAppConsumerKey(
    "USDzf9qamTyTYfqYD1el2Oq2wlcEuHF2SfeENYLN")
    .mobileAppConsumerSecret(
    "Iqu7YLaNDPSacMIfQXUE66MmFQg1WogS6RwccLkv")
    .walletAccessToken("GEwD0huz2NZ132rFrF9sSSqnsxGx2LAWCcrViFRt")
    .walletTokenSecret("TUywzsxHGTDkk0z6qw3M4uOhbBDrUzSokOrVJErK")
    .cardAgentCodeHash("a12d08522c8a0026f85e5bb1f1a108f6")
    .context(this).build();

    ReplyDelete
    Replies
    1. Great Article
      android based projects





      Java Training in Chennai

      Project Center in Chennai

      Java Training in Chennai

      projects for cse



      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. looking at the DB, it looks like the access token and secret you have are for your issuer entity specific card Access Token and secret. also it looks like your cardId is wrong. looking at the db, i think the call should be:

    final VirtualCard card = VirtualCardBuilder
    .cardId("6069")
    .mobileAppConsumerKey(
    "USDzf9qamTyTYfqYD1el2Oq2wlcEuHF2SfeENYLN")
    .mobileAppConsumerSecret(
    "Iqu7YLaNDPSacMIfQXUE66MmFQg1WogS6RwccLkv")
    .walletAccessToken("hq11CShDLvukQUZwmhoQ17eJzBoXdLCPWLRrAlEM")
    .walletTokenSecret("7vYxPf5r84BbCkEOOmFjwNb4rQqZwQLhk0pdMCVu")
    .cardAgentCodeHash("a12d08522c8a0026f85e5bb1f1a108f6")
    .context(this).build();

    ReplyDelete
    Replies
    1. Thanks for your reply Doug, its working fine now :) .

      Delete
  3. Hi Doug, now am able to load the card in my Android app using the steps you have given in this link. I also want to develop an app which acts as a NFC terminal and communicates with the VirtualCard created above and completes the transaction successfully. Can you please provide me any link which I can go through to achieve this?

    Thanks,
    Pradeep.

    ReplyDelete
  4. https://github.com/SimplyTapp/SoftTerminal

    ReplyDelete
  5. Hi Doug, Thanks for the link. The source code seems to be java lib, any sample Android app which uses this java lib to interact with the virtual card over NFC?

    Also I have written an Android app as a terminal to interact with my card over NFC. The terminal app is able to read "PPSE if I send Ppse Aid" and "Card Applet if I send Card Aid" from my Virtual Card app running on another phone. But to complete the transaction I should be able to read "processing options" and "record data" as well which am not able to. Please guide me how I can read the "processing options" and "record data" of the virtual card to complete the transaction. Below are the Aids am sending over NFC to read the Ppse and card applet value from my terminal.

    private static final byte[] AID_ANDROID = { (byte)0xA0, 0x00, 0x00, 0x00, 0x03, 0x10, 0x10 };
    private static final byte[] PPSE_ANDROID = { (byte)0x32, 0x50, 0x41, 0x59, 0x2E, 0x53, 0x59, 0x53, 0x2E, 0x44, 0x44, 0x46, 0x30, 0x31 };


    Thanks.

    ReplyDelete
  6. Hi Doug,
    I am able to read the VirtualCard data(Ppse, Card Aid, Processing options and Record data) from my terminal app running on another phone over NFC. But I have a requirement where I need to read all the above data(Ppse, Card Aid, Processing options and Record data) from VirtualCard object in the same app. Can you guide me how I can achieve this?

    Thanks,
    Pradeep.

    ReplyDelete
  7. Hi Doug, in the example above inside virtualCardMessage() function am getting ApprovalData as null when I try accessing it by message.getApprovalData() . Can you help me how I can get ApprovalData of a VirtualCard object.

    Thanks,
    Pradeep.

    ReplyDelete
  8. using ApprovalData:

    2) using callback from agent to mobile app:

    agent calls:

    postMessage(String msg, boolean getApproval, ApprovalData approvalData)

    msg can be any string

    getApproval should be true

    ApprovalData should be:

    ApprovalData myData = new ApprovalData(new ApprovalData.StringData(-1,-1,0))

    that passes an object that is requesting a String from the mobile app that can be any length and any characters



    this message actually goes to the mobile application is a message through the VirtualCardInterface defined at the creation of new VirtualCard(...)

    you can filter for message: VirtualCardInterface.POST_MESSAGE

    if(message.getCode()==VirtualCardInterface.POST_MESSAGE)

    {

    //a post message from the agent is here

    ApprovalData approvalData = message.getApprovalData();

    ApprovalData.StringData sd = (ApprovalData.StringData)approvalData.getApprovalData();

    sd.setAnswer("my answer");

    //then send this back to the agent

    virtualCard.messageApproval(true, approvalData);

    }



    this "virtualCard.messageApproval(...)" will trigger messageApproval(boolean approved,ApprovalData approvalData) agent method. so the agent code should have this:

    @Override

    public void messageApproval(boolean approved,ApprovalData approvalData){

    //check my answer from the app:

    ApprovalData.StringData sd = (ApprovalData.StringData)approvalData.getApprovalData();

    String answer = sd.getAnswer();

    //now answer contains string data from the application.

    }

    ReplyDelete
  9. Using SoftPCD interface to read an interac flash card:

    SoftPcd softPcd = new SoftPcd((short)5000);
    try {
    virtualCard.transactWithSoftPcd(softPcd);
    } catch (IOException e) {
    e.printStackTrace();
    }
    try {
    softPcd.connect();
    byte[] apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xA4,0x04,0x00,0x05,(byte)0x32,0x50,0x41,0x59,(byte)0x2E});
    apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xA4,0x04,0x00,0x07,(byte)0xA0,0x00,0x00,0x02,0x77,0x10,0x10,0x00});
    apdu = softPcd.transceiveWithCard(new byte[]{(byte)0x80,(byte)0xA8,0x00,0x00,0x15,(byte)0x83,0x13,(byte)0xD0,(byte)0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
    0x01,0x01,0x24,0x01,0x24,0x02,0x66,0x33,(byte)0x82,0x01,0x00});
    apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x01,0x0C,0x00});
    apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x01,0x14,0x00});
    apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x02,0x14,0x00});
    apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x03,0x14,0x00});
    apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x04,0x14,0x00});
    apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xB2,0x01,0x1C,0x00});
    apdu = softPcd.transceiveWithCard(new byte[]{(byte)0x80,(byte)0xAE,(byte)0x80,0x00,0x2A,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x24,
    0x00,(byte)0x80,0x00,(byte)0x80,0x00,0x01,0x24,0x13,0x06,0x27,0x00,0x02,0x66,0x33,(byte)0x82,0x00,0x00,0x00,0x00,
    0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x00,0x00,0x00});
    softPcd.disconnect();
    } catch (IOException e) {
    e.printStackTrace();
    }



    ReplyDelete
  10. Hi Doug, thanks for your response. As specified above I am using SoftPcd to read card data, unfortunately 2 crashes are getting reported in the app
    1 . One crash is seen after loading the card, I had never come across this crash before. Below is the stacktrace which points to the cardagent :

    W/dalvikvm( 9324): threadid=17: thread exiting with uncaught exception (group=0x41efec08)
    D/MainActivity( 9324): Account is Disabled cardId=6164 code=24
    D/MainActivity( 9324): Account is Disabled cardId=6164 code=24
    E/AndroidRuntime( 9324): FATAL EXCEPTION: Thread-2714
    E/AndroidRuntime( 9324): Process: com.example.sampletapp, PID: 9324
    E/AndroidRuntime( 9324): java.lang.NullPointerException
    E/AndroidRuntime( 9324): at com.simplytapp.cardagent.c.run(SourceFile:1794)
    E/AndroidRuntime( 9324): at java.lang.Thread.run(Thread.java:841)
    W/ActivityManager( 3042): Force finishing activity com.example.sampletapp/.MainActivity
    I/CardAgent( 9324): activated, tGetAccountParams is still accessing remote card applet, waiting...
    I/ServiceKeeper( 3042): In getseinfo pid = 3042 uid = 1000 seinfo= system
    D/CrashAnrDetector( 3042): processName: com.example.sampletapp
    D/CrashAnrDetector( 3042): broadcastEvent : com.example.sampletapp data_app_crash
    W/ApplicationPackageManager( 3042): getCSCPackageItemText()
    V/SmartFaceService - 3rd party pause( 3042): onReceive [android.intent.action.ACTIVITY_STATE/com.example.sampletapp/pause]
    D/SSRMv2:CustomFrequencyManagerService( 3042): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1200000 uid : 1000 pid : 3042 pkgName : ACTIVITY_RESUME_BOOSTER@4
    W/ActivityManager( 3042): mDVFSHelper.acquire()

    2 . Another crash is found for the code
    byte[] apdu = softPcd.transceiveWithCard(new byte[]{0x00,(byte)0xA4,0x04,0x00,0x05,(byte)0x32,0x50,0x41,0x59,(byte)0x2E});

    and below is the stacktrace.

    I/CardAgent( 9324): activated, tGetAccountParams is still accessing remote card applet, waiting...
    I/System.out( 9845): Thread-2815(HTTPLog):SmartBonding Enabling is false, log to file is false, DBG is false
    W/System.err( 9324): java.io.IOException: PCD_TIMEOUT
    W/System.err( 9324): at com.simplytapp.virtualcard.SoftPcd.transceiveWithCard(SourceFile:94)
    W/System.err( 9324): at com.example.sampletapp.MainActivity.readCardData(MainActivity.java:149)
    W/System.err( 9324): at com.example.sampletapp.MainActivity.access$400(MainActivity.java:23)
    W/ActivityManager( 3042): destPackageName = null
    W/System.err( 9324): at com.example.sampletapp.MainActivity$3.doInBackground(MainActivity.java:227)
    W/System.err( 9324): at com.example.sampletapp.MainActivity$3.doInBackground(MainActivity.java:218)
    W/System.err( 9324): at android.os.AsyncTask$2.call(AsyncTask.java:288)
    W/System.err( 9324): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    W/System.err( 9324): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    W/System.err( 9324): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    W/System.err( 9324): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    W/System.err( 9324): at java.lang.Thread.run(Thread.java:841)


    Hope I am not disturbing you much, your help would be greatly appreciated.

    Thanks,
    Pradeep.

    ReplyDelete
  11. both of these appear to happening in the cardAgent. the latter is a timeout that is quite normal if the card Agent does not respond. the former looks like a card agent code side bug.

    ReplyDelete
  12. Hi Doug, thanks for your quick response. Can PCD_TIMEOUT issue be fixed by increasing timeout while creating SoftPcd instance ? I never faced first issue before, these 2 issues have become a blocker for our development, your suggestions would help me in a great way.

    Thank,
    Pradeep.

    ReplyDelete
  13. Hi Doug, PCD_TIMEOUT issue is fixed but first issue still persists. softPcd.transceiveWithCard() API is returning same value for all the inputs that I pass. If I convert byte array returned to Hex string its 6F00 in all the cases, any pointers on this?

    Thanks,
    Pradeep.

    ReplyDelete
  14. Hi Doug
    The link below describes an interesting and simple service issuers could offer to their existing cardholders.

    https://www.dropbox.com/s/k933b6g317aw4z1/Virtual%20Temporary%20Supplementary%20Card%20Concept%20Description.pdf?dl=0

    Take a look and let me know your feedback

    Milos

    ReplyDelete
  15. Hi Milos

    I would be interested in that document.

    Unfortunately the link you provided does not work.

    Regards,
    Diego

    ReplyDelete
  16. CIITN is located in Prime location in Noida having best connectivity via all modes of public transport. CIITN offer both weekend and weekdays courses to facilitate Hadoop aspirants. Among all Hadoop Training Institute in Noida , CIITN's Big Data and Hadoop Certification course is designed to prepare you to match all required knowledge for real time job assignment in the Big Data world with top level companies. CIITN puts more focus in project based training and facilitated with Hadoop 2.7 with Cloud Lab—a cloud-based Hadoop environment lab setup for hands-on experience.

    CIITNOIDA is the good choice for Big Data Hadoop Training in NOIDA in the final year. I have also completed my summer training from here. It provides high quality Hadoop training with Live projects. The best thing about CIITNOIDA is its experienced trainers and updated course content. They even provide you placement guidance and have their own development cell. You can attend their free demo class and then decide.

    Hadoop Training in Noida
    Big Data Hadoop Training in Noida

    ReplyDelete
  17. This hacking app is easy to use https://cellspyapps.org/how-to-hack-an-iphone/! And you can get a lot of effort!

    ReplyDelete
  18. I'm shakshi.I am working in India top most Escort serviceEscort service in Mumbai.If u want to join the all facility of escortsEscort service in Bhubaneswar.pls call me & whatssapEscort service in Puri
    visit the sites.Escort service in Cuttack

    ReplyDelete
  19. I can only express a word of thanks. Because with the content on this blog I can add knowledge I, thank has been sharing this information. Do not forget to visit our website to share information hotele

    ReplyDelete
  20. It is not simple as for me. But you should check a masterwriter jobs. You will find something.

    ReplyDelete
  21. I was very happy to find this site. I really enjoyed reading this article today and think it might be one of the best articles I have read so far. I wanted to thank you for this excellent reading !! I really enjoy every part and have bookmarked you to see the new things you post. Well done for this excellent article. Please keep this work of the same quality.
    Data Science Course in Bangalore

    ReplyDelete
  22. Firmware file is a set of instructions programmed on a hardware device. So if you are facing any issues in your smartphone like the application stopped working, IMEI issues, and dead issues, you can download flash files to fix the issues. It is unique for every phone Y51l volte

    ReplyDelete
  23. While working on QuickBooks accounting software user can face some errors which obstructs users from working smoothly. You can read our articles to solve all your errors through our blog QB Tool Hub.

    ReplyDelete
  24. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    data scientist course in bangalore

    ReplyDelete
  25. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
    Data Science Course in Bangalore

    ReplyDelete
  26. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data analytics courses in bangalore

    ReplyDelete
  27. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    best data science courses in bangalore

    ReplyDelete
  28. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data science in bangalore

    ReplyDelete
  29. I just got to this amazing site not long ago. I was actually captured with the piece of resources you have got here. Big thumbs up for making such wonderful blog page!
    data analytics course in bangalore

    ReplyDelete
  30. Thanks for posting the best information and the blog is very helpful.digital marketing institute in hyderabad

    ReplyDelete
  31. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    data scientist course in bangalore

    ReplyDelete
  32. Nice Information. Thanks for sharing.
    Crop cum Cobble Shears are one of our most popular products, and we are a leading producer and exporter of them. Under the guidance of our professional specialists, the provided cobble shears are crafted and constructed using the highest quality materials and advanced equipment and techniques. These cobble shears are used in the car, manufacturing, and other mechanical industries to cut bars and rods continuously at predetermined cutting points. Crop cum Cobble Shears are available in a variety of styles and power ratings, all at affordable prices.

    ReplyDelete
  33. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data science course

    ReplyDelete
  34. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    Data Science Training in Chennai

    ReplyDelete
  35. While working on QuickBooks accounting software user can face some errors which obstructs users from working smoothly. You can read our articles to solve all your errors through our blog initial necklace usa , initial necklace wholesale france

    ReplyDelete
  36. I am a new user of this site, so here I saw several articles and posts published on this site, I am more interested in some of them, hope you will provide more information on these topics in your next articles.
    data analytics training in bangalore

    ReplyDelete
  37. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    artificial intelligence training in chennai

    ReplyDelete
  38. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    Data Science Course Syllabus

    ReplyDelete
  39. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
    Best Data Science courses in Hyderabad


    ReplyDelete
  40. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    artificial intelligence training in chennai

    ReplyDelete
  41. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data science training in chennai

    ReplyDelete
  42. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    Data Science Course Syllabus

    ReplyDelete
  43. Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine.
    business analytics course

    ReplyDelete
  44. Great to become visiting your weblog once more, it has been a very long time for me. Pleasantly this article i've been sat tight fosuch a long time. I will require this post to add up to my task in the school, and it has identical subject along with your review. Much appreciated, great offer. data science course in nagpur

    ReplyDelete
  45. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data science course in jaipur

    ReplyDelete
  46. Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. A debt of gratitude is in order for sharing. python course in delhi

    ReplyDelete
  47. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data science course

    ReplyDelete
  48. Thanks for posting the best information and the blog is very good.Cloud Computing course in Bangalore

    ReplyDelete
  49. We are an astrology firm initiated in 1999 as Bajrangi Dham, and now we are known as Bajrangi Astro. If you are to meet a Love marriage Astrologer in astrology or any life issue, you can get the correct astrological solutions to all your questions. Contact us via mail or call. You can also book a direct appointment to know the chances of you marrying out of Love.

    ReplyDelete
  50. I am sure it will help many people. Keep up the good work. It's very compelling and I enjoyed browsing the entire blog.
    Business Analytics Course in Bangalore

    ReplyDelete
  51. I am really enjoying reading your well written articles. I am looking forward to reading new articles. Keep up the good work.
    Data Science Courses in Bangalore

    ReplyDelete
  52. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
    Data Analytics Course

    ReplyDelete
  53. What an incredible message this is. Truly one of the best posts I have ever seen in my life. Wow, keep it up.
    AI Courses in Bangalore

    ReplyDelete
  54. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    Data Science Course in Noida

    ReplyDelete
  55. This is really very nice post you shared, i like the post, thanks for sharing..
    data science training

    ReplyDelete
  56. Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. A debt of gratitude is in order for sharing. cloud computing course in bangalore

    ReplyDelete
  57. Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. A debt of gratitude is in order for sharing. cloud computing course in nagpur

    ReplyDelete
  58. Quickbooks tool hub is a combination of all the minor and major issues related to QuickBooks. Before the company was not introduced it the users needed to download different-different tools for the different-different issues. But now users only need to download the quickbooks tool hub it is a combination of tools.

    ReplyDelete
  59. This website is remarkable information and facts it's really excellent data science training in noida

    ReplyDelete
  60. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing. cyber security course in patna

    ReplyDelete
  61. A good blog always contains new and exciting information and as I read it I felt that this blog really has all of these qualities that make a blog. data scientist course in lucknow

    ReplyDelete
  62. Aw, this was a really nice post. In idea I wish to put in writing like this additionally ?taking time and actual effort to make a very good article? But what can I say? I procrastinate a lot and in no way appear to get one thing done.
    고스톱

    ReplyDelete
  63. Thank you for sharing your info. I truly appreciate your efforts and I
    will be waiting for your further write ups thanks once again.
    스포츠토토

    ReplyDelete
  64. He's really nice and mean. it's a really cool blog. The link is a very useful thing. You have really helped a lot of people who visit the blog and give them useful information. Data Science Training in Dombivli

    ReplyDelete
  65. I am very thankful for such a wonderful blog. It's very interesting to read and easy to understand. Thanks for sharing. I will visit your blog daily because I know. It may be very beneficial for me. If you want to Fix Common QuickBooks Pro Errors please contact QuickBooks team for instant help.

    ReplyDelete
  66. I really like reading a post that can make people think. Also, thank you for permitting me to comment!|data science training in jodhpur

    ReplyDelete
  67. Impressive. Your story always bring hope and new energy. Keep up the good work. Data Science Training in Chennai

    ReplyDelete
  68. This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.Data Analytics Course in Chennai

    ReplyDelete
  69. I have bookmarked your site since this site contains significant data in it. You rock for keeping incredible stuff. I am a lot of appreciative of this site.

    ReplyDelete
  70. Amazingly by and large very interesting post. I was looking for such an information and thoroughly enjoyed examining this one.
    Keep posting. An obligation of appreciation is all together for sharing.
    data science course in gwalior

    ReplyDelete
  71. Play the Best Slots at the Best Sites in 2021 - Airjordan2Remo
    Best online slots are authentic air jordan 18 retro men red developed by the best what is the best air jordan 18 retro men red software providers, offering them how to buy air jordan 18 retro yellow suede the where to get air jordan 18 retro men chance to win money and win where can i find air jordan 18 retro red real money, as well as winning

    ReplyDelete
  72. Wonderful blog post. It's absolute magic on your part! Hope you continue like this!
    Data Analytics Training in Bangalore

    ReplyDelete
  73. 360DigiTMG, the top-rated organisation among the most prestigious industries around the world, is an educational destination for those looking to pursue their dreams around the globe. The company is changing careers of many people through constant improvement, 360DigiTMG provides an outstanding learning experience and distinguishes itself from the pack. 360DigiTMG is a prominent global presence by offering world-class training. Its main office is in India and subsidiaries across Malaysia, USA, East Asia, Australia, Uk, Netherlands, and the Middle East.

    ReplyDelete
  74. I am another customer of this site so here I saw various articles and posts posted by this site,I curious more energy for some of them trust you will give more information further.https://360digitmg.com/course/data-analytics-using-python-r

    ReplyDelete
  75. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work
    data science course

    ReplyDelete
  76. A debt of gratitude is in order for giving late reports with respect to the worry, I anticipate read more. data analytics course in mysore

    ReplyDelete
  77. Superb Information, I really appreciated with it, This is fine to read and valuable pro potential, I really bookmark it, pro broaden read. Appreciation pro sharing. I like it. Data Analytics Course in Dehradun

    ReplyDelete
  78. We are grateful for your blog post. You will find a lot of approaches after visiting your post. Great work
    data science course in malaysia

    ReplyDelete
  79. Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. Data Science Course in Dehradun

    ReplyDelete
  80. I see some amazingly important and kept up to a length of your strength searching for in your on the site
    cyber security course malaysia

    ReplyDelete
  81. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. digital marketing training

    ReplyDelete

  82. It’s a very easy on the eyes which makes it much more pleasant for
    me to come here and visit more often. Did you hire out a developer to create your theme?
    Great work!


    Best website to Temporary USA Number You can use temporary USA number to get free SMS verification OTP codes.

    Best website to USA Temp Number You can use U.S.A. temp number to receive free SMS verification OTP codes for creating Discourd, Facebook, Instagram account without using your phone number.

    Best website to Temp Number USA You can use U.S.A. temp number to receive free SMS verification OTP codes for creating Discourd, Facebook, Instagram account without using your phone number.

    The best website to receive Temp SMS and Get your Temp SMS from United States, UK, Canada Numbers for FREE.

    If you get the best SEO agency in Erbil and Iraq, get in touch with Suncode Co. Erbil SEO Agency.

    Al Qurtas Islamic Bank is the best Bank in Iraq for Finance and Investment.

    Kurdtvs, Rudaw Live, Kurdmax Live, KurdSAT live tv channels Kurdmax Live

    Karoos Group is one of the leading distributors in the Kurdistan Region & Iraq for Medical Devices, Pharmaceuticals, Cosmetics, Vitamins, and Food supplements.

    ReplyDelete