|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Marc Jacquinot * (marc_at_JACQUINOT.COM)
Date: Fri Aug 23 2002 - 10:40:25 CDT
PCSC does not support synchronous protocols. Unless your memory card
supports T=0 or T=1 you need to go through proprietary smart card reader
drivers
Regards,
Marc
www.cardwerk.com
At 10:17 AM 8/23/02 -0400, you wrote:
>Hi.
> Does any one know how to read/write EEPROM memory card using SCard
>service ?
> It works fine with smart cards but there is very few information
>about memory cards.
> What I have found on MSDN is that I have to use SCardConnect
>with no protocol negotiation and than, some way,
>use "IOCTL_SMARTCARD_SET_PROTOCOL".
>Ok, here is my SCardConnect code:
>----------------------------------------------
>lReturn = SCardConnect( hContext,
> readerName,
> SCARD_SHARE_DIRECT,
> 0,
> hCardHandle,
> dwAP );
>----------------------------------------------
>After executing lReturn == SCARD_S_SUCCESS.
>Is it correct ?
>Than, they say, that I have to initialize raw protocol using
>SCardControl. Any idea how can I do that ?
>And finally , let's say read from 0xXX to 0xYY, or write ?
>Help appreciated :)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]