[Muscle] How can I know what's the type of a card through it's ATR?

Michael Bender Michael.Bender at Sun.COM
Thu Jan 15 00:35:04 PST 2009


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

> 2009/1/15 lion <yjfpb04 at 163.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



More information about the Muscle mailing list