AndreasFagschlunger / O2Xfs

Java API for accessing CEN/XFS API, EMV Level 2 Kernel
47 stars 28 forks source link

PinGetDataTask can not receive Complete Event #53

Closed jifffffy closed 6 years ago

jifffffy commented 6 years ago

Hi, Long time no see!

I have a question about PinGetDataTask.

I need to set the PIN device auto end when user press all the keys. so I do the following: pinGetData.setActiveFDKs(activeFDKs); pinGetData.setMaxLen(funcKeyDetail.getFunctionKeys().size()); pinGetData.setAutoEnd(true);

But I can not get the complete event, the method fireOperationCompleteEvent not called. this method is called by getDataCommand.cancel(); as timeout reachs.

Is there something that I'm missing, What can I do to achieve my purpose? Thanks very much!

jifffffy commented 6 years ago

Oh ,sorry, I found the issue is funcKeyDetail.getFunctionKeys().size()