Dear All,

I've seen several drivers now for readers under OpenCard, which is certainly
to be welcomed.  However, I've come across various behaviour from these when
a card returns SW1=0x6C (more data available, i.e. LE was incorrect).  Some
terminals simply report this back so the CardService can reissue the
CommandAPDU with LE = SW2, whereas other terminals do this for you, so in
theory all your CommandAPDUs could have LE=0 but still work OK.

What is the correct behaviour for a CardTerminal under these circumstances ?
It's a bit confusing for CardService writers as for each call with a
CommandAPDU where the LE is unknown you have to do an if (SW1 == 0x90) etc.

regards,

Jon Barber.
Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.

Reply via email to