Re: Force SW1SW2 = &H9000 in GetResponse

[ Follow Ups ] [ BasicCard User Forum ]

Posted by juergenm ( on October 07, 2005 at 07:28:11:

In Reply to: Force SW1SW2 = &H9000 in GetResponse posted by daniele on September 26, 2005 at 08:51:10:


it is not recommended to use LE=xx in the card code. Either it should be set by the caller or
the caller should check SW1SW2 and should ignore 61xx codes.

Nevertheless your code works with T=1 protocol.
ZC4.5D default ATR indicates T=0 and T=1 therefore T=0 is selected.

You can change the ATR either by yourself or you can include the predifined T1Atr.bas from the BasicCardPro\pro folder.

Be careful with selfdefined ATRs. With a wrongly choosen ATR it is possible to destroy your card.
You should first test completely the choosen ATR with the Terminal Debugger before loading it into a real card.

greetings juergen mengeling
ZeitControl cardsystems.

Follow Ups:

[ Follow Ups ] [ BasicCard User Forum ]