OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: APDU Reply Length

From: Scott Guthery (sgutheryMOBILE-MIND.COM)
Date: Thu Sep 04 2003 - 08:59:34 CDT


Offsets into records in record files and reading records longer than 256 bytes is
standardized in the most recent version of ISO/IEC 7816-4 (see "odd INS"). If
you can do with cards in the street today it will be by using proprietary methods.
 
Cheers, Scott

        -----Original Message-----
        From: Ryan Martin [mailto:ryan_martinCOX.NET]
        Sent: Thu 9/4/2003 9:50 AM
        To: SmartCardSDKDISCUSS.MICROSOFT.COM
        Cc:
        Subject: Re: APDU Reply Length
        
        

        Does this work using the READ RECORD command? I know I can pass the offset
        using a READ BINARY command but the card I have is set up in a record
        based file structure. When I issue a READ BINARY I get a 69 81
        error, 'Command incompatible with file structure,' the only working reads
        I can run are with READ RECORD.
        
        Thanks,
        
        
        
        
>Use the read command with the offset of the byte you want to start reading
>at and loop until you have the whole record 256 bytes at a time.