OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] How can I know what's the type of a card through it's ATR?

From: Michael Bender (Michael.Bendersun.com)
Date: Thu Jan 15 2009 - 02:35:04 CST


On Jan 15, 2009, at 12:26 AM, Ludovic Rousseau wrote:

> 2009/1/15 lion <yjfpb04163.com>:
>> I think I know more about these problem.
>>
>> TA2 is 0x81, So it's Specific mode and have the ability to change
>> mode through hot reset.
>> But, Fi Di != Fd Dd, so even if changed to Negotiate mode, the PTS
>> command won't be accepted still.
>>
>> And because TA2's bit5=0, so the Fi=9 and Di=5 will be used.
>>
>> In summary, the T=1 has been selected automatically after reset and
>> use Fi, Di(no more
>> Fd,Dd). So I needn't do anything after reset. Just send SELECT FILE
>> command.
>
> At the application level you do not have to deal with PTS and
> communication speed. It is the job of the card reader or of the card
> reader driver.

I think that Bob said that he was writing a driver, so maybe he means
that
he is writing a driver for a reader that communicates at the byte level?

mike

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle