Hello

I am working with the ASEDrive iii serial drive reader and the ASECard
M64 (Free Access Memory Card).

This particular card uses a 2 wire Extended I2C protocol card. Based
on the memory card support document on the
Athena site http://www.athena-scs.com/product.asp?pid=11, I am
supposed to send a SCardControl command
to the card to tell the reader to treat it as  an XI2C card.


 rv = SCardControl(hCard, IOCTL_I2C_EXTENSION, NULL, 0, NULL, 0, &Len)

where IOCTL_I2C_EXTENSION is defined as SCARD_CTL_CODE(2050)

I send the above command  right after I have established context and
connected to the card via SCardConnect.
The Control command however returns an "Invalid parameter given" error.

I am unable to figure out how to get this working -- would appreciate
any help on
this . Also , is this command essential to get memory reading and
writing to work ?

Thanks for your help
Sujata
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to