OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Mirko Vallius (mirko.valliusSTYREX.SE)
Date: Tue Jan 15 2002 - 04:41:37 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi all!

    I am using the COM interfaces that came with Smart Card SDK to communicate
    with a card in our card reader. The reader is able to recognise and differ
    between APDUs that are addressed to the reader and standard APDUs that are
    adressed to the card. The PC treats both cases in the same way.

    When I send APDUs addressed to the card everything works fine because
    responses are quick. However, when I send reader specific commands, some of
    them take up to 1 minute to process, and I get an error.

    To communicate with the reader/card I use the ISCardCmd->Build to build the
    APDUs, and then the ISCard->Transaction to send the APDUs, and it is during
    the transaction part I get the HRESULT 0x80000079.

    Q1. What does this mean? I have not found it in scarderr.h or winerror.h.

    Q2. Is there a way to make the Transaction method to hold its reading of
    reply strings to allow longer response times? This would be ideal for me
    and solve my problem.

    Q3. Does anybody have other suggestions on how to solve the problems with
    long reply times?

    Any help would be really appreciated.

    /Mirko