Re: Memory Card support under MUSCLE

2001-04-17 Thread Carlos Prados
On Tue, 17 Apr 2001, David Corcoran wrote: > Hello, > > The error is normal since the card really isn't being powered up. Memory > cards do not all have ATR's and some of them that do don't always follow a > particular pattern. In this case the debug message could be more descriptive, like: "S

Re: Memory Card support under MUSCLE

2001-04-17 Thread Carlos Prados
Hi, On Tue, 17 Apr 2001, David Corcoran wrote: > Hi, > > The ATR is parsed because the Resource Manager has to determine which > protocols can be used on the card and is in charge of sending a PTS when > the application has the choice of T=0 or T=1 and chooses the one that is > not default. The

Re: Memory Card support under MUSCLE

2001-04-17 Thread Andreas Schwier
Hi > The ATR is parsed because the Resource Manager has to determine which > protocols can be used on the card and is in charge of sending a PTS when > the application has the choice of T=0 or T=1 and chooses the one that is > not default. The driver could also do this instead of the RM but whe

Re: Memory Card support under MUSCLE

2001-04-17 Thread David Corcoran
Hi, The ATR is parsed because the Resource Manager has to determine which protocols can be used on the card and is in charge of sending a PTS when the application has the choice of T=0 or T=1 and chooses the one that is not default. The driver could also do this instead of the RM but when I prop

Re: Memory Card support under MUSCLE

2001-04-17 Thread David Corcoran
Hello, The error is normal since the card really isn't being powered up. Memory cards do not all have ATR's and some of them that do don't always follow a particular pattern. One way you can bypass this is to just return a bogus ATR such as 3B 00 or just 3B for every memory card that is inserte

Re: Memory Card support under MUSCLE

2001-04-17 Thread Carlos Prados
Hi, > it will make the return ATR length zero > This will cause EHSpawnEventHandler: power up fail The only issue is that the debug message Power Up Fail is printed. The card should work the same if you send the appropiate commands. However I also don't understand why the ATR is parsed by the p

Memory Card support under MUSCLE

2001-04-16 Thread Randy Chen (TP)
Hello,   I am writing a SmartCard reader driver under Linux. Now I will handle a Memory Card.   I found a problem After I return the ATR 92 23 10 91 After Pcsc-lite 0.8.4   LONG IFDStatusICC( PREADER_CONTEXT rContext, PDWORD pdwStatus, PDWORD pdwProtocol, PUCHAR pucAtr, PDWORD pdwAtrLen