OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Andrew Whitaker (andrewTTFN.NET)
Date: Fri Feb 09 2001 - 06:33:38 CST

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

    I don't understand why you can not use SmartCardT0/1Reply
    I have written a driver for an intelligent reader using the
    SmartcardT0Request to make up the packet and then after reading back my
    proprietary protocol just "copying" the data into the
    SmartcardExtension->SmartcardReply.Buffer
    then calling SmartcardT0Reply
    It seems to work fine.
    Am I missing something?

    ____________________
    Andrew Whitaker
    mailto:andrewttfn.net

    > -----Original Message-----
    > From: Derek Diamond [mailto:derekDIAMONDSOFTWARECONCEPTS.COM]
    > Sent: 09 February 2001 12:26
    > To: SmartCardDDKDISCUSS.MICROSOFT.COM
    > Subject: Getting transmit data back to the caller
    >
    >
    > I am writing a smartcard reader driver. The reader is fairly
    > intelligent in
    > that it handles Transmitting and receiving data to and from the Card
    > itself. All I need do is give it the data stream and read
    > back the reply.
    >
    > However how do I get the Smardcard library to pass back the
    > read back data
    > to the caller. I cannot use SmartCardT0/1Reply as these
    > expect the data to
    > be sent and received in chunks instead of one stream.
    >
    > I tried SmardCardRawReply in case, but still the data is not
    > sent back.
    > The data length of the reply is sent back correctly however.
    >
    > I checked after the call to SmartcardDeviceControl and the
    > returned data is
    > in the SystemBuffer and UserBuffer of the IRP. So it seems
    > the Library is
    > failing to pass back the reply to the calling code.
    >
    > Any Ideas will be most appreciated, as when this is handled
    > ny driver is
    > complete.
    >
    > regards
    >
    > Derek
    >